The Protocol_PRO4_Packet type exposes the following members.

Fields

  NameDescription
ADDR_CONFIG_DATA
Address for CONFIGURATION DATA special register
ADDR_CONFIG_DATA_SIZE
Address for CONFIGURATION DATA size
ADDR_CUSTOM_COMMAND
Address for special custom command register
ADDR_DEVICE_ID
The device ID returns the factory programmed unique ID for this device
ADDR_GROUP_ID
Address for device group id, used for multicast
ADDR_NODE_ID
Address for device node id
ADDR_REBOOT
The Reboot register is 16-bit at addresses 0xFE-0xFF Writing the value 0xDEAD into the reboot register should causes the device to reboot after a delay.
CSR_LENGTH
Length of entire CSR including non-device specific region
CSR_SAVE_SETTINGS_COMPLETE
Signal data has been saved
CSR_SAVE_SETTINGS_PASSWORD
Flag to save parameters when written to th appropriatre register
header
ID_BROADCAST
Predefined Broadcast ID
ID_MULTICAST_FLAG
Flag indicating id is a multicast/broadcast
ID_RELAY_REQUEST_FLAG
Flag indicating id is a multicast/broadcast
LENGTH_EXTENDED
Used to designate an extended length packet of > 254 bytes
NO_RESPONSE
Indicates no response requested
payloadChecksum
PROTOCOL_PRO4_DATA_PAYLOAD_START_INDEX
Index into bit buffer where the data payload starts
PROTOCOL_PRO4_EXTENDED_LENGTH_HEADER_SIZE
Explicit size of protocol Header
PROTOCOL_PRO4_EXTENDED_LENGTH_RESPONSE_DATA_PAYLOAD_START_INDEX
Index into bit buffer where the extended length response packet data payload starts
PROTOCOL_PRO4_HEADER_ADDR_ADDRESS
Address of Address bytes in the header
PROTOCOL_PRO4_HEADER_ADDR_FLAGS
Address of Flag bytes in the header
PROTOCOL_PRO4_HEADER_ADDR_ID
Address of ID byte in the header
PROTOCOL_PRO4_HEADER_ADDR_LENGTH
Address of Length bytes in the header
PROTOCOL_PRO4_HEADER_ADDR_SYNC
Address of sync bytes in the header
PROTOCOL_PRO4_HEADER_ADDR_XSUM
Address of Checksum bytes in the header
PROTOCOL_PRO4_HEADER_SIZE
Explicit size of protocol Header
PROTOCOL_PRO4_REQUEST_DATA_PAYLOAD_START_INDEX
Index into bit buffer where the request packet data payload starts
PROTOCOL_PRO4_RESPONSE_DATA_PAYLOAD_START_INDEX
Index into bit buffer where the response packet data payload starts
REBOOT_CODE
16-bit code used to command a device reboot sequence, LSB first
REBOOT_CODE_1
Reboot code byte 1
REBOOT_CODE_2
Reboot code byte 2
RESPONSE_CSR_DUMP
FLAG indicates a CSR dump from address to end of CSR file
RESPONSE_LENGTH_MASK
Mask which gives response length from FLAGS byte
RESPONSE_LENGTH_MAX
Max length of specified standard response
RESPONSE_TYPE_FLAG
FLAG bit to indicate non-device specific response
SYNC_REQUEST
Start of request packet synchronization bytes
SYNC_REQUEST_1
Start of request packet synchronization byte 1
SYNC_REQUEST_2
Start of request packet synchronization byte 2
SYNC_RESPONSE
Start of response packet synchronization bytes
SYNC_RESPONSE_1
Start of response packet synchronization byte 1
SYNC_RESPONSE_2
Start of response packet synchronization byte 2
TOP_OF_CSR
Address for top of CSR file

See Also