I create am trying to receive large udp payloads, however the 0xCE api frame only ever has up to 512 bytes.
Socket creation process:
1. Create new UDP socket with api frame 0x40
2. Bind socket to port 4445 with frame 0x46
3. wait for api frame 0xCE
Then on my host machine I send a sequence of bytes to that socket with:
echo {1..256} | nc -u xbee3 4445
I observe the packet leave in wireshark with Len=916
However when the 0xCE packet arrives, the frame only has a length of 522 (10 bytes for packet + 512 data).
The same behavior happens with TCP socket data received with 0xCD.
According to the documentation, these frames should be able to receive 1500 bytes at a time.
Am I missing something?
Thanks