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

◆ sdc_hci_cmd_le_remove_adv_set()

uint8_t sdc_hci_cmd_le_remove_adv_set ( const sdc_hci_cmd_le_remove_adv_set_t * p_params)

#include <softdevice_controller/include/sdc_hci_cmd_le.h>

LE Remove Advertising Set.

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

This command is used to remove an advertising set from the Controller.

Errors:

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

Type   Condition                                                  Error code
MC     Advertising_Handle does not identify an existing           Unknown Advertising
       advertising set.                                           Identifier (0x42)
MC     Advertising or periodic advertising is enabled on the      Command Disallowed (0x0C)
       advertising set.

Event(s) generated (unless masked away):

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