Function esp_idf_sys::esp_ble_gap_set_rand_addr
source ยท pub unsafe extern "C" fn esp_ble_gap_set_rand_addr(
rand_addr: *mut u8,
) -> esp_err_t
Expand description
@brief This function allows configuring either a Non-Resolvable Private Address or a Static Random Address
@param[in] rand_addr: The address to be configured. Refer to the table below for possible address subtypes:
| address [47:46] | Address Type |
|-----------------|--------------------------|
| 0b00 | Non-Resolvable Private |
| | Address |
|-----------------|--------------------------|
| 0b11 | Static Random Address |
|-----------------|--------------------------|
@return - ESP_OK : success - other : failed