1.1.2.1.1.4.2 BLE_GAP_ClearExtAdvSet
C
uint16_t BLE_GAP_ClearExtAdvSet(void);
Description
Remove all existing advertising sets.
Note
This API belongs to extended advertising feature. It will be disallowed if any one API that belongs to legacy advertising feature is issued before. Categories of advertising APIs and events for details of advertising APIs.
BLE_GAP_AdvInit and BLE_GAP_ExtAdvInit are required for this API.
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully remove all advertising sets. |
MBA_RES_OOM | Internal memory allocation failure. |
MBA_RES_COMMAND_DISALLOWED | Command disallowed. |