Skip to main content

ble_hci_trans_hs_cmd_tx

Function ble_hci_trans_hs_cmd_tx 

Source
pub unsafe extern "C" fn ble_hci_trans_hs_cmd_tx(cmd: *mut u8) -> i32
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.