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 | Size | Value | Parameter Description |
|---|---|---|---|
Total_Image_Size | 4 octets | N = 0xXXXX | Total image size information conveys from the OTAU header |
Image_Encryption Status | 1 octet | 0x00 | Image is unencrypted |
| 0x01 | Image is encrypted | ||
| All other values | Reserved for future use | ||
Image_ID | 4 octets | N = 0xXXXX | Image ID is conveyed from OTAU header |
CRC16: (Option) | 2 octets | N = 0xXXXX | CRC16 is conveyed from OTAU header. The parameter is an optional parameter for V2 OTAU harder |
| Command | Size | Value | Parameter Description |
|---|---|---|---|
Status | 1 octet | 0x00 |
|
| 0x01 to 0xFF |
| ||
Max_fragmented_image_size | 1 octet | 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.
