Extended Socket frames Extended Socket example: UDP
Digi XBee® 3 Cellular LTE Cat 1 AT&T Smart Modem User Guide
172
7E 00 04 C6 01 00 00 38
Send to Digi echo server
Digi hosts a server at 52.43.121.77 port 10001 which echos all UDP traffic sent to it.
Field Value
Frame type
0x45 (Socket SendTo)
Frame ID 0x01
Socket ID 0x00
Destination Address 0x34 0x2B 0x79 0x4D (52.43.121.77)
Destination Port 0x27 0x11 (decimal 10001)
Transmit Options 0x00
Payload echo this
Socket SendTo frame data:
7E 00 13 45 01 00 34 2B 79 4D 27 11 00 65 63 68 6F 20 74 68 69 73 E5
Receive TX Status
Extended sockets use the existing TX Status frame (0x89) to report acceptance of the data for
transmit.
Field Value
Frame type
0x89 (TX Status)
Frame ID 0x01
Status 0x00 (Success)
TX Status received from XBee:
7E 00 03 89 01 00 75
Receive echoed data
When the response from the server is sent back, the XBee provides it using a Socket Receive From
frame.
Field Value
Frame type
0xCE (Socket Receive From)