Digi, Digi International, and the Digi logo are trademarks or registered trademarks in the United
States and other countries worldwide. All other trademarks mentioned in this document are the
property of their respective owners.
Information in this document is subject to change without notice and does not represent a
commitment on the part of Digi International. Digi provides this document “as is,” without warranty of
any kind, expressed or implied, including, but not limited to, the implied warranties of fitness or
merchantability for a particular purpose. Digi may make improvements and/or changes in this manual
or in the product(s) and/or the program(s) described in this manual at any time.
Warranty
To view product warranty information, go to the following website:
www.digi.com/howtobuy/terms
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
2
Customer support
Gather support information: Before contacting Digi technical support for help, gather the following
information:
Product name and model
Product serial number (s)
Firmware version
Operating system/browser (if applicable)
Logs (from time of reported issue)
Trace (if possible)
Description of issue
Steps to reproduce
Contact Digi technical support: Digi offers multiple technical support plans and service packages.
Contact us at +1 952.912.3444 or visit us at www.digi.com/support.
Feedback
To provide feedback on this document, email your comments to
techcomm@digi.com
Include the document title and part number (Digi XBee Cellular LTE Cat 1 Embedded Modem User
Guide, 90001525 X) in the subject line of your email.
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
3
Contents
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
Applicable firmware and hardware15
SIM cards15
Cellular service16
Get started with the XBee Cellular Modem
Identify the kit contents18
Connect the hardware19
Install and upgrade XCTU20
Add a device to XCTU20
Update the device and cellular firmware using XCTU21
Check for cellular registration and connection21
XBee connection examples
Connect to the Echo server23
Connect to the ELIZA server25
Connect to the Daytime server27
Send an SMS message to a phone29
Perform a (GET) HTTP request31
Connect to a TCP/IP address33
Software libraries33
Debugging34
Get started with MicroPython
About MicroPython36
Why use MicroPython36
MicroPython on the XBee Cellular Modem36
Use XCTU to enter the MicroPython environment36
Use the MicroPython Terminal in XCTU37
Troubleshooting37
Example: hello world37
Example: turn on an LED37
Example: code a request help button38
Enter MicroPython paste mode39
Catch a button press39
Send a text (SMS) when the button is pressed41
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
4
Add the time the button was pressed42
Example: debug the secondary UART43
Exit MicroPython mode43
Other terminal programs44
Tera Term for Windows44
Use picocom in Linux45
Get started with Digi Remote Manager
Create a Remote Manager account and add devices47
Create a Remote Manager account48
Add an XBee Cellular Modem to Remote Manager48
Verify the connection between a device and Remote Manager49
Configure Remote Manager features by scheduling tasks49
Overview: Create a schedule for a set of tasks49
Examples50
Example: Read settings and state using Remote Manager50
Example: Configure a device from Remote Manager using XML51
Example: Schedule a task to update the device firmware using Remote Manager52
Example: Update MicroPython from Remote Manager using XML53
Manage data in Remote Manager57
Review device status information from Remote Manager57
Manage secure files in Remote Manager58
Remote Manager reference59
Enable SM/UDP59
TCP connection59
Disconnect61
Configure XBee settings within Remote Manager61
Examples: IOT protocols with transparent mode
Get started with CoAP64
CoAP terms64
CoAP quick start example64
Configure the device65
Example: manually perform a CoAPrequest65
Example: use Python to generate a CoAP message66
Get started with MQTT68
Example: MQTT connect68
Send a connect packet70
Example: send messages (publish) with MQTT71
Example: receive messages (subscribe) with MQTT72
Use MQTT over the XBee Cellular Modem with a PC73
Update the firmware
Create a plan for device and cellular component firmware updates78
Update the device and the cellular firmware using XCTU79
Update the device and cellular firmware using XCTU79
Update the device firmware81
Update the firmware from the Devices page in Remote Manager81
Update the firmware using web services in Remote Manager82
Use a host processor to update the modem firmware for XBee devices over UART84
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
5
Update the cellular firmware87
Update the cellular component firmware using Remote Manager87
Update the cellular firmware using the API90
Technical specifications
Interface and hardware specifications94
RF characteristics94
Networking specifications95
Power requirements96
Power consumption96
Electrical specifications96
Regulatory approvals97
Hardware
Mechanical drawings100
Pin signals100
Pin connection recommendations102
XBee header connector requirements102
RSSI PWM102
SIM card102
Associate LED functionality102
Development boards104
Power supply considerations115
Add a capacitor to the RESET line115
Heat considerations and testing115
Heat sink guidelines117
Bolt-down style117
Adhesive style heat sink117
Add a fan to provide active cooling118
Custom configuration: Create a new factory default118
Set a custom configuration119
Clear all custom configurations on a device119
Clean shutdown119
SD (Shutdown) command119
Sleep feature120
Airplane mode120
SIMcards120
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
6
Cellular connection process
Connecting122
Cellular network122
Data network connection122
Data communication with remote servers (TCP/UDP)122
Disconnecting122
Modes
Select an operating mode125
Transparent operating mode126
API operating mode126
Bypass operating mode (DEPRECATED)126
Enter Bypass operating mode127
Leave Bypass operating mode127
Restore cellular settings to default in Bypass operating mode127
Command mode127
Enter Command mode127
Troubleshooting128
Send AT commands128
Response to AT commands129
Apply command changes129
Make command changes permanent129
Exit Command mode129
MicroPython mode129
Sleep modes
About sleep modes132
Normal mode132
Pin sleep mode132
Cyclic sleep mode132
Cyclic sleep with pin wake up mode132
Airplane mode132
Connected sleep mode132
The sleep timer133
MicroPython sleep behavior133
Serial communication
Serial interface135
Serial data135
UART data flow135
Serial buffers136
CTS flow control136
RTS flow control136
SPI operation
SPI communications138
Full duplex operation139
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
7
Low power operation140
Select the SPI port140
Force UART operation141
Data format141
Supported sockets147
Best practices when using sockets147
Sockets and Remote Manager147
Sockets and API mode147
Socket timeouts147
Socket limits in API mode147
Enable incoming TCP connections148
API mode behavior for outgoing TCP and TLS connections148
API mode behavior for outgoing UDP data149
API mode behavior for incoming TCP connections149
API mode behavior for incoming UDP data150
Transparent mode behavior for outgoing TCP and TLS connections150
Transparent mode behavior for outgoing UDP data150
Transparent mode behavior for incoming TCP connections150
Transparent mode behavior for incoming UDP connections151
Extended Socket frames
Examples152
Available Extended Socket frames153
Extended Socket example: Single HTTP Connection153
Send a Socket Create frame153
Receive a Socket Create response154
Send Socket Connect154
Receive a Socket Connect Response154
Receive a Socket Status155
Send HTTP Request using Socket Send frame155
Receive TX Status156
Receive one or more Receive Data frames156
Receive Socket Status indicating closed connection157
Extended Socket example: UDP157
Send a Socket Create frame157
Receive a Socket Create response158
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
8
Bind local source addres158
Receive Bind/Listen Response158
Send to Digi echo server159
Receive TX Status159
Receive echoed data159
Send to Digi time server160
Receive TX Status160
Receive daytime value160
Close the socket161
Receive close response161
Extended Socket example: TCPListener162
Send a Socket Create frame162
Receive a Socket Create response162
Designate the socket as a listener162
Receive a Socket Bind/Listen Response163
Making a connection to the listener socket163
Receiving Data from the new socket164
Receive a Socket Status indicating closed connection164
Transport Layer Security (TLS)
Specifying TLS keys and certificates167
Transparent mode and TLS168
API mode and TLS168
Key formats168
Certificate limitations168
Cipher suites168
Server Name Indication (SNI)169
Secure the connection between an XBee and Remote Manager with server authentication169
Step 1: Get the certificate169
Step 2: Configure device169
Step 3: Verify that authentication is being performed169
AT commands
Special commands172
AC (Apply Changes)172
FR (Force Reset)172
RE command172
SD (Shutdown)173
WR (Write)173
HI (Hardware Identity)173
Cellular commands175
PH (Phone Number)175
S# (ICCID)175
IM (IMEI)175
II (Subscriber identity)175
MN (Operator)175
MV (Modem Firmware Version)176
MU (Modem firmware revision number)176
DB (Cellular Signal Strength)176
DT (Cellular Network Time)176
AN (Access Point Name)177
AM (Airplane Mode)177
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
9
OA (Operating APN)178
DV (Secondary Antenna Function Switch)178
SQ (Reference Signal Received Quality)178
SW (Reference Signal Received POWER)179
PN (SIMPIN)179
PK (SIMPUK)179
CU (Cellular user name)180
CW (Cellular password)180
Network commands181
IP (IP Protocol)181
TL (TLS Protocol Version)181
$0 (TLS Profile 0)181
$1 (TLS Profile 1)182
$2 (TLS Profile 2)182
TM (IP Client Connection Timeout)182
TS (IP Server Connection Timeout)183
DO (Device Options)183
PG (Ping)183
Addressing commands185
SH (Serial Number High)185
SL (Serial Number Low)185
MY (Module IP Address)185
P# (Destination Phone Number)185
N1 (DNS Address)186
N2 (DNS Address)186
DL (Destination Address)186
OD (Operating Destination Address)186
DE (Destination port)187
C0 (Source Port)187
LA (Lookup IP Address of FQDN)187
Serial interfacing commands189
BD (Baud Rate)189
NB (Parity)189
SB (Stop Bits)190
RO (Packetization Timeout)190
TD (Text Delimiter)190
FT (Flow Control Threshold)190
AP (API Enable)191
I/O settings commands192
D0 (DIO0/AD0)192
D1 (DIO1/AD1)192
D2 (DIO2/AD2)193
D3 (DIO3/AD3)193
D4 (DIO4)193
D5 (DIO5/ASSOCIATED_INDICATOR)194
D6 (DIO6/RTS)194
D7 (DIO7/CTS)195
D8 (DIO8/SLEEP_REQUEST)195
D9 (DIO9/ON_SLEEP)196
P0 (DIO10/PWM0 Configuration)196
P1 (DIO11/PWM1 Configuration)196
P2 (DIO12 Configuration)197
PD (Pull Direction)197
PR (Pull-up/down Resistor Enable)198
M0 (PWM0 Duty Cycle)199
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
12
File system APIframes
Local File System Request - 0x3B266
File Open - 0x01268
File Close - 0x02269
File Read - 0x03270
File Write - 0x04271
File Hash - 0x08272
Directory Create - 0x10273
Directory Open - 0x11274
Directory Close - 0x12276
Directory Read - 0x13277
Get Path ID - 0x1C278
Rename - 0x21280
Delete - 0x2F281
Volume Info - 0x40282
Volume Format - 0x4F283
Local File System Response - 0xBB284
Troubleshooting
Cannot find the serial port for the device287
Condition287
Solution287
Other possible issues288
Enable Virtual COM port (VCP) on the driver288
Correct a macOS Java error289
Condition289
Solution289
Unresponsive cellular component in Bypass mode290
Condition290
Solution290
Not on expected network after APN change291
Condition291
Solution291
Syntax error at line 1291
Solution291
Error Failed to send SMS291
Solution291
Regulatory information
Modification statement293
Interference statement293
FCC notices293
FCC Class B digital device notice293
Labeling requirements for the host device294
FCC publication 996369 related information294
2.1 General294
2.2 List of applicable FCC rules294
2.3 Summarize the specific operational use conditions295
2.4 Limited module procedures295
2.5 Trace antenna designs295
2.6 RF exposure considerations295
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
13
2.7 Antennas295
2.8 Label and compliance information295
2.9 Information on test modes and additional testing requirements295
2.10 Additional testing, Part 15 Subpart B disclaimer295
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
14
Digi XBee Cellular LTE Cat 1 Embedded Modem User
Guide
The XBee Cellular Modem is an embedded Long-Term Evolution (LTE) Category 1 cellular module that
provides original equipment manufacturers (OEMs) with a simple way to integrate cellular
connectivity into their devices.
The XBee Cellular Modem enables OEMs to quickly integrate cutting edge 4G cellular technology into
their devices and applications without dealing with the painful, time-consuming, and expensive FCC
and carrier end-device certifications.
With the full suite of standard XBee API frames and AT commands, existing XBee customers can
seamlessly transition to this new device with only minor software adjustments. When OEMs add the
XBee Cellular Modem to their product, they create a future-proof design with flexibility to switch
between wireless protocols or frequencies as needed.
You can read some frequently asked questions here.
Applicable firmware and hardware
This manual supports the following firmware:
n 100A and above
Note This manual uses the placeholder value "xx" in the firmware versions listed above, as the
manual documents the released features as of the time of its writing. Digi International periodically
releases new firmware containing bug fixes and new features. As new firmware is released and
distributor stock is refreshed, the new firmware will gradually become available without the need to
update. However, no guarantees can be made that a specific version of the firmware will be populated
on any given XBee as delivered. If a specific revision is desired, it is the user's responsibility to ensure
that version is loaded onto all XBees purchased.
Note You must upgrade your device to the latest firmware for all features to be available. See Update
the firmware.
It supports the following hardware:
n XBC-V1-UT-xxx
SIM cards
If you order the wrong type of SIM card it will not work with the XBee Cellular Modem.
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
15
Digi XBee Cellular LTE Cat 1 Embedded Modem User GuideCellular service
Verizon recommends SIM SKU: M2MTRI-NONRUG-GT-A or an equivalent that must include a 4FF
punch out. This SKU is in triple punch, so devices with 2FF/3FF or 4FF can use this SIM SKU.
Bulk SIMs for M2M/IoT are available from:
Phone
National distributor NetworkContact
numberEmail
Reliance
Communications
Ingram Micro - Sales
Ingram Micro - Sales
Ice Mobility
KORE
KORE
Cellular service
Digi now offers Cellular Bundled Service plans. This service includes pre-configured cellular data
options that are ideal for IoT applications, bundled together with Digi Remote Manager for customers
who want to remotely monitor and manage their devices.
To learn more, or obtain the plan that is right for your needs, contact us:
n By phone: 1-877-890-4014 (USA/toll free) or +1-952-912-3456 (International). Select the
Wireless Plan Support or Activation option in the menu.
n By email: Data.Plan.QuoteDesk@digi.com.
Verizon
direct
Verizon
direct
Verizon
direct
Verizon
direct
Verizon
MVNO
Verizon
MVNO
Raja Ali917-517-
7282
Lesli Reeves317-707-
2371
Steve Kreiger 317-707-
2474
Tom Puchala847-876-
1768
Genesis
Crowder
Mike Basso877-710-
877-7105673
5673
raja.ali@reliance.us
lesli.reeves@ingrammicro.com
steve.kreiger@ingrammicro.com
tom.puchala@icemobility.com
gcrowder@korewireless.com
mbasso@korewireless.com
The XBee Cellular kit includes six months of free cellular service. Six months of free cellular service
assumes a rate of 5 MB/month. If you exceed a limit of 30 MB during the six month period your SIM will
be deactivated.
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
16
Get started with the XBee Cellular Modem
This section describes how to connect the hardware in the XBee, and provides some examples you can
use to communicate with the device.
You should perform all of the steps below in the order shown.
1. Identify the kit contents
2. Connect the hardware
3. Install and upgrade XCTU
4. Use one of the following methods to verify your cellular connection:
n Connect to the Echo server
n Connect to the ELIZA server
n Connect to the Daytime server
Optional steps
You can review the information in these steps for more XBee connection examples and examples of
how to use MicroPython.
1. Review additional connection examples to help you learn how to use the device. See XBee
connection examples.
2. Review introductory MicroPython examples. You can use MicroPython to enhance the
intelligence of the XBee to enable you to do edge-computing by adding business logic in
MicroPython, rather than using external components.
n Example: hello world
n Example: turn on an LED
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
17
Get started with the XBee Cellular ModemIdentify the kit contents
Identify the kit contents
The Developer's kit includes the following:
One XBIB-U-DEV board
One 12 V power supply
Two cellular antennas with U.FL
connectors
One USB cable
One XBee Cellular Modem
Note The XBee Cellular Modem comes
attached to the board in ESDwrap.
One SIMcard
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
18
Get started with the XBee Cellular ModemConnect the hardware
Connect the hardware
1. The XBee Cellular Modem should already be plugged into the XBIB-U-DEV board. For more
information about development boards, see Development boards.
2. The SIMcard should be already be inserted into the XBee Cellular Modem. If not, install the
SIMcard into the XBee Cellular Modem.
WARNING! Never insert or remove the SIM card while the device is powered!
3. Connect the antennas to the XBee Cellular Modem. Align the U.FL connectors carefully, then
firmly press straight down to seat the connector. You should hear a snap when the antenna
attaches correctly. U.FL is fragile and is not designed for multiple insertions, so exercise
caution when connecting or removing the antennas. We recommend using a U.FL removal tool.
4. Plug the 12 V power supply to the power jack on the development board.
5. Connect the USB cable from a PC to the USB port on the development board. The computer
searches for a driver, which can take a few minutes to install.
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
19
Get started with the XBee Cellular ModemInstall and upgrade XCTU
Install and upgrade XCTU
XBee Configuration and Test Utility (XCTU) is a multi-platform program developed by Digi that enables
users to interact with Digi radio frequency (RF) devices through a graphical interface. The application
includes built-in tools that make it easy to set up, configure, and test Digi RF devices.
XCTU does not work directly over an SPI interface.
You can use XCTU to update the device firmware, and if needed, XCTU will attempt to update your
cellular firmware. Firmware is the program code stored in the device's persistent memory that
provides the control program for the device.
For instructions on downloading and using XCTU, see the XCTU User Guide.
Note If you are on a macOS computer and encounter problems installing XCTU, see Correct a macOS
Java error.
Step 1: Install and upgrade XCTU
You can use XCTU to update the device firmware.
1. To use XCTU, you may need to install FTDI Virtual COMport (VCP)drivers onto your computer.
Click here to download the drivers for your operating system.
2. Upgrade XCTU to the latest version. This step is required.
Step 2: Add a device to XCTU
You must add a device to XCTU before you can update the device's firmware or configure the device
from XCTU.
Add a device to XCTU
These instructions show you how to add the XBee to XCTU.
If XCTU does not find your serial port, see Cannot find the serial port for the device and Enable Virtual
COM port (VCP) on the driver.
1.
Launch XCTU.
Note XCTU's Update the radio module firmware dialog box may open and will not allow you
to continue until you click Update or Cancel on the dialog.
2. Click Help > Check for XCTUUpdates to ensure you are using the latest version of XCTU.
3.
Click the Discover radio modules buttonin the upper left side of the XCTU screen.
4. In the Discover radio devices dialog, select the serial ports where you want to look for XBee
modules, and click Next.
5. In the Set port parameters window, maintain the default values and click Finish.
6. As XCTU locates radio modules, they appear in the Discovering radio modules dialog box.
7. Select the device(s) you want to add and click Add selected devices.
If your module could not be found, XCTU displays the Could not find any radio module dialog
providing possible reasons why the module could not be added.
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
20
Get started with the XBee Cellular ModemUpdate the device and cellular firmware using XCTU
Update the device and cellular firmware using XCTU
You should use XCTU to update the device firmware on your XBee to the most recent version. This
ensures that you can take advantage of all the latest fixes and features. XCTU will update the device
firmware, and if needed, XCTU will attempt to update your cellular firmware.
Update the device and cellular firmware using XCTU.
Check for cellular registration and connection
The cellular network registration and address assignment must occur successfully. To verify the
network connection, you can view the LED on the development board or check the status of the
relevant commands in XCTU.
Registration can take several minutes.
Before you begin
n Make sure you have added the device to XCTU. See Add a device to XCTU.
n Make sure you are in an area with adequate cellular network reception.
n Verify that the antennas are connected properly to the device.
View LED action
The LED on the development board blinks when the XBee is registered to the cellular network; see
Associate LED functionality. If the LEDremains solid, registration has not occurred properly.
View commands in SCTU
1.
Launch XCTU.
2.
Click the Configuration working modebutton.
3. Select a device from the Radio Modules list. XCTU displays the current firmware settings for
that device.
4. Verify the status of your network connection using the following commands:
n AI (Association Indication) reads 0 when the device successfully registers to the
cellular network and the LED is blinking. If it reads 23 it is connecting to the Internet; 22
means it is registering to the cellular network.
n MY (Module IP Address) should display a valid IPaddress. If it reads 0.0.0.0, it has not
registered yet.
Hints
n
To search for an ATcommand in XCTU, use the search box.
n
To read a command's value, click the Read buttonnext to the command.
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
21
XBee connection examples
The following examples provide some additional scenarios you can try to get familiar with the XBee.
These examples are focused on inter-operating with a host processor to drive the XBee.
If you are interested in using the intelligence built into the XBee, see Get started with MicroPython.
Note Some carriers restrict your internet access. If access is restricted, running some of these
examples may not be possible. Check with your carrier provider to determine whether internet access
is restricted.
Connect to the Echo server23
Connect to the ELIZA server25
Connect to the Daytime server27
Send an SMS message to a phone29
Perform a (GET) HTTP request31
Connect to a TCP/IP address33
Software libraries33
Debugging34
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
22
XBee connection examplesConnect to the Echo server
Connect to the Echo server
This server echoes back the messages you type.
Note For help with debugging, see Debugging.
The following table explains the AT commands that you use in this example.
At
commandValueDescription
IP (IP
Protocol)
TD
(Text
Delimiter)
DL
(Destination
Address)
DE
(Destination
Port)
1Set the expected
transmission mode to
TCP communications.
D (0x0D)
52.43.121.77The target IPaddress of
2329 (0x2329)The target port number of
The text delimiter to be
used for Transparent
mode, as an ASCII hex
code. No information is
sent until this character is
entered, unless the
maximum number of
characters has been
reached. Set to 0 to
disable text delimiter
checking. Set to D for a
carriage return.
the echo server.
the echo server.
To communicate with the Echo server:
1. Ensure that the device is set up correctly with the SIM card installed and the antennas
connected as described in Connect the hardware.
2. Open XCTU and Add a device to XCTU.
3.
Click the Configuration working modebutton.
4. Select a device from the Radio Modules list. XCTU displays the current firmware settings for
that device.
5.
To switch to TCP communication, in the IP field, select 1 and click the Write button.
6. To enable the XBee to recognize carriage return as a message delimiter, in the TD field, type D
and click the Write button.
7. To enter the destination address of the echo server, in the DL field, type 52.43.121.77 and click
the Write button.
8. To enter the destination IP port number, in the DE field, type 2329 and click the Write button.
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
23
XBee connection examplesConnect to the Echo server
Note XCTU does not follow the standard hexadecimal numbering convention. The leading 0x is
not needed in XCTU.
9.
Click the Consoles working mode buttonon the toolbar to open a serial console to the
device. For instructions on using the Console, see the AT console topic in the XCTU User Guide.
10.
Click the Open buttonto open a serial connection to the device.
11. Click in the left pane of the Console log, then type in the Console to talk to the echo server.
The following screenshot provides an example of this chat.
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
24
XBee connection examplesConnect to the ELIZA server
Connect to the ELIZA server
You can use the XBee to chat with the ELIZA Therapist Bot. ELIZAis an artificial intelligence (AI) bot
that emulates a therapist and can perform simple conversations.
Note For help with debugging, see Debugging.
The following table explains the AT commands that you use in this example.
At commandValueDescription
IP (IP Protocol)1Set the expected
transmission mode to TCP
communications.
DL (Destination
Address)
DE (Destination
Port)
To communicate with the ELIZA Therapist Bot:
1. Ensure that the device is set up correctly with the SIM card installed and the antennas
connected as described in Connect the hardware.
2. Open XCTU and Add a device to XCTU.
3.
Click the Configuration working modebutton.
4. Select a device from the Radio Modules list. XCTU displays the current firmware settings for
that device.
5.
To switch to TCP communication, in the IP field, select 1 and click the Write button.
6. To enter the destination address of the ELIZATherapist Bot, in the DL field, type 52.43.121.77
and click the Write button.
7. To enter the destination IP port number, in the DE field, type 2328 and click the Write button.
8.
Click the Consoles working mode buttonon the toolbar to open a serial console to the
device. For instructions on using the Console, see the AT console topic in the XCTU User Guide.
52.43.121.77The target IP address of the
ELIZA server.
2328 (0x2328)The target port number of
the ELIZA server.
9.
Click the Open buttonto open a serial connection to the device.
10. Click in the left pane of the Console log, then type in the Console to talk to the ELIZA Therapist
Bot. The following screenshot provides an example of this chat with the user's text in blue.
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
25
XBee connection examplesConnect to the ELIZA server
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
26
XBee connection examplesConnect to the Daytime server
Connect to the Daytime server
The Daytime server reports the current Coordinated Universal Time (UTC) value responding to any
user input.
Note For help with debugging, see Debugging.
The following table explains the AT commands that you use in this example.
At commandValueDescription
IP (IP
Protocol)
DL
(Destination
Address)
DE
(Destination
Port)
TD (Text
Delimiter)
To communicate with the Daytime server:
1. Ensure that the device is set up correctly with the SIM card installed and the antennas
connected as described in Connect the hardware.
2. Open XCTU and Add a device to XCTU.
1Set the expected transmission
mode to TCP communications.
52.43.121.77The target IP of the Daytime
server.
232A (0x232A)The target port number of the
Daytime server.
0
The text delimiter to be used for
Transparent mode, as an ASCII
hex code. No information is sent
until this character is entered,
unless the maximum number of
characters has been reached. Set
to zero to disable text delimiter
checking.
3.
Click the Configuration working modebutton.
4. Select a device from the Radio Modules list. XCTU displays the current firmware settings for
that device.
5.
To switch to TCP communication, in the IP field, select 1 and click the Write button.
6. To enter the destination address of the daytime server, in the DL field, type 52.43.121.77 and
click the Write button.
7. To enter the destination IP port number, in the DE field, type 232A and click the Write button.
8. To disable text delimiter checking, in the TD field, type 0 and click the Write button.
9.
Click the Consoles working mode buttonon the toolbar to open a serial console to the
device. For instructions on using the Console, see the AT console topic in the XCTU User Guide.
10.
Click the Open buttonto open a serial connection to the device.
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
27
XBee connection examplesConnect to the Daytime server
11. Click in the left pane of the Console log, then type in the Console to query the Daytime server.
The following screenshot provides an example of this chat.
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
28
XBee connection examplesSend an SMS message to a phone
Send an SMS message to a phone
The XBee Cellular Modem can send and receive Short Message Service (SMS) transmissions (text
messages) while in Transparent mode. This allows you to send and receive text messages to and from
an SMS capable device such as a mobile phone.
Note For help with debugging, see Debugging.
The following table explains the AT commands that you use in this example.
CommandValueDescription
AP (APIEnable)
IP (IP Protocol)
P#
(DestinationPhone
Number)
TD (Text Delimiter)
PH (Module's SIM
phone number)
1. Ensure that the device is set up correctly with the SIM card installed and the antennas
connected as described in Connect the hardware.
2. Open XCTU and Add a device to XCTU.
3.
Click the Configuration working modebutton.
4. Select a device from the Radio Modules list. XCTU displays the current firmware settings for
that device.
0Set the device's API mode to Transparent mode.
2Set the expected transmission mode to SMScommunication.
<Target
phone
number>
D (0x0D)
Read
only
The target phone number that you send to, for example, your
cellular phone. See P# (Destination Phone Number) for instructions
on using this command.
The text delimiter to be used for Transparent mode, as an ASCII hex
code. No information is sent until this character is entered, unless
the maximum number of characters has been reached. Set to 0 to
disable text delimiter checking. Set to D for a carriage return.
The value that represents your device's phone number as supplied
by the SIM card. This is used to send text messages to the device
from another cellular device.
5.
To switch to SMS communication, in the IP field, select 2 and click the Write button.
6. To enter your cell phone number, in the P# field, type the <target phone number> and click
the Write button. Type the phone number using only numbers, with no dashes. You can use the
+ prefix if necessary. The target phone number is the phone number you wish to send a text to.
7. In the TD field, type D and click the Write button.
8. Note the number in the PH field; it is the XBee Cellular Modem phone number, which you see
when it sends an SMS to your phone.
9.
Click the Consoles working mode buttonon the toolbar to open a serial console to the
device. For instructions on using the Console, see the AT console topic in the XCTU User Guide.
10.
Click the Open buttonto open a serial connection to the device.
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
29
XBee connection examplesSend an SMS message to a phone
11. Click in the left pane of the Console log, type hello world and press Enter. The XBee Cellular
Modem sends the message to the destination phone number set by the P# command.
Note If you are receiving individual characters, verify that you set TD correctly.
12. When the phone receives the text, you can see that the sender's phone number matches the
value reported by the XBee Cellular Modem with the PH command.
13. On the phone, reply with the text connect with confidence and the XBee Cellular Modem
outputs this reply from the UART.
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
30
Loading...
+ 265 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.