\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(string  $packet) : array|null

Parses a DPA Enumeration response

Parameters

string $packet

DPA packet

Returns

array|null —

Parsed data

parsePeripheralEnumeration()

parsePeripheralEnumeration(string  $packet) : array

Parses a response to DPA Peripheral enumeration request

Parameters

string $packet

DPA packet response

Returns

array —

Parsed peripheral enumeration

getEmbeddedPers()

getEmbeddedPers(string  $packet) : array

Gets Embedded peripherals from DPA response

Parameters

string $packet

DPA packet response

Returns

array —

Embedded Peripherals