Home > Support > Knowledge Base
Knowledge Base
 
Reset Search
Search
 

 

Knowledge

Maximum payload size for Digi RF products

« Go Back

Information

 
Problem Resolution
When a Digi radio is being used in transparent (AT) mode, packet size is not a major concern because the data packets will be fragmented as needed. When transmitting data using API frames, it is important not to exceed the allowable payload size or the packet will not be sent and an error generated.

Maximum payload size varies depending on radio type, firmware load, and what parameters are set on the radio. In order to determine what the payload size is, the NP parameter can be queried. NP will indicate the maximum payload size (as a hexadecimal value,) based on the parameters that are currently set on the radio.
 
If you are using a ZigBee XBee, the NP parameter will always return 0xFF. This is because the ZigBee protocol supports fragmentation: regardless of what settings are being used, you can put a 255 byte payload into the transmission frame and it will break the data transmission into multiple RF packets. If you want to avoid fragmentation, the payload size without encryption will be 84 bytes, 66 bytes if encryption is enabled (EE parameter), and 92 bytes if the transmission is a broadcast. Broadcast transmissions do not use encryption.

The NP parameter is not available for the following radios and their payload sizes are included here as a reference:
Radio Payload Size
802.15.4 (Series 1) XBee 100 Bytes
XTend 2048 Bytes
Note: This only applies to the point-to-multipoint (non-DigiMesh) firmwares.

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255