The Protocol_PRO4_Packet type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | DeviceType |
Return the DeviceType byte for a Reponse Packet
Note: Packet type and payload length checking is NOT done
|
![]() | IsBroadcast |
Test to check if ID is a broadcast or not
|
![]() | IsDeviceSpecific |
Test to check if packet is devices specific
|
![]() | IsExtendedLength |
Test to see if this is an extended length packet
|
![]() | IsMulticast |
Test to check if packet id is a broadcast/multicast or not
|
![]() | IsRequest |
Test to check if packet is a request
|
![]() | IsResponse |
Test to check if packet is a response
|
![]() | PacketBuffer |
Get the entire packet buffer.
In general it is not a great idea to use the entire buffer since processing will be
dependent upon packet structure.
|
![]() | payload |
Get the data payload bytes
|
![]() | ResponseLength |
Get the requested response length. Returns -1 if flags indicated device specific repsonse
|