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

◆ sdc_hci_cmd_cb_set_event_mask_page_2()

uint8_t sdc_hci_cmd_cb_set_event_mask_page_2 ( const sdc_hci_cmd_cb_set_event_mask_page_2_t p_params)

#include <softdevice_controller/include/sdc_hci_cmd_controller_baseband.h>

Set Event Mask Page 2.

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

The HCI_Set_Event_Mask_Page_2 command is used to control which events are generated by the HCI for the Host. The Event_Mask_Page_2 is a logical extension to the Event_Mask parameter of the HCI_Set_Event_Mask command. If the bit in the Event_Mask_Page_2 is set to a one, then the event associated with that bit shall be enabled. 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_Page_2 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.