I am trying to get the maximum throughput from Xbee using API mode.
As i discovered, the maximum payload of a packet is 255 bytes. As i understand, the max payload depends on firmware and it isn't changeable with AT parameters. Well it would be better if i could send larger packets, but i can live with that. Moreover, if the max payload is 255 bytes, the why the API frame supports 16 bit (65536 byte) packet length...
The real problem is the huge timeout when sending packets. For example when sending one 25 byte data packet, spi interface transmits data to xbee in ~20ms, but the time it takes for radio packet reach its destination is about 627ms.
For 200 byte packet it took twice as more - 1.2 sec.
I provided the screenshots with spi data from logic analyzer. 5th channel is spi-attn pin.
I tried changing RO parameter, but it changes only timeout for transparent (uart) mode.
I found that there is an %H parameter(MAC Unicast One Hop Time.) But to change it, i need to "Changing MAC parameters can change this value." - change MAC parameter. And i couldn't find how to do that.
Maybe someone has encountered the same problem or knows the solution?