\App\IqrfNetModule\ModelsIqrfOsManager

IQRF OS manager

Summary

Methods
Properties
Constants
__construct()
list()
getFiles()
getOsFiles()
getDpaFile()
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\EnumerationManager  enumeration, \App\IqrfNetModule\Models\OsAndDpaManager  osDpaManager, \App\IqrfNetModule\Models\FilesManager  filesManager) : 

Constructor

Parameters

\App\IqrfNetModule\Models\Context database

Database context

\App\IqrfNetModule\Models\EnumerationManager enumeration

IQMESH enumeration manager

\App\IqrfNetModule\Models\OsAndDpaManager osDpaManager

IQRF Repository OS&DPA manager

\App\IqrfNetModule\Models\FilesManager filesManager

Files manager

Returns

list()

list() : string||string|int

Lists available IQRF OS changes

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(  os,   dpa, string|null  rfMode = null) : string||string|int

Returns files to upload

Parameters

os

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

getDpaFile()

getDpaFile(  osBuild,   dpaVersion, \App\IqrfNetModule\Models\TrSeries  trSeries, string|null  rfMode = null) : string|null

Returns DPA file name

Parameters

osBuild

IQRF OS build number

dpaVersion

DPA version

\App\IqrfNetModule\Models\TrSeries trSeries

TR series

string|null rfMode

RF mode

Returns

string|null —

DPA file name