Socket Receive From: IPv4 - 0xCE
Description
The XBee cellular modem uses this frame when it receives RF data on the specified socket. This frame is sent only for UDP sockets that have not used a Socket Connect - 0x42 frame to connect, providing addressing information about the source.
Format
The following table provides the contents of the frame. For details on frame structure, see API frame format.
Field name | Field value | Data type | Description |
---|---|---|---|
Frame type |
0xCE |
Byte |
|
Frame ID |
|
Byte |
Optional: This field allows for solicited reads to be in the future. |
Socket ID |
|
Byte |
ID of the socket that the data has been received on. |
Source address | 32-bit big endian |
|
|
Source port | 16-bit big endian | ||
Status | Byte bit-field | Reserved | |
Payload | Variable | Data to be transferred to the destination, up to 1500 bytes. |