ble_hci_trans_hs_cmd_tx() function
Sends an HCI command from the host to the controller.
Syntax
int ble_hci_trans_hs_cmd_tx(uint8_t *cmd); Arguments
cmd
The HCI command to send. This buffer must be allocated via ble_hci_trans_buf_alloc().
Return value
0 on success; A BLE_ERR_[...] error code on failure.
ble_hci_trans_hs_cmd_tx() is called by 1 function and calls 7 functions:
![]()
ble_hci_trans_hs_cmd_tx()
ble_hci_trans_hs_cmd_tx() reads 7 variables:
![]()
ble_hci_trans_hs_cmd_tx()