nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ sdc_hci_cmd_le_set_periodic_adv_receive_enable()

uint8_t sdc_hci_cmd_le_set_periodic_adv_receive_enable ( const sdc_hci_cmd_le_set_periodic_adv_receive_enable_t * p_params)

#include <softdevice_controller/include/sdc_hci_cmd_le.h>

LE Set Periodic Advertising Receive Enable.

The description below is extracted from Core_v6.3, Vol 4, Part E, Section 7.8.88

This command will enable or disable reports for the periodic advertising train identified by the Sync_Handle parameter.

The Enable parameter determines whether reporting and duplicate filtering are enabled or disabled. If the value is the same as the current state, the command has no effect.

Errors:

See Section 4.5.2 for a list of error types and descriptions.

Type   Condition                                                        Error code
MC     Sync_Handle does not identify an existing periodic advertising   Unknown Advertising
       train.                                                           Identifier (0x42)
M      Enable bits 0 and 1 are both set to 1 and the Controller does    Unsupported Feature or
       not support the Periodic Advertising ADI Support feature.        Parameter Value (0x11)

Event(s) generated (unless masked away):

When the HCI_LE_Set_Periodic_Advertising_Receive_Enable 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.