
Extended Socket frames
Extended Socket example: UDP
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
172
Field
Value
Socket ID
0x00
Source address
0x34 0x2B 0x79 0x4D (52.43.121.77)
Source Port
0x27 0x12 (decimal 10002)
Status
0x00 (Success)
Payload
<current UTC time>
Socket Receive From frame received from XBee containing time data:
7E 00 1E CE 00 00 34 2B 79 4D 27 12 00 32 30 31 39 2D 30 37 2D 31 38 20 31 38 3A 35 32 3A 34 33
0A 08
Close the socket
When the socket is no longer needed it should be closed to return resources to the system.
Field
Value
Frame type
(Socket Close)
Frame ID
0x01
Status
0x00
Socket Close frame data:
7E 00 03 43 01 00 BB
Receive close response
Finally, the XBee indicates the socket has been closed with a Socket Close Response frame.
Field
Value
Frame type
(Socket CloseResponse)
Frame ID
0x01
Socket ID
0x00
Status
0x00 (Success)
Socket Close Response received from XBee:
7E 00 04 C3 01 00 00 3B