Document

TS006-1.0.0 Firmware Management Protocol

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

Contents of this Issue

Navigation

Page 10 of 13

LoRaWAN ® Firmware Management Protocol Specification TS006-1.0.0 ©2022 LoRa Alliance ® Page 11 of 14 The authors reserve the right to change specifications without notice. The UpImageStatus field encodes the status of the firmware upgrade image according to 316 the following table: 317 318 Value UpImageStatus 0 No firmware upgrade image currently present. 1 A firmware upgrade image is present but is either corrupted or its cryptographic signature is wrong. 2 An authenticated firmware upgrade image is present but does not correspond to the end-device's hardware platform. 3 A valid firmware upgrade image is present and can be installed. Table 10 : UpImageStatus field encoding 319 The nextFirmwareVersion field SHALL be present only when UpImageStatus = 3. 320 In that case it encodes the firmware version that will be running once this firmware upgrade 321 image is installed. 322 323 Installation of the firmware upgrade image SHALL be performed when the end-device 324 reboots. 325 326 After a successful reboot with a new firmware version, the firmware upgrade image SHALL 327 be deleted from the end-device and SHALL no longer be reported. 328 Note 1: Any valid or invalid firmware upgrade image 329 (UpImageStatus 1, 2 or 3) is expected to be overwritten the next 330 time a firmware upgrade image download takes place. 331 Note 2: Download and storage of the firmware upgrade image at the 332 end-device is out of scope of the current specification. 333 3.6 Device Delete Image Commands (DevDeleteImageReq, 334 DevDeleteImageAns) 335 336 The DevDeleteImageReq command is used to delete a firmware upgrade image currently 337 stored in an end-device. The command payload is: 338 339 Size (octets) 4 Field FirmwareToDeleteVersion Table 11: DevDeleteImageReq 340 The end-device SHALL answer with a DevDeleteImageAns message with the following 341 payload: 342 Size (octets) 1 Field Status Table 12: DevDeleteImageAns 343 Where: 344 Bits 7:2 1 0 Status Fields RFU ErrorInvalidVersion ErrorNoValidImage Table 13: DevDeleteImageAns Status fields 345

Articles in this issue

view archives of Document - TS006-1.0.0 Firmware Management Protocol