![]() |
S115 SoftDevice for nRF54L15/nRF54L10/nRF54L05 API documentation 10.0.0
|
| uint32_t sd_ble_gap_adv_addr_get | ( | uint8_t | adv_handle, |
| ble_gap_addr_t * | p_addr ) |
#include <ble_gap.h>
Get the Bluetooth device address used by the advertiser.
| [in] | adv_handle | The advertising handle to get the address from. |
| [out] | p_addr | Pointer to address structure to be filled in. |
| NRF_SUCCESS | Address successfully retrieved. |
| NRF_ERROR_INVALID_ADDR | Invalid or NULL pointer supplied. |
| BLE_ERROR_INVALID_ADV_HANDLE | The provided advertising handle was not found. |
| NRF_ERROR_INVALID_STATE | The advertising set is currently not advertising. |