Closed csstudent321 closed 2 years ago
Hi @csstudent321 ,
We could update a remote node using your code above without problems.
The instruction print(remote_xbee.get_firmware_version())
prints None
since the remote is not initialized. See below.
Before running, ensure the remote node:
# python test_216.py
XBeeProtocol.ZIGBEE
None
Starting firmware update process...
Preparing for update %0
Preparing for update %33
Preparing for update %66
Preparing for update %100
Updating remote XBee firmware %0
Updating remote XBee firmware %1
Updating remote XBee firmware %2
Updating remote XBee firmware %3
Updating remote XBee firmware %4
Updating remote XBee firmware %5
[...]
Updating remote XBee firmware %95
Updating remote XBee firmware %96
Updating remote XBee firmware %97
Updating remote XBee firmware %98
Updating remote XBee firmware %99
Updating remote XBee firmware %100
Restoring after update %0
Restoring after update %50
Restoring after update %100
Firmware updated successfully!
#
Best Regards
When i tried firmware update to RemoteXBeeDevice throws could not read device hardware version.
and i cannot get a response from returns none remote_xbee.get_firmware_version() remote_xbee.get_hardware_version()
my code looks like:
my output is :