pub unsafe extern "C" fn ble_hs_id_set_rnd(
    rnd_addr: *const u8
) -> c_int
Expand description

Sets the device’s random address. The address type (static vs. non-resolvable private) is inferred from the most-significant byte of the address. The address is specified in host byte order (little-endian!).

@param rnd_addr The random address to set.

@return 0 on success; BLE_HS_EINVAL if the specified address is not a valid static random or non-resolvable private address. Other nonzero on error.