nrf-softdevice-s132

Crates

git

Versions

default

Flavors

pub unsafe fn sd_ble_gap_addr_get(p_addr: *mut ble_gap_addr_t) -> u32
Expand description

@brief Get local Bluetooth identity address.

@note This will always return the identity address irrespective of the privacy settings, i.e. the address type will always be either @ref BLE_GAP_ADDR_TYPE_PUBLIC or @ref BLE_GAP_ADDR_TYPE_RANDOM_STATIC.

@param[out] p_addr Pointer to address structure to be filled in.

@retval ::NRF_SUCCESS Address successfully retrieved. @retval ::NRF_ERROR_INVALID_ADDR Invalid or NULL pointer supplied.