Document

TS006-1.0.0 Firmware Management Protocol

Issue link: https://read.uberflip.com/i/1464685

Contents of this Issue

Navigation

Page 9 of 13

LoRaWAN ® Firmware Management Protocol Specification TS006-1.0.0 ©2022 LoRa Alliance ® Page 10 of 14 The authors reserve the right to change specifications without notice. 2. If the end-device is not capable of measuring time duration in seconds, the 278 end-device SHALL report an error using the DevRebootCountdownAns 279 command with a value for Countdown of 0x000000. 280 • If the Countdown field has a value of 0xFFFFFF, the end-device SHALL cancel a 281 currently programmed reboot and SHALL acknowledge using the 282 DevRebootCountdownAns command with a value for Countdown of 0xFFFFFF. 283 • If a valid reboot time is set and a valid firmware upgrade image is present at the end- 284 device, that image SHALL be installed at reboot. 285 286 If the end-device reboots following a DevRebootCountdownReq command with a value of 287 0x000000, it SHALL NOT answer with a DevRebootCountdownAns command. 288 289 In all other cases, the end-device SHALL send a DevRebootCountdownAns command 290 back with the following payload: 291 292 Size (octets) 3 Field Countdown Table 7: DevRebootTimeAns 293 The Countdown field of the answer encodes the number of seconds between sending the 294 DevRebootCountdownAns message until reboot. 295 296 The DevRebootCountdownAns command can also indicate an error or acknowledge a 297 reboot cancellation: 298 • A value of 0x000000 of the Countdown field in the DevRebootCountdownAns 299 message indicates the inability of the end-device to reboot at the requested time. 300 • A value of 0xFFFFFF of the Countdown field in the DevRebootCountdownAns 301 message acknowledges the cancellation of a currently programmed reboot. 302 3.5 Device Upgrade Image Commands (DevUpgradeImageReq, 303 DevUpgradeImageAns) 304 305 The DevUpgradeImageReq command is used to ask an end-device if a firmware upgrade 306 image is present in its memory, as well as asking about the validity of that firmware upgrade 307 image and its version. The command has no payload. 308 309 The end-device SHALL answer with a DevUpgradeImageAns message with the following 310 payload: 311 312 Size (octets) 1 4 Field Status nextFirmwareVersion (conditional) Table 8: DevUpgradeImageAns 313 Where: 314 Bits 7:2 1:0 Status Fields RFU UpImageStatus Table 9: DevUpgradeImageAns Status fields 315

Articles in this issue

view archives of Document - TS006-1.0.0 Firmware Management Protocol