Home/Support/Support Forum/Does using API mode 2 affect the maximum payload size?

Does using API mode 2 affect the maximum payload size?

0 votes
If operating in API mode and using escaped characters (AP=2), is the maximum payload size reduced? In other words, if my un-escaped message fills the maximum payload (ATNP = 84), but after applying the escaping it exceeds this number, must I reduce the message size to take into account the added escape characters (0x7D)? In the worst case, if my data was 84 bytes of '0x11' then I could I send 168 bytes total (0x7D, 0x31, 0x7D, 0x31,.....) or do I have to send only 42 bytes?
asked Jun 9, 2014 in RF Solutions and XBee by Shannon New to the Community (2 points)

Please log in or register to answer this question.

1 Answer

+1 vote
No the maximum payload is not affected as the API mode only affects the data flow of the UART for that module. It does not affect the max packet size being sent over the air.
answered Jun 9, 2014 by mvut Veteran of the Digi Community (12,790 points)
Thank you for the quick and clear answer.
...