6.1.3 HCI VND DFU Request
Command | OCF | Sub-op code | Command Parameters | Return Parameters |
---|---|---|---|---|
HCI_VND_DFU_Request | 0x0000 | 0x02 | Total_Image_Size, Image_Encryption_Status, Image_ID CRC16 (optional) | Status, Max_fragmented_image_size |
Description:
MCU requests update for specific FW image.
Command parameters:
Total_Image_Size: Size: 4 octets
Value | Parameter Description |
---|---|
N = 0xXXXX | Total image size information conveys from the OTAU header |
Image_Encryption Status: Size: 1 octet
Value | Parameter Description |
---|---|
0x00 | Image is unencrypted |
0x01 | Image is encrypted |
All other values | Reserved for future used |
Image_ID: Size: 4 octets
Value | Parameter Description |
---|---|
N = 0xXXXX | Image ID is conveyed from OTAU header |
CRC16: (Option) Size: 2 octets
Value | Parameter Description |
---|---|
N = 0xXXXX | CRC16 is conveyed from OTAU header. The parameter is an optional parameter for V2 OTAU harder. |
Return parameters:
Status: Size: 1 octet
Value | Parameter Description |
---|---|
0x00 | HCI_DFU_Request command succeeded |
0x01 to 0xFF | HCI_DFU_Request command failed. See [Vol 1] Part F, Controller Error Codes for a list of error codes and descriptions. |
Max_fragmented_image_size: Size: 1 octet
Value | Parameter Description |
---|---|
0xXX | Maximum length of image fragmented size It must be at most of HCI command max length - 1 (sub-opcode), in other words, the maximum value is 0xFE |
Event(s) generated (unless masked away):
When the HCI_VND_DFU_Request command completes, an HCI_Command_Complete event can be generated.