IQRF IDE Macros parser

DpaPacket
in package

DPA packet

Table of Contents

$hwpId  : int
$nAdr  : int
$pCmd  : int
$pData  : array<string|int, int>
$pNum  : int
__construct()  : mixed
DPA packet object constructor
__toString()  : string
Returns a DPA packet converted to a string

Properties

$hwpId

public int $hwpId

Hardware profile ID

$nAdr

public int $nAdr

Network device address

$pData

public array<string|int, int> $pData

Binary buffer with DPA request data

Methods

__construct()

DPA packet object constructor

public __construct(string $packet[, bool $bigEndian = false ]) : mixed
Parameters
$packet : string

DPA packet in string

$bigEndian : bool = false

Is NADR and HWPID in big endian?

Return values
mixed

__toString()

Returns a DPA packet converted to a string

public __toString() : string
Return values
string

DPA packet converted to a string

Search results