API frames Receive (RX) Packet: IPv4 - 0xB0
Digi XBee® 3 Cellular LTE Cat 1 AT&T Smart Modem User Guide
257
Receive (RX) Packet: IPv4 - 0xB0
Description
The XBee Smart Modem 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).
Format
The following table provides the contents of the frame. For details on frame structure, see API frame
format.
Framedatafields 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 MSB10 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