Receive (RX) Packet: IPv4 - 0xB0
Description
The XBee 3 Cellular LTE-M/NB-IoT uses this frame when it receives RF data on a network socket that is created by a TX request frame or configuring C0 (Source Port).
Note For NB-IoT, TCP support is dependent on the network. Contact your network provider for details.
Format
The following table provides the contents of the frame. For details on frame structure, see API frame format.
Frame data fields |
Offset |
Description |
---|---|---|
Frame type |
3 |
0xB0 |
IPv4 32-bit source address |
MSB 4 |
The address in the example below is for a source address of 192.168.0.104. 32-bit big endian. |
5 |
||
6 |
||
7 |
||
16-bit destination port |
MSB 8 |
The port that the packet was received on. 16-bit big endian. |
LSB 9 | ||
16-bit source port |
MSB 10 |
The port that the packet was sent from. 16-bit big endian. |
LSB 11 | ||
Protocol | MSB 12 |
0 = UDP 1 = TCP 4 = SSL over TCP |
Status | 13 | Reserved |
Payload |
14 |
Data received from the source. The maximum size is 1500 bytes. |
15 |
||
16 |
||
17 |
||
18 |