nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ ble_adv_stop()

uint32_t ble_adv_stop ( struct ble_adv * ble_adv)

#include <ble_adv.h>

Stop advertising.

Parameters
[in]ble_advBluetooth LE advertising instance.
Return values
NRF_SUCCESSOn success.
NRF_ERROR_INVALID_STATELibrary is not initialized or not advertising.
NRF_ERROR_NULLble_adv is NULL.
Returns
Any error from sd_ble_gap_adv_stop on failure.