Over-the-air firmware/filesystem upgrade process for 802.15.4
Image Block response
Digi XBee® 3 802.15.4 RF Module User Guide
246
Frame data fields
Offset Example Comments
Data
payload
ZCL
frame
header
Frame
control
21
0x01
Transaction
sequence
number
22
0x01
ZCL
payload
Command ID
23
0x03
Image Block Request
Field control
24
0x00
Manufacturer
ID
LSB
25
0x1E
MSB
26
0x10
Image type
LSB
27
0x00
0x0000 - OTA/OTB file
0x0100 - OTA file system image
MSB
28
0x00
Firmware
version
LSB
29
0x01
30
0x10
31
0x00
MSB
32
0x00
File Offset
LSB
33
0x00
0x0 for the first request.
Offset by multiples of Image Block size. For
example, 0x00000000 for the first request,
0x00000040, 0x00000080 and so on.
34
0x00
35
0x00
LSB
36
0x00
Image Block
Size
37
0x40
Checksum
38
0x2D
Image Block response
The server generates an Image Block response upon receiving an Image Block request command. It
responds with a SUCCESS status on being able to retrieve the data for the client. The server uses the
file offset sent by the client to determine the location of the requested data within the OTA upgrade
image.
If you wish to cancel the update process, send an ABORT (0x95) status.