ble_hs_id_set_pseudo_rnd() function
Sets the device's pseudo RPA address when 'Host based privacy' is in use. The address type (RPA) is inferred from the most-significant bits. The address is specified in host byte order (little-endian!).
Syntax
int ble_hs_id_set_pseudo_rnd(const uint8_t *); Return value
0 on success; BLE_HS_EINVAL if the specified address is not a resolvable private address. Other nonzero on error.