![]() |
nrfxlib API 3.3.99
|
Command Complete. More...
#include <sdc_hci_evt.h>
Data Fields | |
| uint8_t | num_hci_command_packets |
| uint16_t | command_opcode |
| uint8_t | status |
Command Complete.
The description below is extracted from Core_v6.3, Vol 4, Part E, Section 7.7.14
This event is used by the Controller for most commands to transmit return status of a command and the other event parameters that are specified for the issued HCI command.
The Num_HCI_Command_Packets parameter allows the Controller to indicate the number of HCI command packets the Host can send to the Controller. If the Controller requires the Host to stop sending commands, Num_HCI_Command_Packets will be set to zero. To indicate to the Host that the Controller is ready to receive HCI command packets, the Controller generates an HCI_Command_Complete event with the Command_Opcode parameter set to 0x0000 and Num_HCI_Command_Packets set to 1 or more. Command_Opcode 0x0000 is a special value indicating that this event is not associated with a command sent by the Host. The Controller can send an HCI_Command_Complete event with Command Opcode 0x0000 at any time to change the number of outstanding HCI command packets that the Host can send before waiting. See each command for the parameters that are returned by this event.