digidotcom / xbee-python

Python library to interact with Digi International's XBee radio frequency modules.
Mozilla Public License 2.0
185 stars 93 forks source link

firmware: ota: set 'upgrade time' with the same value as 'current time' #141

Closed tatianaleon closed 4 years ago

tatianaleon commented 4 years ago

This commit configures the 'current time' and 'upgrade time' fields of the 'Upgrade End Response' explicit packet with the same value for an immediate update after transferring the OTA file.

Starting from Zigbee 100A firmware versions (I guess next versions of DigiMesh and 802.15.4 too), the OTA firmware update process supports scheduled updates. This means the 'Upgrade End Response' explicit packet must set the 'upgrade time' to:

https://jira.digi.com/browse/XBPL-350