Function esp_idf_sys::esp_ble_hci_trans_buf_alloc
source · pub unsafe extern "C" fn esp_ble_hci_trans_buf_alloc(
type_: c_int,
) -> *mut u8
Expand description
Allocates a flat buffer of the specified type.
@param type The type of buffer to allocate; one of the BLE_HCI_TRANS_BUF_[…] constants.
@return The allocated buffer on success; NULL on buffer exhaustion.