NP (Maximum Packet Payload Bytes)

This command applies to the XBee 3 802.15.4 RF Module.

Reads the maximum number of RF payload bytes that you can typically send in a transmission based on current parameter settings. Some options may impact maximum payload size that are not captured by the NP value.

See Maximum payload for more information.

NP is based on multiple factors including the length of the source address, the length of the destination address, the length of the APP header, and whether or not encryption is enabled.

For the purposes of this command, it always 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.

Note NP returns a hexadecimal value. For example, if NP returns 0x66, this is equivalent to 102 bytes.

Parameter range

0 - 0xFF [read-only]

Default

N/A