Function esp_idf_sys::esp_ble_hci_trans_hs_cmd_tx

source ·
pub unsafe extern "C" fn esp_ble_hci_trans_hs_cmd_tx(
    cmd: *mut u8,
) -> c_int
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.