nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ sdc_hci_cmd_cb_set_event_mask()

uint8_t sdc_hci_cmd_cb_set_event_mask ( const sdc_hci_cmd_cb_set_event_mask_t p_params)

#include <softdevice_controller/include/sdc_hci_cmd_controller_baseband.h>

Set Event Mask.

The description below is extracted from Core_v5.4, Vol 4, Part E, Section 7.3.1

The HCI_Set_Event_Mask command is used to control which events are generated by the HCI for the Host. If the bit in the Event_Mask is set to a one, then the event associated with that bit will be enabled. For an LE Controller, the “LE Meta event” bit in the event_Mask shall enable or disable all LE events in the LE Meta event (see Section 7.7.65). The event mask allows the Host to control how much it is interrupted.

The Controller shall ignore those bits which are reserved for future use or represent events which it does not support. If the Host sets any of these bits to 1, the Controller shall act as if they were set to 0.

Event(s) generated (unless masked away): When the HCI_Set_Event_Mask command has completed, an HCI_Command_Complete event shall be generated.

Parameters
[in]p_paramsInput parameters.
Return values
0if success.
Returns
Returns value between 0x01-0xFF in case of error. See Vol 2, Part D, Error for a list of error codes and descriptions.