\App\IqrfNetModule\ParsersCoordinatorParser

Parsers for DPA Coordinator responses.

Summary

Methods
Properties
Constants
parse()
parseGetNodes()
parseBondNode()
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

parseGetNodes()

parseGetNodes(  packet) : mixed||string|int

Parse response to DPA Coordinator - "Get bonded nodes" and "Get discovered nodes" request

Parameters

packet

DPA packet response

Returns

mixed||string|int —

Bonded XOR discovered nodes

parseBondNode()

parseBondNode(  packet) : mixed||string|int

Parse response to DPA Coordinator - "Bond node" request

Parameters

packet

DPA packet response

Returns

mixed||string|int —

Bonded node