OTA firmware upgrade process for 802.15.4 OTA error handling
Digi XBee3® 802.15.4 RF Module User Guide
183
OTA error handling
ZCL OTA status code Value Description
SUCCESS 0x00 Successful operation
ABORT 0x95 Failed when client or server decides to abort the upgrade process
NOT_AUTHORIZED 0x7E Server is not authorized to upgrade the client
INVALID_IMAGE 0x96 Invalid OTA upgrade image. For example, the image failed
signature validation or CRC.
WAIT_FOR_DATA 0x97 Server does not have data block available yet
NO_IMAGE_AVAILABLE 0x98 No OTA upgrade image available for a particular client
MALFORMED_
COMMAND
0x80 The command received is badly formatted or has incorrect
parameters
UNSUP_CLUSTER_
COMMAND
0x81 Such command is not supported on the device
REQUIRE_MORE_
IMAGE
0x99 The client still requires more OTA upgrade image files in order to
successfully upgrade
Default response commands
The OTA framework has a command ID 0xB reserved for error messages that are sent by the target
device. Default response commands are transmitted by the target device by wrapping the ZCL
payload in a Explicit Addressing Command frame - 0x11. The table below shows the ZCL Payload
contents.
Note This is an example for a default response that has been received by an OTA source device. You
can see that it is an Explicit Rx Indicator frame - 0x91.
Start Delimiter 8 7E
Length 16 00 17
Frame Type 8 91
Source Address 64 FF FF FF FF FF FF FF FF
Source Address 16 FF FF
Source Endpoint 8 E8
Destination Endpoint 8 E8
Cluster ID 16 00 19
Profile ID 16 C1 05