I am trying to update the xbee S2C with the xbee python library.
However when i do so I am facing the following issue :
ERROR: XBee does not support firmware update process
Traceback (most recent call last):
File “update.py”, line 31, in main
File “A:\Inti-Tech\Dev\Code\inti-xbee-install\digi\xbee\devices.py”, line 1586, in update_firmware
File “A:\Inti-Tech\Dev\Code\inti-xbee-install\digi\xbee\firmware.py”, line 5465, in update_local_firmware
digi.xbee.exception.FirmwareUpdateException: XBee does not support firmware update process
For the code I am using, I am using this code :
I just copy in the same folder xb24c-dm-smt_9002.ehx2, xb24c-dm-smt_9002.xml, xb24c-dm-smt_9002.ebl and pass it in the file :
XML_FIRMWARE_FILE = “xb24c-dm-th_9002.xml”
XBEE_FIRMWARE_FILE = “xb24c-dm-th_9002.ehx2”
BOOTLOADER_FIRMWARE_FILE = “xb24c-dm-th_9002.ebl”
SO I am wondering what i am doing wrong, or need to be change to make it work since XCTU is able to do this update but not the python code.
Thanks in advance