AeroComm ZB2430 Wireless Office Headset User Manual


 
API OPERATION
42
*Note: Send Data Complete may report a failure though the packet arrived due to timing issues. It will never report
successful though unless the packet absolutely arrived.
Figure 13: Send Data Complete packet format
API Receive Packet
By default, the source MAC is not included in the received data string sent to the OEM Host. For applications where
multiple radios are sending data, it may be necessary to determine the origin of a specific data packet. When API
Receive Packet is enabled, all packets received by the transceiver will include the MAC address of the source radio as
well as an RSSI indicator which can be used to determine the link quality between the two.
API Receive Packet is enabled when bit-0 of the API Control byte is enabled. Upon receiving a RF packet, the radio
sends its OEM Host the data as shown in Figure 14 below.
Figure 14: Receive API packet format
Data
Request
0x82
Start Delimiter
Data
Coordinator/Router
Byte 2; TX Cost
Byte 3: RX Cost
Byte 4: Success
0x00: Fail
0x01; Success
End Device
Byte 2; 0xFF
Byte 3: 0xFF
Byte 4: Success
0x00: Fail
0x01: Success
Data
Request
0x81
Start Delimiter
Bytes 2-3: Payload Data Length. PDL Lo then PDL Hi.
Byte 4: RSSI
Byte 5; 0x00
Byte 6-7: 16-bit Network Source Address (Hi, Lo)
Byte 8-n: Payload Data