Extended Socket frames
Field
Source address
Source Port
Status
Payload
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
Frame type
Frame ID
Socket ID
Destination Address
Destination Port
Transmit Options
Payload
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
Frame type
Frame ID
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
Value
0x34 0x2B 0x79 0x4D (52.43.121.77)
0x27 0x11 (decimal 10001)
0x00 (Success)
echo this
Value
0x45
(Socket SendTo)
0x01
0x00
0x34 0x2B 0x79 0x4D (52.43.121.77)
0x27 0x12 (decimal 10002)
0x00
0x20 (ASCII space, any value should do)
Value
0xCE
(Socket Receive From)
0x00
Extended Socket example: UDP
171