\App\IqrfNetModule\ParsersEnumerationParser

Parsers for DPA Enumeration responses.

Summary

Methods
Properties
Constants
parse()
parsePeripheralEnumeration()
getEmbeddedPers()
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 Coordinator response

Parameters

packet

DPA packet

Returns

array|null —

Parsed data

parsePeripheralEnumeration()

parsePeripheralEnumeration(  packet) : mixed||string|int

Parse response to DPA Peripheral enumeration request

Parameters

packet

DPA packet response

Returns

mixed||string|int —

Parsed peripheral enumeration

getEmbeddedPers()

getEmbeddedPers(  packet) : mixed||string|int

Get Embedded peripherals from DPA response

Parameters

packet

DPA packet response

Returns

mixed||string|int —

Embedded Peripherals