6.1.3 HCI VND DFU Request

CommandOCF

Sub-op

code

Command

Parameters

Return

Parameters

HCI_VND_DFU_Request0x00000x02

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

ValueParameter Description
N = 0xXXXXTotal image size information conveys from the OTAU header

Image_Encryption Status: Size: 1 octet

ValueParameter Description
0x00Image is unencrypted
0x01Image is encrypted
All other valuesReserved for future used

Image_ID: Size: 4 octets

ValueParameter Description
N = 0xXXXXImage ID is conveyed from OTAU header

CRC16: (Option) Size: 2 octets

ValueParameter Description
N = 0xXXXXCRC16 is conveyed from OTAU header. The parameter is an optional parameter for V2 OTAU harder.

Return parameters:

Status: Size: 1 octet

ValueParameter Description
0x00HCI_DFU_Request command succeeded
0x01 to 0xFFHCI_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

ValueParameter 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.