Update the firmware Update the device firmware
Digi XBee® 3 Cellular LTE Cat 1 AT&T Smart Modem User Guide
90
# Location of firmware image on Remote Manager
firmware_path = '~/XBXC.gbl'
# 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
data = """
<sci_request version="1.0">
<update_firmware filename="firmware.gbl">
<targets>
<device id="{}"/>
</targets>
<file>{}</file>
</update_firmware>
</sci_request>
""".format(device_id, firmware_path)
# Post request
r = requests.post(url, auth=(username, password), data=data)
if (r.status_code != 200) or ("error" in r.content.decode('utf-8')):
print("firmware update failed")
else:
print("firmware update success")
Use a host processor to update the modem firmware for XBee 3
devices over UART prior to *10
This process explains how to update the modem firmware for XBee 3 Cellular devices with a modem
firmware version prior to *10 (11410 and 31010).
Update the modem firmware
1. Make sure you have the correct version of the modem firmware for your XBee device.
2. Enter programming (bootloader) mode. Use one of the following methods: ATcommands or
hardware signaling.
n ATcommands
a. Send the %P command. The %P command must be sent an argument derived from
the SL parameter of the module being updated. The argument is the value of SL
added to the value 0xDB8A and then masked by performing a bitwise-AND with
0x3FFF.
i. Run ATSL to get the address value, which is in hex.
ATSL
123456