Close The Socket; Receive Close Response - Digi XBee 3 Cellular LTE-M User Manual

Smart modem
Table of Contents

Advertisement

Extended Socket frames
Field
Socket ID
Source address
Source Port
Status
Payload
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
Frame type
Frame ID
Status
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
Frame type
Frame ID
Socket ID
Status
Socket Close Response received from XBee:
7E 00 04 C3 01 00 00 3B
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
Value
0x00
0x34 0x2B 0x79 0x4D (52.43.121.77)
0x27 0x12 (decimal 10002)
0x00 (Success)
<current UTC time>
Value
0x43
(Socket Close)
0x01
0x00
Value
0xC3
(Socket CloseResponse)
0x01
0x00
0x00 (Success)
Extended Socket example: UDP
172

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee 3 cellular nb-iot

Table of Contents