\App\IqrfNetModule\ModelsIqrfOsManager

IQRF OS manager

Summary

Methods
Properties
Constants
__construct()
list()
getFiles()
getOsFiles()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(\App\IqrfNetModule\Models\Context  database, \App\IqrfNetModule\Models\DpaManager  dpaManager) : 

Constructor

Parameters

\App\IqrfNetModule\Models\Context database

Database context

\App\IqrfNetModule\Models\DpaManager dpaManager

DPA manager

Returns

list()

list(\App\IqrfNetModule\Models\IqrfOs  os) : string||string|int

Lists available IQRF OS changes

Parameters

\App\IqrfNetModule\Models\IqrfOs os

Current IQRF OS entity

Throws

\App\IqrfNetModule\Models\DpaErrorException
\App\IqrfNetModule\Models\EmptyResponseException
\App\IqrfNetModule\Models\JsonException
\App\IqrfNetModule\Models\UserErrorException

Returns

string||string|int —

Available IQRF OS changes

getFiles()

getFiles(\App\IqrfNetModule\Models\IqrfOs  currentOs,   toBuild,   dpa, string|null  rfMode = null) : string||string|int

Returns files to upload

Parameters

\App\IqrfNetModule\Models\IqrfOs currentOs

Current IQRF OS entity

toBuild

Target IQRF OS build

dpa

DPA version

string|null rfMode

RF mode

Throws

\App\IqrfNetModule\Models\DpaErrorException
\App\IqrfNetModule\Models\EmptyResponseException
\App\IqrfNetModule\Models\UserErrorException
\App\IqrfNetModule\Models\JsonException

Returns

string||string|int —

Files to upload

getOsFiles()

getOsFiles(  fromBuild,   toBuild) : string||string|int

Returns IQRF OS diff files

Parameters

fromBuild

From IQRF OS build

toBuild

To IQRF OS build

Returns

string||string|int —

Array of IQRF OS diff files