Function esp_idf_sys::ble_hci_trans_hs_cmd_tx
source · pub unsafe extern "C" fn ble_hci_trans_hs_cmd_tx(
cmd: *mut u8,
) -> c_int
Expand description
Sends an HCI command from the host to the controller.
@param cmd The HCI command to send. This buffer must be allocated via ble_hci_trans_buf_alloc().
@return 0 on success; A BLE_ERR_[…] error code on failure.