Tcp Connection - Digi XBee 3 Cellular LTE-M User Manual

Smart modem
Table of Contents

Advertisement

Get started with Digi Remote Manager

TCP connection

The TCP connection between an XBee and Remote Manager is dependent on the device's firmware
version. Options are to query Remote Manager once a day or to maintain a persistent TCP connection.
To determine which connection method is being used, refer to the version listed below.
Module
XBee 3 LTE-M
At or above the listed version: If your firmware version is at or above the listed version, your
n
device queries Remote Manager only once a day. The device connects to Remote Manager,
queries Remote Manager for updates and then receives updates. When the update is complete,
the device disconnects from Remote Manager.
If you upgrade to the new firmware version, it is recommended that you keep the polling
frequency low to reduce data usage. In order to upgrade firmware in the future, refer to
Example: Schedule a task to update the device firmware using Remote
Note
If you wish to restore the persistent connection behavior that was the default in prior
firmware versions, see
Below the listed version: If your firmware version is below the listed version, a persistent
n
TCP connection is used by default. The device is continually connected to Remote Manager
using TCP.
Restore persistent connection to a remote XBee
The default connectivity to Remote Manager in the most recent firmware polls once a day using
SM/UDP, which means that your XBee will always appear in a disconnected state and will use
significantly less data.
If needed, you can restore the default connectivity to use the former behavior, where the device is
continually connected using TCP. To do this, you will need to set bit 0 of the MO setting. The suggested
value for MO is 7 to connect securely over TLS, or you can use 1 for no security, which is the legacy
value.
You can make the change using one of the following methods:
Local access: If you have local access to the device you can use XCTU to change the MO setting
n
back to the former default value.
Remote access: If you only have remote access to your XBee you can change the device to
n
maintain a persistent connection to Remote Manager. To do this you can set up a scheduled
operation in Remote Manger for your device, as shown below.
To set up a scheduled operation to maintain a persistent connection:
1.
Log into Remote
2. Make sure that you have enabled SM/UDP. See
3. Click Device Management > Schedules.
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
Upgrade firmware version
11411
Restore persistent connection to a remote
Manager.
Remote Manager reference
Manager.
XBee.
Enable
SM/UDP.
62

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee 3 cellular nb-iot

Table of Contents