5.6.9 Command Complete Event

Format:

EventEvent CodeEvent Parameters
Command_Complete 0X0E

Num_HCI_Command_Packets

Command_Opcode

Return_Parameters

Use this event to transmit the return status of a command and the other event parameters that are specified for the issued HCI command. The Num_HCI_Command_Packets event parameter allows the controller to indicate the number of HCI command packets the host can send to the controller. The event parameters are shown in the following figure.

Figure 5-10. Event Parameters

Num_HCI_Command_Packets: Size: 1 octet

ValueParameter Description
0xXX

The Number of HCI Command packets which are allowed to be sent to the Controller from the Host.

Range: 0 to 255

Command_Opcode: Size: 2 octets

ValueParameter Description
0x0000

No associated command

0xXXXX(non-zero) Opcode of the command that caused this event

Return_Parameter(s): Size: Depends on command

ValueParameter Description
0xXX

This is the return parameter(s) for the command specified in the Command_Opcode event parameter. See each command’s definition for the list of return parameters associated with that command.

Example:04 0E 04 01 7B 20 00

// Command complete event with status parameter