Function esp_idf_sys::ble_hs_id_gen_rnd
source ยท pub unsafe extern "C" fn ble_hs_id_gen_rnd(
nrpa: c_int,
out_addr: *mut ble_addr_t,
) -> c_int
Expand description
Generates a new random address. This function does not configure the device with the new address; the caller can use the address in subsequent operations.
@param nrpa The type of random address to generate: 0: static 1: non-resolvable private @param out_addr On success, the generated address gets written here.
@return 0 on success; nonzero on failure.