Function esp_idf_svc::hal::sys::esp_ble_gap_set_rand_addr

source ยท
pub unsafe extern "C" fn esp_ble_gap_set_rand_addr(
    rand_addr: *mut u8,
) -> i32
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