Function esp_idf_sys::ble_hs_hci_util_rand
source ยท pub unsafe extern "C" fn ble_hs_hci_util_rand(
dst: *mut c_void,
len: c_int,
) -> c_int
Expand description
Reads random data into buffer from controller. This allows to use BLE controller as a source of true random data.
@param dst Destination buffer. @param len Destination buffer length.
@return 0 on success; A BLE host HCI return code if the controller rejected the request; A BLE host core return code on unexpected error.