Maximum Payload; Maximum Payload Rules - Digi XBee S2C 802.15.4 User Manual

Radio frequency module
Table of Contents

Advertisement

Operation
receiving device outputs a Receive Packet (0x81) frame for received data. These same rules apply for
encryption if MM is 0 or 3. This is possible because the four-byte encryption App header includes the
short address of the sender and the long received address is not used for API output. If encryption is
enabled with MM of 1 or 2, then no App header exists, the source address is always long, and the
receiving device in API mode always outputs a Description.

Maximum payload

There is a maximum payload that you can send at one time, depending on the device's configuration.
These maximums only apply in API mode. If you attempt to send an API packet with a larger payload
than specified, the device responds with a Transmit Status frame (0x89) with the Status field set to 74
(Data payload too large).
In Transparent mode, the firmware splits the data as necessary to cope with maximum payloads.

Maximum payload rules

Note
Refer to
NP (Maximum Packet Payload Bytes)
assumes a long destination address. This means that if you select a short destination address, you will
be able to send up to NP + 6 bytes in a single packet.
1. If you enable transmit compatibility with the Legacy 802.15.4 module (S1 hardware):
There is a fixed maximum payload of 100 bytes if not using encryption
l
There is a fixed maximum payload of 95 bytes if using encryption
l
The rest of the rules do not apply. They apply only when you disable transmit compatibility
l
with the Legacy 802.15.4 module.
2. The maximum achievable payload is 116 bytes. This is achieved when:
Not using encryption.
n
Not using the application header.
n
Using the short source address.
n
Using the short destination address.
n
3. If you are using the application header
payload is reduced by:
2 bytes if not using encryption.
n
4 bytes if using encryption.
n
4. If you are using the long source address, the maximum achievable payload is reduced by 6
bytes (size of long address (8) - size of short address (2) = 6).
5. If you are using encryption, the short source addresses are promoted to long source
addresses, so the maximum achievable payload is reduced by 6 bytes.
6. If you are using the long destination address, the maximum achievable payload is reduced by 6
bytes (the difference between the 8 bytes required for a long address and the 2 bytes required
for a short address).
7. if you are using encryption, the maximum achievable payload is reduced by 5 bytes.
XBee/XBee-PRO S2C 802.15.4 RF Module User Guide
which can provide maximum packet size, it always
(MM (MAC
Mode) set to 0 or 3), the maximum achievable

Maximum payload

40

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee-pro s2c 802.15.4

Table of Contents