\App\IqrfNetModule\ModelsOsManager

DPA OS peripheral manager

Summary

Methods
Properties
Constants
__construct()
read()
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\ApiRequest  apiRequest, \App\IqrfNetModule\Models\WebSocketClient  wsClient) : 

Constructor

Parameters

\App\IqrfNetModule\Models\ApiRequest apiRequest

IQRF Gateway Daemon's JSON API request

\App\IqrfNetModule\Models\WebSocketClient wsClient

WebSocket client

Returns

read()

read(  address) : mixed||string|int

Reads IQRF OS information

Parameters

address

Network device address

Throws

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

Returns

mixed||string|int —

API request and response