Page 1
Digi XBee® 3 Cat 1 Smart Modem User Guide Smart Modem User Guide...
Page 2
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.
Page 3
Include the document title and part number (Digi XBee® 3 Cat 1 Smart Modem User Guide, 90002503 A) in the subject line of your email. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Contents Digi XBee® 3 Cat 1 Smart Modem User Guide Applicable firmware and hardware SIM cards Safety instructions Safety instructions Инструкции за безопасност Sigurnosne upute Bezpečnostní instrukce Sikkerhedsinstruktioner Veiligheidsinstructies Ohutusjuhised Turvallisuusohjeet Consignes de sécurité Sicherheitshinweise Οδηγίες ασφαλείας Biztonsági utasítások Istruzioni di sicurezza Drošības instrukcijas...
Page 5
Create a Remote Manager account Add an XBee Smart Modem to Remote Manager Verify the connection between a device and Remote Manager Configure Remote Manager features using automations Overview: Create an automation Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 6
Update the cellular component firmware using Remote Manager Update the cellular firmware using the API Technical specifications Interface and hardware specifications RF characteristics Networking specifications Bands Power requirements Electrical specifications Regulatory approvals Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 7
Clear all custom configurations on a device SIM cards Cellular connection process Connecting Cellular network Data network connection Data communication with remote servers (TCP/UDP) Disconnecting Modes Select an operating mode Transparent operating mode API operating mode Command mode Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 8
Enable UART or SPI ports SPI operation SPI communications Full duplex operation Low power operation Select the SPI port Force UART operation Data format File system Overview of the file system Directory structure Paths Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 9
Bind local source addres Receive Bind/Listen Response Send to Digi echo server Receive TX Status Receive echoed data Send to Digi time server Receive TX Status Receive daytime value Close the socket Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 10
BM (Bandmask) AM (Airplane Mode) DV (Secondary Antenna Function Switch) SQ (Reference Signal Received Quality) SW (Reference Signal Received Power) PN (SIM PIN) PK (SIM PUK) OT (Operating Technology) FC (Frequency Channel Number) Network commands Digi XBee® 3 Cat 1 Smart Modem User Guide...
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.
Digi XBee® 3 Cat 1 Smart Modem User Guide SIM cards Description XB3-C-N1-UT-101 XBee 3 North America LTE Cat 1 with AT&T SIM XB3-C-G1-UT-102 XBee 3 Global LTE Cat 1 with Verizon SIM XB3-C-N1-UT-102 XBee 3 North America LTE Cat 1 with Verizon SIM...
Digi XBee® 3 Cat 1 Smart Modem User Guide Safety instructions Инструкции за безопасност XBee модули Радио модулът XBee не може да бъде гарантиран за работа поради радиовръзката и затова не трябва да се използва за блокировки в критични за безопасността устройства...
Digi XBee® 3 Cat 1 Smart Modem User Guide Safety instructions Krajnjem korisniku se mora reći kako da isključi napajanje iz XBee radio modula ili da locira antene 20 cm od ljudi ili životinja. Bezpečnostní instrukce moduly XBee Rádiový modul XBee nemůže zaručit provoz kvůli rádiovému spojení, a proto by neměl být používán pro blokování...
Digi XBee® 3 Cat 1 Smart Modem User Guide Safety instructions Udsæt ikke XBee-radiomoduler for vand eller fugt. Brug dette produkt med de antenner, der er specificeret i XBee-modulets brugervejledninger. Slutbrugeren skal fortælles, hvordan man fjerner strømmen fra XBee-radiomodulet eller placerer antennerne 20 cm fra mennesker eller dyr.
Digi XBee® 3 Cat 1 Smart Modem User Guide Safety instructions töötab väljaspool antud riigi regulatiivseid vastavusi, põhjustades raadio võimaliku ebaseadusliku kasutamise. Kasutage XBee mooduli käsitsemisel tööstusharu standardset ESD-kaitset. Olge käsitsemisel ettevaatlik, et vältida PCB ja komponentide elektrikahjustusi. Ärge jätke XBee raadiomooduleid vee või niiskuse kätte.
Digi XBee® 3 Cat 1 Smart Modem User Guide Safety instructions Il n'y a aucun composant réparable par l'utilisateur à l'intérieur du module radio XBee. Ne retirez pas la protection et ne modifiez en aucune façon le XBee. Les modifications peuvent exclure le module de toute garantie et peuvent entraîner le fonctionnement de la radio XBee...
Digi XBee® 3 Cat 1 Smart Modem User Guide Safety instructions όπως μηχανήματα ή εφαρμογές αυτοκινήτου. Η μονάδα ραδιοφώνου XBee δεν έχει εγκριθεί για χρήση σε (αυτή η λίστα δεν είναι εξαντλητική): ιατροτεχνολογικά προϊόντα πυρηνικές εφαρμογές εκρηκτικές ή εύφλεκτες ατμόσφαιρες...
Digi XBee® 3 Cat 1 Smart Modem User Guide Safety instructions Istruzioni di sicurezza Moduli XBee Il funzionamento del modulo radio XBee non può essere garantito a causa del collegamento radio e quindi non deve essere utilizzato per gli interblocchi in dispositivi critici per la sicurezza come macchine o applicazioni automobilistiche.
Digi XBee® 3 Cat 1 Smart Modem User Guide Safety instructions Saugos instrukcijos XBee moduliai Negalima garantuoti, kad „XBee“ radijo modulis veiks dėl radijo ryšio, todėl jo neturėtų būti naudojamas blokuoti saugai svarbiuose įrenginiuose, pvz., mašinose ar automobiliuose. XBee radijo modulis nebuvo patvirtintas naudoti (šis sąrašas nėra baigtinis): medicinos prietaisai branduolinės programos...
Digi XBee® 3 Cat 1 Smart Modem User Guide Safety instructions Instrukcje bezpieczeństwa Moduły XBee Moduł radiowy XBee nie może zagwarantować działania ze względu na łącze radiowe, dlatego nie należy go używać do blokad w urządzeniach o krytycznym znaczeniu dla bezpieczeństwa, takich jak maszyny lub aplikacje motoryzacyjne.
Digi XBee® 3 Cat 1 Smart Modem User Guide Safety instructions O usuário final deve ser informado sobre como remover a energia do módulo de rádio XBee ou localizar as antenas a 20 cm de humanos ou animais. Instructiuni de siguranta module XBee Nu se poate garanta funcționarea modulului radio XBee din cauza conexiunii radio și, prin...
Digi XBee® 3 Cat 1 Smart Modem User Guide Safety instructions Pri manipulácii buďte opatrní, aby ste predišli elektrickému poškodeniu dosky plošných spojov a komponentov. Rádiové moduly XBee nevystavujte vode ani vlhkosti. Tento produkt používajte s anténami špecifikovanými v používateľských príručkách modulu XBee.
Digi XBee® 3 Cat 1 Smart Modem User Guide Safety instructions de cualquier garantía y pueden hacer que la radio XBee funcione fuera del cumplimiento normativo de un país determinado, lo que puede provocar una operación ilegal de la radio.
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. Example: hello world Example: turn on an LED Digi XBee® 3 Cat 1 Smart Modem User Guide...
This cable will not power the development board. One XBee Smart Modem Note When purchased as a kit, the XBee Smart Modem comes pre-installed in the XBIB-U-C in an ESD-safe bag. Digi XBee® 3 Cat 1 Smart Modem User Guide...
SIM card in the US and Europe. US customers In the US, Digi XBee® 3 LTE Cat 1 Smart Modem works with AT&T and Verizon (pending carrier approval). You must purchase a SIM card before you can connect the hardware. Contact Digi Sales at www.digi.com/contactus...
Align the U.FL connectors carefully, then firmly press straight down to seat the connector. You should hear or feel a click when the antenna attaches correctly. Caution should be used when connecting or removing the U.FL. Digi recommends using a U.FL removal tool. Digi XBee® 3 Cat 1 Smart Modem User Guide...
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.
LED is blinking. If it reads 23 it is connecting to the Internet; 22 means it is registering to the cellular network. MY (Module IP Address) should display a valid IP address. If it reads 0.0.0.0, it has not registered yet. Digi XBee® 3 Cat 1 Smart Modem User Guide...
To read a command's value, click the Read button next to the command. Cellular service Digi now offers Cellular Bundled Service plans, where you can choose to purchase a subscription for cell service, and/or a Digi Remote Manager package. To shop online, go to: shop.digi.com...
Page 37
Connect to the Echo server Connect to the ELIZA server Connect to the Daytime server Send an SMS message to a phone Perform a (GET) HTTP request Connect to a TCP/IP address Software libraries Digi XBee® 3 Cat 1 Smart Modem User Guide...
For instructions on using the Console, see the AT console topic in the XCTU User Guide. 10. Click the Open button to open a serial connection to the device. Digi XBee® 3 Cat 1 Smart Modem User Guide...
6. To enter the destination address of the ELIZA Therapist 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. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Set the expected transmission mode to TCP communications. Protocol) 52.43.121.77 The target IP of the Daytime server. (Destination Address) 232A (0x232A) The target port number of the Daytime server. (Destination Port) Digi XBee® 3 Cat 1 Smart Modem User Guide...
The XBee Smart 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 Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 42
11. Click in the left pane of the Console log, type hello world and press Enter. The XBee Smart 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. Digi XBee® 3 Cat 1 Smart Modem User Guide...
14. Click the HEX input tab and add 0A (zero A) after each 0D (zero D), and add an additional 0D 0A at the end of the message body. For example, copy and past the following text into the HEX input tab: Digi XBee® 3 Cat 1 Smart Modem User Guide...
5. In the IP field, select 1 and click the Write button 6. In the DL field, type the <target IP address> and click the Write button. The target IP address is the IP address that you send and receive from. Digi XBee® 3 Cat 1 Smart Modem User Guide...
The XBee Python Library is a Python API that dramatically reduces the time to market of XBee projects developed in Python and facilitates the development of these types of applications, making it an easy process. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 46
Use the MicroPython Terminal in XCTU Example: hello world Example: Turn on an LED Example: Code a request help button Example: Debug the secondary UART Exit MicroPython mode Other terminal programs Use picocom in Linux Digi XBee® 3 Cat 1 Smart Modem User Guide...
5. Note what COM port(s) the XBee Smart Modem is using, because you will need this information when you use terminal communication. The Radio Modules information panel lists the COM port in use. Digi XBee® 3 Cat 1 Smart Modem User Guide...
This example is only for kits that use the XBIB-CU-TH development board. For an example that uses the XBIB-U-DEV development board, see Example: Turn on an LED. Other terminal programs if you do not use the MicroPython Terminal in XCTU. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Many stores have help buttons in their aisles that a customer can press to alert the store staff that assistance is required in that aisle. You can implement this type of system using the Digi XBee Smart Modem, and this example provides the building blocks for such a system. This example, based on SMS...
For this part of the example, you write code that responds to a button press on the XBIB-CU-TH-DEV board that comes with the XBee Smart Modem Development Kit. The code monitors the pin connected to the button on the board labeled Comm. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 51
PDF version, as it may not maintain essential indentations. Note If you have problems pasting the code, see Syntax error at line 1. For SMS failures, see Error Failed to send SMS. Digi XBee® 3 Cat 1 Smart Modem User Guide...
PDF version, as it may not maintain essential indentations. Note If you have problems pasting the code, see Syntax error at line 1. For SMS failures, see Error Failed to send SMS. Digi XBee® 3 Cat 1 Smart Modem User Guide...
# Send message to the given number. Handle error if it occurs. try: c.sms_send(ph, 'Button Pressed at: ' + str(buf)) print("Sent SMS successfully.") except OSError: print("ERROR- failed to send SMS.") # Exit the WHILE loop. break Digi XBee® 3 Cat 1 Smart Modem User Guide...
3. In XCTU's Configuration working mode , change AP API Enable to another mode and click the Write button . We recommend changing to Transparent mode [0], as most of the examples use this mode. Digi XBee® 3 Cat 1 Smart Modem User Guide...
7. Click OK to apply the changes to the serial port settings. The settings should go into effect right away. 8. To verify that local echo is not enabled and that extra line-feeds are not enabled: Digi XBee® 3 Cat 1 Smart Modem User Guide...
3. Check the directory again and you should see one additional device, which is the XBee Smart Modem. 4. In this case, replace /dev/ttyUSB0 at the top with /dev/ttyUSB<number>, where <number> is the new number that appeared. 5. It should connect and show Terminal ready. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 57
Get started with MicroPython Use picocom in Linux Now you can type MicroPython commands at the >>> prompt. Digi XBee® 3 Cat 1 Smart Modem User Guide...
BLE (Bluetooth® Low Energy) is an RF protocol that enables you to connect your XBee (server) device to another (client) device. he latest Digi XBee products include a dual-mode radio that allows the device to communicate through the BLE interface and the RF/Cellular network at the same time.
Before you begin, you should determine the password you want to use for BLE on the XBee device and store it in a secure place. Digi recommends a secure password of at least 8 characters and a random combination of letters, numbers, and special characters. Digi also recommends using a security management tool such as Bitwarden or Keepass for generating and storing passwords for many devices.
8. Click OK to save the configuration. Get the Digi XBee Mobile phone application To see the nearby devices that have BLE enabled, you must get the free Digi XBee Mobile application from the iOS App Store or Google Play and downloaded to your phone.
Response data will be presented through indications on this characteristic. Indications are acknowledged and re-transmitted at the BLE link layer and application layer and provides a robust transport for this data. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Get started with Digi Remote Manager Digi Remote Manager® is a cloud-based device and data management platform that you can use to configure and update a device, and view and manage device data. The sections below describe how to create a Remote Manager account, upgrading your device, configure your device, and manage data in Remote Manager.
Create a Remote Manager account and add devices Create a Remote Manager account Digi Remote Manager is an on-demand service with no infrastructure requirements. Remote devices and enterprise business applications connect to Remote Manager through standards-based web services. This section describes how to configure and manage an XBee using Remote Manager. For...
The following provides a template of how to create a schedule for an XBee to connect, perform a set of tasks and then disconnect: 1. Make sure that SM/UDP is enabled. See Enable SM/UDP. Log into Remote Manager. 3. Click Automations. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Click Confirm to start the automation. Automation examples The examples in the following sections assume you are using the Digi Remote Manager Automations wizard. However, you should be aware that operations can be created and performed programmatically via web service calls or via the API explorer. The XML web service calls provide more options than are available in the GUI dashboard for some tasks.
In this configuration example, you are changing the device to poll four times a day instead of just once. In this case, you should change the DF parameter to 360 minutes. Log into Remote Manager. 2. Click Automations. 3. Click Create to launch the wizard. Digi XBee® 3 Cat 1 Smart Modem User Guide...
.gbl file for the new firmware from our support site. This file is one of the files in the .zip (for example, XBXC-31011.zip) archive that you can download for the product. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 68
Click on the run you are interested in to display a details for each device. e. For the device you are interested in, click the Status link under the Summary column to see more details and the responses. Digi XBee® 3 Cat 1 Smart Modem User Guide...
In the Destination File Path field, enter: ~/MicroPython/uftp.py iii. Enable Allow Offline. iv. From the On Error list box, select Continue. g. Click + again to add another step, and select RCI. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Remote Manager. The device must be in the Remote Manager inventory device list and be active. 1. Set up a persistent connection to connect the device to Remote Manager using one of the following methods: Digi XBee® 3 Cat 1 Smart Modem User Guide...
3. Select the device for which you want to manage files. 4. Click Files to open file management view. From this view you can add or remove files on your device. Digi XBee® 3 Cat 1 Smart Modem User Guide...
You can use the SM/UDP feature to leverage the very small data footprint of Remote Manager SM protocol over UDP. Note Battery Operated Mode may be enabled in Digi Remote Manager. Review the Battery Operated Mode section to determine the impact of enabling this mode on SM/UDP.
Determine the location of the firmware version You must first determine the location of the firmware version to which you want to update. Digi provides updates by hosting them on an FTP server: ftp1.digi.com. If the FTP location is not accessible to your XBee Cellular, such as if you are using a VPN, the files may be retrieved and hosted separately on a server that it can reach.
XBee Cellular variant to determine the necessary upgrade path for your product. You will need: The FTP hostname or IP address, which for Digi hosted files is: ftp1.digi.com The port running the FTP server, which is typically 21 Username. For ftp1.digi.com, use: anonymous Password.
Page 75
Request connect feature in Remote Manager. Digi Remote Manager is enabled on the XBee by default and has a 60 second keepalive interval, which can result in excessive cellular data usage, depending on your plan. The commands can be used to tune the keepalive interval. Your carrier will disconnect an inactive socket automatically if there is no activity, so you need to tune this value based on your carrier’s disconnect timeout.
For best results, you should notify others that you plan to reformat the XBee's filesystem before you initiate a format device request. When you initiate a format device request, the following occurs: Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 77
MicroPython application. The contents of the filesystem are reset to their initial default state. Example: <sci_request version="1.0"> <data_service> <targets> <device id="Your Device ID here" /> </targets> <requests> <device_request target_name="format"/> </requests> </data_service> </sci_request> Digi XBee® 3 Cat 1 Smart Modem User Guide...
The following examples provide some additional scenarios you can use to get familiar with the XBee. If you are interested in using the intelligence built into the XBee, see Get started with MicroPython. Get started with CoAP Get started with MQTT Digi XBee® 3 Cat 1 Smart Modem User Guide...
Read to get an update on the AI value. Example: manually perform a CoAP request Follow the steps in Configure the device prior to this example. This example performs the CoAP GET request: Digi XBee® 3 Cat 1 Smart Modem User Guide...
HTTP protocol and how to do this using the XBee Smart Modem. In this example, the XBee Smart Modem talks to a CoAP Digi Server. You can use this client code to provide an abstract wrapper to generate a CoAP message that commands the XBee Smart Modem to talk to the remote CoAP server.
Page 82
In the following figure, the payload contains the server response to the query. It shows the results for when you press Enter rather than Y. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Description Hex value CONNECT packet fixed header byte 1 Control packet type 0x10 byte 2 Remaining length 0x10 CONNECT packet variable header Protocol name byte 1 Length MSB (0) 0x00 Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 84
Clean Session flag, which indicates to the client and broker to discard any previous session and start a new one. Keep Alive How often the client pings the broker to keep the connection alive; in this example it is set to 60 seconds. Digi XBee® 3 Cat 1 Smart Modem User Guide...
The length of the ID (in bytes) precedes the ID itself. Each client connecting to a broker must have a unique client ID. In the example, the ID is DIGI. When using the Paho MQTT Python libraries, a random alphanumeric ID is generated if you do not specify an ID.
A basic Python example of a node publishing (sending) a message is: mqttc = mqtt.Client("digitest") # Create instance of client with client ID “digitest” mqttc.connect("m2m.eclipse.org", 1883) # Connect to (broker, port, keepalive-time) Digi XBee® 3 Cat 1 Smart Modem User Guide...
# Define callback function for successful connection client.on_message = on_message # Define callback function for receipt of a message # client.connect("m2m.eclipse.org", 1883, 60) # Connect to (broker, port, keepalive-time) client.connect('127.0.0.1', 17300) Digi XBee® 3 Cat 1 Smart Modem User Guide...
4. You can make the proxy with a dual-threaded Python script, a simple version follows: import threading import serial import socket def setup(): """ This function sets up the variables needed, including the serial port, and it's speed/port settings, listening socket, and localhost adddress. """ Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 89
- socket has closed. Exiting socket reader thread.") return 1 # Exit the thread to avoid a loop of 0-byte receptions else: print("Received {} bytes from client via socket.".format(len (data))) Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 90
MQTT client to use the data connection provided by the device. Think of the proxy script as a translator between the MQTT client and the XBee Smart Modem. The following figure shows the basic operation. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 91
To avoid these errors, it is best to start the scripts in the correct order: proxy, then subscribe, then publish. Digi XBee® 3 Cat 1 Smart Modem User Guide...
You should update your XBee to the latest firmware to take advantage of all the latest fixes and features. Refer to the topics below for information about the available update methods. Digi strongly recommends that you devise a plan to update the firmware after initial deployment. For more information, see Create a plan for device and cellular component firmware updates.
Page 93
Update the firmware Create a plan for device and cellular component firmware updates If the XBee firmware is updated over-the-air using Digi Remote Manager: After the new firmware image has been downloaded and validated, the XBee modem reboots automatically to install the firmware. The XBee then resets into the new firmware once the update is complete, which may take up to 60 seconds.
The device is added to XCTU. See Add a device to XCTU. Digi XBIB-CU-TH development board, or your own hardware which enables USB Direct access USB cable for USB Direct access is connected to the PC Cellular component USB drivers are installed To update the device and cellular firmware: 1.
Page 95
XCTU applies and updates the device firmware. If the cellular firmware is being updated, XCTU reconfigures the XBee for USB Direct access and updates the new cellular firmware on the device. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Go to the Digi XBee 3 NA/Global LTE Cat 1 support page. b. Scroll down to the Firmware Updates section. c. Locate and click Digi XBee 3 NA/Global LTE Cat 1 firmware release to download the zip file. d. Unzip the file. The file contains either a .ebin or a .gbl file.
Scroll down to the Firmware Updates section. c. Locate and click Digi XBee 3 Global LTE Cat 1 firmware release to download the zip file. d. Unzip the file and locate the .gbl file in the unzipped directory. 2. Send an HTTP SCI request to Remote Manager with the contents of the downloaded .gbl file converted to base64 data.
Page 98
# Remote Manager device ID of the device being updated device_id = '00010000-00000000-03526130-70153378' # Remote Manager username and password username = "my_remote_manager_username" password = "my_remote_manager_password" url = 'https://remotemanager.digi.com/ws/sci' # Form update_firmware request Digi XBee® 3 Cat 1 Smart Modem User Guide...
After the command is sent, the radio module resets and automatically enters programming mode. 3. Once the device is in programming (bootloader) mode, configure the local serial port to 115200/8/N/1. Digi XBee® 3 Cat 1 Smart Modem User Guide...
At this time cellular component firmware updates are not available for this device, as there is only one firmware version available. This section is provided as a reference so you can review and plan your update strategy. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 101
Determine the location of the firmware version You must first determine the location of the firmware version to which you want to update. Digi provides updates by hosting them on an HTTP server: ftp1.digi.com. If the HTTP location is not accessible to your XBee Cellular, such as if you are using a VPN, the files may be retrieved and hosted separately on a server that it can reach.
After the update has been triggered, it may take up to 30 minutes for the update to be applied and for the module to be connected to the network once more. If the XBee is not configured to automatically connect to Digi Remote Manager, you will need to reconnect to Remote Manager to perform validation.
Page 103
Important notes Consider the following before performing a cellular component firmware update. Note Digi recommends that you perform a cellular firmware update using XCTU. CAUTION! Avoid interrupting the process if possible. An interruption requires starting over. If the interruption occurs while the bootloader is being updated (part number 82004156) the device may not be recoverable.
Page 104
If the host sets bit 2 of the flags byte in FW Update - 0x2B, the update in progress is aborted. Recovery is then equivalent to the recovery for negative acknowledgments, described above. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 105
Update the cellular firmware General case Regardless of the reason for the error, a cellular component firmware update should always work within ten seconds of a reset and after AI is 0x23 or 0. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Supply voltage range 3.0 to 5.5 VDC Electrical specifications The following table provides the electrical specifications for the XBee Smart Modem. Symbol Parameter Condition Typical Units VCCMAX Maximum limits of VCC line Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 109
Pin 6 is also 5 V tolerant even when the XBee Smart Modem is not powered. We recommend only driving this pin with 3.3 V for compatibility with other XBee products. The VBUS line is not used to enable/disable USB on this product. Digi XBee® 3 Cat 1 Smart Modem User Guide...
The following figures show the mechanical drawings for the XBee Smart Modem. All dimensions are in inches. For XBee header information, see XBee header connector requirements. Pin signals The pin locations are: Digi XBee® 3 Cat 1 Smart Modem User Guide...
The recommended minimum pin connections are VCC, GND, DIN, DOUT, RTS, DTR and RESET. Firmware updates require access to these pins. XBee header connector requirements The XBee header connectors require the following attributes: female 2 mm pitch Digi XBee® 3 Cat 1 Smart Modem User Guide...
In firmware version *1A and newer, sleep is allowed when raw NMEA is enabled; GNSS will be temporarily stopped for sleep, then re-enabled on wake. Sleep is held off when a one-shot/single location acquisition is active. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Where the low signal means LED off and the high signal means LED on. When CI is not 0 or 0xFF, the Associate LED has a different blink pattern that looks like this: Digi XBee® 3 Cat 1 Smart Modem User Guide...
XBIB-CU-TH reference This picture shows the XBIB-CU-TH development board and the table that follows explains the callouts in the picture. Note This module is sold separately or in our XBee3 Cellular Kits. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 117
When in the ACTIVE position, power must be delivered via jumper P10. This allows current measurements to be conducted by attaching a current meter across the jumper P10. Note The USB-to-serial communications connection may affect this current measurement. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 118
Connecting to a USB 2.0 port will result in unreliable operation. LED indicator Red: UART DOUT (modem sending serial/UART data to host) Green: UART DIN (modem receiving serial/UART data from host) White: ON/SLP/DIO9 Blue: Connection Status/DIO5 Yellow: RSSI/PWM0/DIO10 Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 119
USB direct mode: Both switches must be in the left position. For more information, see Connect the hardware for USB Direct mode. C sensor: Both switches must be in the right position. See item 10, Temp/Humidity Sensor. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Do not make a dual footprint of the XBee Cellular TH Integral Antenna and the surface-mount PCB antenna module RF Pad footprint, as the RF Pad footprint requires a ground plane within the keepout area of the integral antenna. Digi XBee® 3 Cat 1 Smart Modem User Guide...
When the GNSS antenna is placed close to the module, a 15 dB gain is enough. In the case of a long cable, the gain has to be increased up to 30 dB. An active GNSS antenna is required in most applications. The active antenna should meet the following specifications: Digi XBee® 3 Cat 1 Smart Modem User Guide...
Further care in antenna placement must be taken when operating on LTE Band 13 to avoid loss of GNSS sensitivity. The antenna must not be installed inside metal cases or near any obstacle that may degrade performance. Digi XBee® 3 Cat 1 Smart Modem User Guide...
If you do not have a way to measure current consumption you can estimate it from the table in the next section. Use those results to approximate the maximum safe ambient temperature for the XBee Smart Modem, T , with the following equation: MAX,amb Digi XBee® 3 Cat 1 Smart Modem User Guide...
Clean shutdown Digi strongly recommends performing a clean shutdown procedure on your XBee cellular devices before removing power from the devices. Performing a shutdown allows the module to unregister from the cellular network and safely store operating parameters. Failure to shutdown properly has the potential to result in delays resuming network operation and in some rare instances may result in an unrecoverable module failure.
If pin 7 is used in the application, it must be disconnected to perform the USB Direct firmware update. Recommended application circuit In all cases, but especially in high EMI (electromagnetic interference) noise environments, Digi recommends adding a 10 nF ceramic capacitor very close to pin 5.
The specific failure mode is fretting between the contacts of the SIM card and the card holder. For highest reliability, Digi strongly recommends that you apply a thin layer of dielectric grease to the SIM contacts prior to installing the SIM card. You need only to apply enough dielectric grease that the mating area of the contacts is protected from exposure to air and humidity.
1. The server closes the connection. 2. The TM timeout expires (see TM (IP Client Connection Timeout)). 3. The cellular network may also close the connection after a timeout set by the network operator. Digi XBee® 3 Cat 1 Smart Modem User Guide...
2. The cellular connection is shut down. 3. The cellular component is powered off. Note We recommend performing a safe shutdown before resetting or rebooting the device to allow the cellular module to detach from the network. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Bypass operating mode. The default mode is Transparent operating mode. Use the AP (API Enable) command to select a different operating mode. The following flowchart illustrates how the modes relate to each other. Digi XBee® 3 Cat 1 Smart Modem User Guide...
When the device is in Command mode, it listens for user input and is able to receive AT commands on the UART. If CT time (default is 10 seconds) passes without any user input, the device drops out of Digi XBee® 3 Cat 1 Smart Modem User Guide...
Response to AT commands When using AT commands to set parameters the XBee Smart Modem responds with OK<cr> if successful and ERROR<cr> if not. For devices with a file system: Digi XBee® 3 Cat 1 Smart Modem User Guide...
REPL or code launched at startup. When code runs in MicroPython with AP set to a value other than 4, stdout is discarded and there is no input to read on stdin. Digi XBee® 3 Cat 1 Smart Modem User Guide...
USB direct mode USB direct mode Note In order to use USB direct mode in Digi XBee development kits, you must use the XBIB-C-TH development board. Note You should use this mode if you want to connect using PPP through the cellular modem while using a host operating system, such as embedded Linux.
PPPD by default looks in the /etc/ppp/ directory for an options file and a chat script. The option file configures and specifies the chat script for PPPD. The chat script configures and dials the modem for the PPP connection. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 139
In the net-chat script below, you must replace <APN> with the correct APN for your network and SIM. ABORT 'ERROR' ABORT 'BUSY' ABORT 'NO CARRIER' '' AT OK AT+IFC=2,2 OK ATE0 OK AT+CGDCONT=1,"IP","<APN>" OK AT&S0 Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 140
+CME ERRORScript /usr/sbin/chat -V -t 60 -f net-chat finished (pid 5523), status = 0x4 Connect script failed This indicates that the <APN> field was most likely not set correctly in the net-chat script. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 141
/dev/ directory as ppp_direct_usb. Error after running "ping www.digi.com" ping: unknown host www.digi.com The name server was not setup correctly for the PPP interface. Make sure there is a valid name server in /etc/resolv.conf. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Upon entering deep sleep mode, the XBee Smart Modem closes any active UDP connections and turns off the cellular component. As a result, any sockets that were opened in MicroPython prior to sleep Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 144
(b'', (<address from connect()>, <port from connect()>) ) The underlying UDP socket resources have been released at this point. Digi XBee® 3 Cat 1 Smart Modem User Guide...
When in the shutdown state, the XBee VCC voltage must rise 100 mV (set by AT%M) above the shutdown voltage (AT%L) to reset and then resume normal operation. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 147
Power saving features and design recommendations Low voltage shutdown Digi XBee® 3 Cat 1 Smart Modem User Guide...
9600 baud and it brings the device up in Command mode on the UART port. You can then send the appropriate commands to the device to configure it for UART operation. If those parameters are written, the device comes up with the UART enabled on the next reset. Digi XBee® 3 Cat 1 Smart Modem User Guide...
SPI port, enable SPI_MISO (P2), SPI_MOSI (D4), SPI_SSEL (D3), and SPI_CLK (D2) as peripherals. If you enable both ports then output goes to the UART until the first input on SPI. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 150
If both ports are disabled on reset, the device uses the UART in spite of the wrong configuration so that at least one serial port is operational. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Frame Format mode 0 is used. This means CPOL= 0 (idle clock is low) and CPHA = 0 (data is sampled on the clock’s leading edge). The SPI port only supports API Mode (AP = 1). The following diagram shows the frame format mode 0 for SPI communications. Digi XBee® 3 Cat 1 Smart Modem User Guide...
During the time that the SPI master is sending invalid data to the SPI slave, it is important no 0x7E is included in that invalid data because that would trigger the SPI slave to start receiving another valid frame. Digi XBee® 3 Cat 1 Smart Modem User Guide...
By default, Digi configures DIO8 (SLEEP_REQUEST) as a peripheral and during pin sleep it wakes the device and puts it to sleep. This applies to both the UART and SPI serial interfaces.
The directory . refers to the current directory, so the command ATFS ls . lists files in the current directory. Names are case-insensitive, so FILE.TXT, file.txt and FiLe.TxT all refer to the same file. Digi XBee® 3 Cat 1 Smart Modem User Guide...
SHA256 hash of the file contents. In this way you can validate that the correct file has been placed on the XBee Smart Modem. Digi XBee® 3 Cat 1 Smart Modem User Guide...
The device converts incoming SMS messages to ASCII. Characters that cannot be represented in ASCII are replaced with a space (' ', or 0x20 in hex). This includes emoji and other special characters. Also referred to as the GSM 7-bit alphabet. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 158
API mode behavior for incoming UDP data Transparent mode behavior for outgoing TCP and TLS connections Transparent mode behavior for outgoing UDP data Transparent mode behavior for incoming TCP connections Transparent mode behavior for incoming UDP connections Digi XBee® 3 Cat 1 Smart Modem User Guide...
Timeout)) or when the socket is closed via a TX request with the CLOSE flag set. 1 UDP socket is always reserved for DNS, so subtract 1 socket from the values above. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Transmit (TX) Status - 0x89 frame in reply to the Transmit TX Request indicating the status of the request. A status of 0 indicates the connection and/or data was successful, a value of Digi XBee® 3 Cat 1 Smart Modem User Guide...
To send data from the device over the connection, use the Transmit (TX) Request: IPv4 - 0x20 frame with the corresponding address fields received from the Receive RX frame. In other words: Digi XBee® 3 Cat 1 Smart Modem User Guide...
The first send opens up a UDP socket used to send and receive data. Any data received by this socket is sent out the XBee Smart Modem's serial port. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Any data sent to the XBee Smart Modem's serial port is sent to the network destination specified by DL (Destination Address) DE (Destination port) settings. If the DL and DE settings are unspecified or invalid, the XBee Smart Modem discards data sent to the serial port. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Paste the provided frame content directly into the Add API frame to list window in XCTU to follow along manually. Extended Socket example: Single HTTP Connection Extended Socket example: UDP Extended Socket example: TCP Listener Digi XBee® 3 Cat 1 Smart Modem User Guide...
This example demonstrates a complete request with an HTTP server. It fetches a random fact about a number from a web services API offered by the website http://numbersapi.com. Note Digi is not affiliated with numbersapi.com and the example is for education only. Send a Socket Create frame Note...
The request to connect is immediately acknowledged with a response. However, it is not permitted to proceed transmitting data until the next stage, after a Socket Status frame has been received indicating success. Digi XBee® 3 Cat 1 Smart Modem User Guide...
This allows the example to demonstrate the Socket Status reporting of a close by the peer. Field Value 0x44 (Socket Status) Frame type Frame ID 0x01 Socket ID 0x00 Transmit Options 0x00 GET /random/trivia HTTP/1.1 Data Host: numbersapi.com Connection: close Socket Send frame data: Digi XBee® 3 Cat 1 Smart Modem User Guide...
Access-Control-Allow-Headers: X-Requested-With X-Numbers-API-Number: 270 X-Numbers-API-Type: trivia Pragma: no-cache Cache-Control: no-cache Expires: 0 270 is the average number of days in human pregnancy. Receive Data received from XBee containing web service response: Digi XBee® 3 Cat 1 Smart Modem User Guide...
The XBee generates a response indicating the status of the request to bind the requested port. Field Value 0xC6 (Socket Bind/Listen Response) Frame type Frame ID 0x01 Socket ID 0x00 Status 0x00 (Success) Socket Bind/Listen Response received from XBee: Digi XBee® 3 Cat 1 Smart Modem User Guide...
Extended Socket frames Extended Socket example: UDP 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 0x45 (Socket SendTo)
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.
Finally, the XBee indicates the socket has been closed with a Socket Close Response frame. Field Value 0xC3 (Socket CloseResponse) Frame type Frame ID 0x01 Socket ID 0x00 Status 0x00 (Success) Socket Close Response received from XBee: 7E 00 04 C3 01 00 00 3B Digi XBee® 3 Cat 1 Smart Modem User Guide...
The Socket Bind/Listen Frame takes the socket ID from the socket create response and a source port that the socket will then listen on. In this example port 10001 is used. Digi XBee® 3 Cat 1 Smart Modem User Guide...
It contains the listener's socket ID and the new Client Socket ID along with the connection's remote address information. Field Value 0xCC (Socket New IPv4 Client) Frame type Digi XBee® 3 Cat 1 Smart Modem User Guide...
You may close the client socket remotely which elicits a Socket Status with a Status of 0x07. Field Value 0xCF (Socket Status) Frame type Socket ID 0x01 Status 0x07 (Connection lost) Socket Status received from XBee indicating connection lost: 7E 00 03 CF 01 07 28 Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 177
When a Socket Status indicating a connection close is received, the socket ID will have been de- allocated by the XBee and no further operations are possible or necessary using that ID. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Specifying TLS keys and certificates Transparent mode and TLS API mode and TLS Key formats Certificate limitations Cipher suites Secure the connection between an XBee and Remote Manager with server authentication Digi XBee® 3 Cat 1 Smart Modem User Guide...
2. Server authentication: Only ca_cert is provided. Only the servers identity is checked 3. Mutual authentication: All items are provided and both sides are assured of the identity of their peer It is not possible to only have client authentication. Digi XBee® 3 Cat 1 Smart Modem User Guide...
The RSA PKCS#1 format is the only common format across XBee Cellular device variants. You can identify a PKCS#1 key file by the presence of BEGIN RSA PRIVATE KEY in the file header. Digi's implementation does not support encrypted keys, we use file system encryption to protect the keys at rest in the system.
1. Verify the following settings: Setting Value Bit 0 (mask 0x1) must be set. This enables the use of Digi Remote Manager within the firmware. Bit 1 (mask 0x2) must be set. When this value is set the Remote Manager TCP connection will be secured with TLS.
6 to verify that the server was correctly authenticated. 0: Connected without TLS 5: Connected with TLS but without authentication 6: Connected with TLS and with authentication Digi XBee® 3 Cat 1 Smart Modem User Guide...
If you issue FR while the device is in Command Mode, the reset effectively exits Command mode. Note Digi recommends shutting down the cellular component before resetting or rebooting the device to allow the cellular module to detach from the network. The cellular component can be shut down by issuing the command.
Reads the SIM card phone number. If PH is blank, the XBee Smart Modem is not registered to the network. Parameter range Default Set by the cellular carrier via the SIM card Digi XBee® 3 Cat 1 Smart Modem User Guide...
Reads the network operator on which the device is registered. Parameter range MV (Modem Firmware Version) Read the firmware version string for cellular component communications. See the related (Firmware Version) command. Parameter range Default Set in the currently loaded firmware Digi XBee® 3 Cat 1 Smart Modem User Guide...
The time is provided by the network. If the time is not what you expect, contact your network provider. Parameter range 0 - 1 Value Description The response is the number of seconds since 2000-01-01 00:00:00, as a 32- bit number. This is the default. Digi XBee® 3 Cat 1 Smart Modem User Guide...
BM (Bandmask) command. Changes to the value only take effect on boot so a reboot or power cycle is required for any changes to become active. Parameter range 0 - 3 Digi XBee® 3 Cat 1 Smart Modem User Guide...
AM (Airplane Mode) When set, the cellular component of the XBee Smart Modem is fully turned off and no access to the cellular network is performed or possible. Parameter range 0 - 1 Digi XBee® 3 Cat 1 Smart Modem User Guide...
RSRQ = -(0xA0 / 0xA) = -16.0 dB If the value cannot be retrieved for some reason, such as the device is not on the network yet, an empty string with OK after it is returned. Digi XBee® 3 Cat 1 Smart Modem User Guide...
8 ASCII digits or space character A value of a single space character (ASCII 0x20) acts as an empty value. Default 0x20: A single ASCII space that indicates there is no PUK. Digi XBee® 3 Cat 1 Smart Modem User Guide...
The following commands are network commands. IP (IP Protocol) Sets or displays the IP protocol used for client and server socket connections in IP socket mode. Parameter range 0 - 4 Value Description 0x00 Digi XBee® 3 Cat 1 Smart Modem User Guide...
From 1 through 127 ASCII characters. Default $1 (TLS Profile 1) Specifies the TLS certificate(s) to use for Tx Request with TLS Profile - 0x23 transmissions with profile set to 1. Digi XBee® 3 Cat 1 Smart Modem User Guide...
The IP server connection timeout. If no activity for this timeout then the connection is closed. When set to 0 the connection is closed immediately after data is sent.] Parameter Range 10 - 0xFFFF; (x 100 ms) Default 3000 Digi XBee® 3 Cat 1 Smart Modem User Guide...
280 mA 2.6 A 2G active mode 80 mA Bitfield Description Enable Remote Manager support Controls whether Remote Manager is enabled. Digi recommends that Remote Manager remains enabled. Enable 2G fallback fallback. Enable USB Direct Reserved for future use Enable the...
In API mode, the address is represented as the binary four byte big-endian numeric value representing the IPv4 address. In Transparent or Command mode, the address is represented as a dotted-quad string notation. Parameter range 0- 15 IPv4 characters Default 0.0.0.0 Digi XBee® 3 Cat 1 Smart Modem User Guide...
To set the destination address to an IP address, the value must be a dotted quad, for example XXX.XXX.XXX.XXX. To set the destination address to a domain name, the value must be a legal Internet host name, for example remotemanager.digi.com Parameter range 0 - 128 ASCII characters Digi XBee® 3 Cat 1 Smart Modem User Guide...
IP (IP Protocol) sets the protocol used. For more information on using incoming connections, see Socket behavior. Parameter range 0 - 0xFFFF Value Description Disabled Non-0 Enabled on that port Default Digi XBee® 3 Cat 1 Smart Modem User Guide...
Non-standard baud rates: 0x4B0 - 0x0EC400 Note On XBee 3 Cellular firmware versions ending in *13 or earlier, the minimum baud rate is 2400 and the maximum is 230400. Parameter Description 1200 b/s Digi XBee® 3 Cat 1 Smart Modem User Guide...
Default 0x00 SB (Stop Bits) Sets or displays the number of stop bits for the UART. Parameter range 0 - 1 Value Description One (1) stop bit. Two (2) stop bits. Digi XBee® 3 Cat 1 Smart Modem User Guide...
UART. When API is enabled the UART data must be formatted as API frames because Transparent mode is disabled. See Modes for more information. Parameter range 0x00 - 0x05 Digi XBee® 3 Cat 1 Smart Modem User Guide...
Bypass mode (DEPRECATED. For diagnostic use only) Default IB (Cellular Component Baud Rate) Note Digi does not recommend using bypass mode. You should use USB Direct mode instead. Sets the serial interface baud rate for communication between the XBee CPU and the cellular component when in bypass mode.
Default D1 (DIO1/AD1) Sets or displays the DIO1/AD1 configuration (pin 19). Parameter range 0 - 6 Parameter Description Disabled SPI_ATTN Digital input Digital output, low Digital output, high C SCL Default Digi XBee® 3 Cat 1 Smart Modem User Guide...
Sets or displays the DIO3/AD3 configuration (pin 17). Parameter range 0 - 5, 7 Parameter Description Disabled SPI_SSEL Analog input Digital input Digital output, default low Digital output, default high MicroPython UART1 CTS Default Digi XBee® 3 Cat 1 Smart Modem User Guide...
0, 1, 3 - 5 Parameter Description Disabled Associated LED Digital input Digital output, default low Digital output, default high Default D6 (DIO6/RTS) Sets or displays the DIO6/RTS configuration (pin 16). Digi XBee® 3 Cat 1 Smart Modem User Guide...
Flow control (output) Digital input Digital output, default low Digital output, default high Default D8 (DIO8/SLEEP_REQUEST) Sets or displays the DIO8/DTR/SLP_RQ configuration (pin 9). Parameter range 0, 1, 3 - 5 Digi XBee® 3 Cat 1 Smart Modem User Guide...
This command enables the option of translating incoming data to a PWM so that the output can be translated back into analog form. Parameter range 0 - 5 Parameter Description Disabled RSSI PWM0 output Digi XBee® 3 Cat 1 Smart Modem User Guide...
Digital output, default low Digital output, default high C SDA USB direct Default P2 (DIO12 Configuration) Sets or displays the DIO12 configuration (pin 4). Parameter range 0, 1, 3 - 5, 7 Digi XBee® 3 Cat 1 Smart Modem User Guide...
16-bit two’s complement format. For example, 0x1A = 26 °C, and 0xF6 = -10 °C. Parameter range 0 - 0xFF which indicates degrees Celsius displayed in 8-bit two's complement format. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Number of samples 1 byte Digital channel mask 2 bytes Analog chanel mask 1 byte Samples 2 bytes each Parameter range Default Sleep commands The following AT commands are sleep commands. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Default 0x7530 (5 minutes) ST (Wake Time) Sets or displays the time to spend awake in cyclic sleep modes. Parameter range 0x1 - 0x36EE80 (x 1 ms) Default 0xEA60 (60 seconds) Digi XBee® 3 Cat 1 Smart Modem User Guide...
Set the required period of silence before and after the command sequence characters of the Command mode sequence (GT + CC + GT). The period of silence prevents inadvertently entering Command mode. Parameter range 0x2 - 0x6D3 (x 1 ms) Digi XBee® 3 Cat 1 Smart Modem User Guide...
Interact with the XBee Smart Modem using MicroPython. PY is a command with sub-commands. These sub-commands are arguments to PY. Note You can use the PY command options to control MicroPython from Digi Remote Manager. Refer to the Digi MicroPython Programming Guide.
Shows detailed version information including the application build date and time. Parameter range Default Set in firmware HV (Hardware Version) Display the hardware version number of the device. Parameter range 0 - 0xFFFF [read-only] Digi XBee® 3 Cat 1 Smart Modem User Guide...
The table below shows the FOTA parameters that can be set and their default values. Note Any of the parameter commands in the table below will return ERROR if the entered parameter is invalid or if a FOTA has already been initiated. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Refer to your Thales documentation for code reference. Parameter range Default Diagnostic interface commands The following AT commands are diagnostic interface commands. DI (Remote Manager Indicator) Displays the current Remote Manager status for the XBee. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Tried to send but could not. 0x02 Invalid parameters (bad IP/host). 0x10 Not registered to the cell network. 0x11 Cellular component not identified yet. 0x12 DNS query lookup failure. 0x13 Socket leak 0x20 Bad handle. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 222
No server - timed out on connection. 0x25 Unknown server - DNS lookup failed. 0x26 Connection refused. 0x27 Connection lost. 0x28 Unknown. 0x2A FIN close by peer. 0x2B RST close by peer. 0x2C Inactivity Timeout. Digi XBee® 3 Cat 1 Smart Modem User Guide...
S, and keys for the fields are MCC, MNC, Area, CID, and Signal. Each line describes a particular cell and only those values determined during a single scan are reported. Example atas S MCC:311 MNC:480 Area:48707 Digi XBee® 3 Cat 1 Smart Modem User Guide...
CAUTION! This command is for advanced users, and you should only use it if the cellular component becomes completely stuck while in Bypass mode. Normal users should never need to run this command. See the FR (Force Reset) command instead. Range Default Digi XBee® 3 Cat 1 Smart Modem User Guide...
Directory names end with a forward slash (/) to differentiate them from files. Secure files end with a hash mark (#) and you cannot download them. <DIR> ./ <DIR> ../ <DIR> cert/ Digi XBee® 3 Cat 1 Smart Modem User Guide...
Report on the size of the filesystem, showing bytes in use, available, marked bad and total. The report ends with a blank line, as with most multi-line AT command output. Example output: Digi XBee® 3 Cat 1 Smart Modem User Guide...
XBee AT Command processing, leading zeroes are not included in the response when in command mode. Parameter range Default BP (Bluetooth Advertisement Power Level) Sets or displays the output power level that will be used for Bluetooth advertisements. Parameter range 0x0 - 0x3 Digi XBee® 3 Cat 1 Smart Modem User Guide...
XBee device does not allow for 0 to be valid salt. If the value is 0, SRP is disabled and you will not be able to authenticate using Bluetooth. Parameter range 0 - FFFFFFFF Default Digi XBee® 3 Cat 1 Smart Modem User Guide...
Sets up a constant TLS connection with SM/UDP still enabled. Default 6 (Bits 1 and 2 are enabled by default.) DF (Remote Manager Status Check Interval) Defines the number of minutes between polls for Remote Manager activity. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Configure Remote Manager keepalive interval. Note Changing this value causes any currently active Remote Manager connections to be closed and recreated. Parameter range 10 - 7200 (x 1 s) Default 0x258 (600 seconds) Digi XBee® 3 Cat 1 Smart Modem User Guide...
Reports the time between attempts to upload metrics. The time is measured in minutes. Metrics which cannot be collected or reported at any particular time are skipped until the next attempt. Parameter range 1 to 0xFFFF Value Description 0x3c One hour. Default 0x3c Digi XBee® 3 Cat 1 Smart Modem User Guide...
The metrics are set to 0 after reset or after the metrics are reported to Remote Manager. This is reported to the "metrics/link_deactivations" Data Stream in Remote Manager for the devices. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Value is 0: The default Remote Manager UDP port is used. Value is non-zero: Specify the UDP port that should be used. The default Remote Manager UDP port is overridden. The default UDP port is 0xCE1. Parameter range 0x0 - 0xFFFF Default Digi XBee® 3 Cat 1 Smart Modem User Guide...
Up to 20 ASCII characters Default One ASCII space character (0x20) KC (Contact Information) Sets or displays user-defined contact information for the XBee displayed in Remote Manager. Range Up to 20 ASCII characters Digi XBee® 3 Cat 1 Smart Modem User Guide...
The list is separated by carriage returns (<CR>) and terminated with an additional carriage return. In both API and command mode the payload/output will have the following format: ID<CR> STATE<CR> PROTOCOL<CR> LOCAL_PORT<CR> REMOTE_PORT<CR> REMOTE_ADDRESS<CR> <CR> Field Description The socket ID. Digi XBee® 3 Cat 1 Smart Modem User Guide...
If no location has been found within that maximum time, the GP command returns an error message: ERROR If a location is found, it returns a comma-delimited string as follows: Time_of_Lock_In_Seconds_From_Y2K,Latitude,Longitude,Altitude,Number_Of_Satellites Parameter range Digi XBee® 3 Cat 1 Smart Modem User Guide...
Sets the voltage threshold in millivolts at which the XBee enters a shutdown state. You must enable this feature by setting the DO command bit 4. See Low voltage shutdown. Parameter range 0xA28 - 0xC80 mV Digi XBee® 3 Cat 1 Smart Modem User Guide...
XBee recovers from a shutdown state by resetting. You must enable this feature by setting the command bit 4. See Low voltage shutdown. Parameter range 0x64 - 0x2BC mV Default 0xC8 mV Digi XBee® 3 Cat 1 Smart Modem User Guide...
Frame data Checksum API operation (AP parameter = 1) This is the recommended API mode for most applications. The following table shows the data frame structure when you enable this mode: Digi XBee® 3 Cat 1 Smart Modem User Guide...
To escape an interfering data byte, insert 0x7D and follow it with the byte to be escaped (XORed with 0x20). The following data bytes need to be escaped: 0x7E: start delimiter 0x7D: escape character Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 242
Frame type is the API frame type identifier. It determines the type of API frame and indicates how the Data field organizes the information. Data contains the data itself. This information and its order depend on the what type of frame that the Frame type field defines. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 244
GNSS Start Raw NMEA, Stop Raw NMEA, or One Shot Request - 0x3D GNSS Start Raw NMEA, Stop Raw NMEA, or One Shot Response - 0xBD GNSS Raw NMEA Response - 0xBE GNSS One Shot Response - 0xBF Digi XBee® 3 Cat 1 Smart Modem User Guide...
The response for this command is also an AT Command Response frame (0x88). Format The following table provides the contents of the frame. For details on frame structure, see API frame format. Digi XBee® 3 Cat 1 Smart Modem User Guide...
A TX Request message causes the device to transmit data in IPv4 format. A TX request frame for a new destination creates a network socket. After the network socket is established, data from the Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 247
Timeout). Ignore this bit for UDP packets. All other bits are reserved and should be 0. Payload Variable Data to be transferred to the destination, may be up to 1500 bytes. Digi XBee® 3 Cat 1 Smart Modem User Guide...
If there is no matching socket, the TX Status frame returns an error. TLS profile Byte Zero-indexed number that indicates the profile as specified by the corresponding $<num> command. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Status 1 = ERROR 2 = Invalid command 3 = Invalid parameter Parameter Byte Register data in binary format. If the register was set, then this value field is not returned. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Invalid TCP port 0x7A Invalid host address 0x7B Invalid data mode Invalid interface. See User Data Relay - 0x2D. 0x7C Interface not accepting frames. See User Data Relay - 0x2D. 0x7D Digi XBee® 3 Cat 1 Smart Modem User Guide...
The BLE Connect and BLE Disconnect events are reported over the UART/SPI interface in API mode when a valid Bluetooth connection has been made and API mode has been unlocked, and also when an unlocked connection disconnects. Digi XBee® 3 Cat 1 Smart Modem User Guide...
The address in the example below is for a source address of address 192.168.0.104. 32-bit big endian. 16-bit destination port MSB 8 The port that the packet was received on. 16-bit big endian. LSB 9 Digi XBee® 3 Cat 1 Smart Modem User Guide...
0x89) sent for errors. A value of 0 disables the TX Status frame. Byte 0 = Serial port (SPI, or UART when in API mode) Destination 1 = BLE interface 2 = MicroPython Data Variable Digi XBee® 3 Cat 1 Smart Modem User Guide...
Field value Data type Description Frame type 0xAD Byte Byte 0 = Serial port (SPI, or UART Source interface when in API mode) 1 = BLE 2 = MicroPython Data Variable Digi XBee® 3 Cat 1 Smart Modem User Guide...
Format The following table provides the contents of the frame. For details on frame structure, see API frame format. Frame data fields Offset Description Frame type 0x2C = Request 0xAC = Response Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 256
Phase 2 (Server presents B and salt) Frame data field Offset in frame Length salt 4 bytes 128 bytes Phase 3 (Client presents M1) Frame data field Offset in frame Length Hash algorithm digest length (32 bytes for SHA256) Digi XBee® 3 Cat 1 Smart Modem User Guide...
When successful, the response arrives in one or more indications. If your stack does not do it for you, remember to acknowledge each indication as it is received. Note that you are Digi XBee® 3 Cat 1 Smart Modem User Guide...
If the status field is non-zero, which indicates an error, the socket ID will be set to 0xFF and the socket will not be opened. Digi XBee® 3 Cat 1 Smart Modem User Guide...
If the Option Data field is zero-length the request acts as a query, and the Socket Option Response frame (0xC1) reports the current effective value. Format The following table provides the contents of the frame. For details on frame structure, see API frame format. Digi XBee® 3 Cat 1 Smart Modem User Guide...
API frame format. Field Field name value Data type Description Frame type 0xC1 Byte Frame ID Byte Identifier provided in request. Socket ID Byte The socket ID for which modification was requested. Digi XBee® 3 Cat 1 Smart Modem User Guide...
A reference identifier used to match status responses. If set to 0, the device does not send a response. Socket ID Byte ID of the socket to connect. Destination port 16-bit big endian Digi XBee® 3 Cat 1 Smart Modem User Guide...
Successfully started the connection process 0x01 Invalid destination address type 0x02 Invalid parameter: address or port 0x03 Connection already in progress 0x04 Already connected 0x05 Unknown error 0x20 Invalid socket ID Digi XBee® 3 Cat 1 Smart Modem User Guide...
Frame ID Byte A reference identifier used to match status responses. Socket ID Byte ID of the socket that has been closed. 0x00 = Success Status Byte 0x20 = Bad socket ID Digi XBee® 3 Cat 1 Smart Modem User Guide...
UDP connection before you attempt a SendTo in order to assign a source port. Format The following table provides the contents of the frame. For details on frame structure, see API frame format. Digi XBee® 3 Cat 1 Smart Modem User Guide...
A reference identifier used to match status responses. If set to 0, the device does not send a response. Socket ID Byte The socket ID to listen on. Source port 16-bit big endian The port to listen on. Digi XBee® 3 Cat 1 Smart Modem User Guide...
The XBee Cellular modem generates this frame when an incoming connection is accepted on a listener socket. This frame contains the original listener's socket ID and a new socket ID of the incoming connection, along with the connection's remote address information. Digi XBee® 3 Cat 1 Smart Modem User Guide...
The XBee cellular modem uses this frame when it receives RF data on the specified socket. This frame is sent only for UDP sockets that have not used a Socket Connect - 0x42 frame to connect, providing addressing information about the source. Digi XBee® 3 Cat 1 Smart Modem User Guide...
The following table provides the contents of the frame. For details on frame structure, see API frame format. Field name Size Description Frame type Socket Status frame type (0xCF) Socket ID Socket ID for status reported Digi XBee® 3 Cat 1 Smart Modem User Guide...
0x05 = Start Raw NMEA 0x06 = Stop Raw NMEA 16-bit big Endian Timeout in seconds. Timeout Only used for One shot. 0 = Return Cached value 1 = 65535 in seconds Digi XBee® 3 Cat 1 Smart Modem User Guide...
Format The following table provides the contents of the frame. For details on frame structure, see API frame format. Field name Field value Data type Description NMEA Variable Raw NMEA string. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Longitude in decimal degrees, multiplied by 10 million. Positive Values are East of the Prime Meridian, Negative values are West Endian of the Prime Meridian. Altitude 32-bit Altitude in millimeters. Endian Satellites Byte Total number of satellites in use. Digi XBee® 3 Cat 1 Smart Modem User Guide...
0xFF minus the 8-bit sum of bytes from offset 3 to this byte (between length and checksum). File System Commands Value Command File Open 0x01 File Close 0x02 File Read 0x03 File Write 0x04 File Hash 0x08 Digi XBee® 3 Cat 1 Smart Modem User Guide...
This is useful for protecting MicroPython source code on the device. The SECURE bit is only valid when also setting the WRITE bit and either creating a new file (CREATE + EXCLUSIVE) or replacing an existing file (TRUNCATE). Digi XBee® 3 Cat 1 Smart Modem User Guide...
Close an open file and release its File Handle. Request Offset Size Frame Field Description File System Command 8-bit File Close - 0x02 File Handle Value returned from File Open - 0x01 response. 16-bit Digi XBee® 3 Cat 1 Smart Modem User Guide...
Size Frame Field Description File System Command 8-bit File Hash - 0x08 Path ID Get Path ID - 0x1C for a description. 16-bit File Name Pathname relative to Path ID. variable Digi XBee® 3 Cat 1 Smart Modem User Guide...
Success - 0x00 8-bit 16-bit File Handle Value sent in request. 32-bit Current Offset Current offset of file after writing Data from Request. Directory Create - 0x10 Description Create a directory. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Request. An empty directory returns a single entry with only the ENTRY_IS_LAST flag set, and a 0-byte Entry Name. A response ending with an ENTRY_IS_LAST flag automatically closes the Directory Handle. Digi XBee® 3 Cat 1 Smart Modem User Guide...
The host can send this frame to indicate that it is done reading the directory and no longer needs the Directory Handle. Note that the Directory Handle is automatically closed and no longer valid after receiving a Response with the ENTRY_IS_LAST flag set. Digi XBee® 3 Cat 1 Smart Modem User Guide...
The full, absolute path of the Path ID is included in the Response only if can fit. Any code used to process the response needs to take that into account and handle an empty Full Pathname field. Digi XBee® 3 Cat 1 Smart Modem User Guide...
16-bit Path Name Pathname of file or empty directory to delete. variable Volume Info - 0x40 Description Get volume information: used space, available space, and unusable bytes on volume. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Frame ID. The contents of the variable-length Response Data field appear in the documentation for each File System Command. Format The following table provides the contents of the frame. For details on frame structure, see API frame format. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 283
0x51 File/Directory already exists 0x52 File/Directory does not exist 0x53 Invalid name 0x54 File operation on directory 0x55 Cannot delete non-empty directory 0x56 Attempt to read past EOF (end of file) Digi XBee® 3 Cat 1 Smart Modem User Guide...
Page 284
Hardware failure 0x58 Volume offline/format required 0x59 Volume full 0x5A Operation timed out 0x5B Busy (wait for prior command to complete then try again) 0x5C Resource failure (memory allocation failed, try again) Digi XBee® 3 Cat 1 Smart Modem User Guide...
Install the regulatory firmware You can install the regulatory firmware from either XCTU or Remote Manager. Install regulatory firmware using XCTU You can install the regulatory firmware on your XBee using XCTU. Digi XBee® 3 Cat 1 Smart Modem User Guide...
Digi XBee 3 Cellular LTE CAT 1 support page. b. Scroll down to the Firmware Updates section. c. Locate and click Digi XBee 3 Cellular LTE CAT 1 Regulatory firmware to download the zip file. d. Unzip the file. Log into Remote Manager.
The protocol has also been extended with the two commands shown in the table below to allow changing the transmit power and to override the packet type to use an unmodulated carrier. Digi XBee® 3 Cat 1 Smart Modem User Guide...
3. Start test mode. See %1 (Start test mode). 4. Perform regulatory tests, using the regulatory commands. 5. Stop test mode. See %2 (Stop test mode) 6. Disable test mode. See %# (Enable/disable test mode). Digi XBee® 3 Cat 1 Smart Modem User Guide...
%1 (Start test mode) Use this command to start test mode. You must perform this command at least once before you perform any other regulatory command. Examples Start test mode: AT%1 Digi XBee® 3 Cat 1 Smart Modem User Guide...
25 channels in each LTE band. Parameter range 0 - 65535 This is specified in decimal to conform to standard representations found in specifications without need for translation. Default Examples Set EARFCN to 5110: Digi XBee® 3 Cat 1 Smart Modem User Guide...
Set transmit power to 0 dBm: AT%9000 Set transmit power to -1 dBm: AT%9FF0 %A (Get transmit power) Use this command to get the transmit power value set using AT%9. Parameter range Example Get transmit power: Digi XBee® 3 Cat 1 Smart Modem User Guide...
Parameter range for North America Cat 1 Value Description UARFCN (3G/UMTS) excluding band 19 UARFCN (3G/UMTS) band 19 EARFCN (4G/LTE) %I (Get channel mapping) Use this command to get the channel mapping. Examples Get channel mapping: AT%I Digi XBee® 3 Cat 1 Smart Modem User Guide...
Inactive (Test mode not yet started.) Transition (Attempting to activate test mode.) Off (Test mode started, but no active test.) Receive mode Transmit mode An error occurred Example Query test state: AT%? Digi XBee® 3 Cat 1 Smart Modem User Guide...
1. Click the Discover radio modules button 2. Select all of the ports to be scanned. 3. Click Next and then Finish. A dialog notifies you of the devices discovered and their details. Digi XBee® 3 Cat 1 Smart Modem User Guide...
4. If you have a driver installed and updated but still have issues, on Windows 10 you may have to enable VCP on the driver; see Enable Virtual COM port (VCP) on the driver. Digi XBee® 3 Cat 1 Smart Modem User Guide...
5. Right-click the USB controller and select Properties; a dialog displays. 6. Select the Advanced tab. 7. Check Load VCP. 8. Click OK. 9. Unplug the board and plug it back in. Digi XBee® 3 Cat 1 Smart Modem User Guide...
1. Click More info to open a browser window. 2. Click Download to get the file javaforosx.dmg. 3. Double-click on the downloaded javaforosx.dmg. 4. In the dialog, double-click the JavaForOSX.pkg and follow the instructions to install Java. Digi XBee® 3 Cat 1 Smart Modem User Guide...
XBee Smart Modem software. If AI is 0x2F, Bypass mode should work. If not, look at the status codes in AI (Association Indication) for guidance. 2. You can send the !R (Modem Reset) command to reset only the cellular component. Digi XBee® 3 Cat 1 Smart Modem User Guide...
AT+IPR setting you will need to match it with the IB setting to maintain communication. Note Digi does not recommend using bypass mode. You should use USB Direct mode instead. Digi XBee® 3 Cat 1 Smart Modem User Guide...
If the antenna is mounted at least 21 cm from nearby persons, the application is considered a mobile application. The antennas below have been approved for use with this module. Digi does not carry all of these antenna variants. Contact Digi Sales for available antennas.
Page 301
6.10 dBi LTE Band 7 5.00 dBi 8.01 dBi LTE Band 8 5.00 dBi LTE Band 12 5.00 dBi 8.70 dBi 5.61 dBi LTE Band 13 5.00 dBi 9.16 dBi 5.93 dBi LTE Band 14 9.23 dBi Digi XBee® 3 Cat 1 Smart Modem User Guide...
FCC grant which includes significant extra testing and cost. If an embedded trace or chip antenna is desired contact a Digi sales representative for information on how to engage with a lab to get the modified FCC grant.
En l'absence d'étiquette, l'appareil hôte doit porter une étiquette donnant le FCC ID et le IC du module, précédé des mots « Contient un module d'émission », du mot « Contient » ou d'une formulation similaire exprimant le même sens, comme suit: Digi XBee® 3 Cat 1 Smart Modem User Guide...
Regulatory Information: ISED. Modification statement Digi International has not approved any changes or modifications to this device by the user. Any changes or modifications could void the user’s authority to operate the equipment. Interference statement This device complies with Part 15 of the FCC Rules and ISED (Innovation, Science, and Economic Development Canada) license-exempt RSS standard(s).
The following regulatory information is for Innovation, Science and Economic Development Canada (ISED). Modification statement: ISED Digi International n’approuve aucune modification apportée à l’appareil par l’utilisateur, quelle qu’en soit la nature. Tout changement ou modification peuvent annuler le droit d’utilisation de l’appareil par l’utilisateur.
Antenne(s) utilisé pour cet émetteur doit être installé pour fournir une distance de séparation d'au moins 21 cm à partir de toutes les personnes et ne doit pas être situé ou fonctionner en conjonction avec tout autre antenne ou émetteur. Digi XBee® 3 Cat 1 Smart Modem User Guide...