
Extended Socket frames
Extended Socket example: UDP
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
171
Field
Value
Source address
0x34 0x2B 0x79 0x4D (52.43.121.77)
Source Port
0x27 0x11 (decimal 10001)
Status
0x00 (Success)
Payload
echo this
Socket ReceiveFrom received from XBee, containing echoed data:
7E 00 13 CE 00 00 34 2B 79 4D 27 11 00 65 63 68 6F 20 74 68 69 73 5D
Send to Digi time server
Digi hosts a server at 54.43.121.77 port 10002 which will reply with the time when it receives a
packet.
Field
Value
Frame type
(Socket SendTo)
Frame ID
0x01
Socket ID
0x00
Destination Address
0x34 0x2B 0x79 0x4D (52.43.121.77)
Destination Port
0x27 0x12 (decimal 10002)
Transmit Options
0x00
Payload
0x20 (ASCII space, any value should do)
Socket SendTo time server frame data:
7E 00 0B 45 01 00 34 2B 79 4D 27 12 00 20 3B
Receive TX Status
This is exactly the same as the previous transmission to the echo server on success.
Receive daytime value
When the response from the server is sent back, the XBee will provide it using a Socket Receive From
frame.
Field
Value
Frame type
(Socket Receive From)
Frame ID
0x00