ble_hs_hci_util_rand() function
Reads random data into buffer from controller. This allows to use BLE controller as a source of true random data.
Syntax
int ble_hs_hci_util_rand(void *dst,
int len);
Arguments
len
Destination buffer length.
Return value
0 on success; A BLE host HCI return code if the controller rejected the request; A BLE host core return code on unexpected error.
ble_hs_hci_util_rand() is called by 11 functions and calls 1 function:
![]()
ble_hs_hci_util_rand()
ble_hs_hci_util_rand():
![]()
ble_hs_hci_util_rand()