S115 SoftDevice for nRF54L15/nRF54L10/nRF54L05 API documentation 10.0.0
Loading...
Searching...
No Matches

◆ sd_ble_gap_adv_stop()

uint32_t sd_ble_gap_adv_stop ( uint8_t adv_handle)

#include <ble_gap.h>

Stop advertising (GAP Discoverable, Connectable modes, Broadcast Procedure).

Relevant Message Sequence Charts
Advertising
Parameters
[in]adv_handleThe advertising handle that should stop advertising.
Return values
NRF_SUCCESSThe BLE stack has stopped advertising.
BLE_ERROR_INVALID_ADV_HANDLEInvalid advertising handle.
NRF_ERROR_INVALID_STATEThe advertising handle is not advertising.