\App\IqrfNetModule\ParsersOsParser

Parsers for DPA OS responses

Summary

Methods
Properties
Constants
parse()
parseReadInfo()
parseHwpConfiguration()
parseTrConfiguration()
getRfBand()
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

parse()

parse(  packet) : array|null

Parse DPA OS response

Parameters

packet

DPA packet

Returns

array|null —

Parsed data

parseReadInfo()

parseReadInfo(  packet) : mixed||string|int

Parse response to DPA OS - "Read info" request

Parameters

packet

DPA packet response

Returns

mixed||string|int —

Information about DCTR module

parseHwpConfiguration()

parseHwpConfiguration(  packet) : mixed||string|int

Parse response to DPA OS - "Read HWP configuration" request

Parameters

packet

DPA packet response

Returns

mixed||string|int —

HWP configuration

parseTrConfiguration()

parseTrConfiguration(mixed||string|int  config) : mixed||string|int

Parse TR configuration

Parameters

mixed||string|int config

HWP configuration

Returns

mixed||string|int —

TR configuration

getRfBand()

getRfBand(  byte) : 

Get RF band from HWP configuration

Parameters

byte

Undocumented byte from HWP configuration

Returns

RF band