5.6.9 Command Complete Event
Format:
Event | Event Code | Event 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.
Num_HCI_Command_Packets: Size: 1 octet
Value | Parameter 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
Value | Parameter Description |
---|---|
0x0000 | No associated command |
0xXXXX | (non-zero) Opcode of the command that caused this event |
Return_Parameter(s): Size: Depends on command
Value | Parameter 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 |