mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-19 11:37:56 +00:00
nimble/transport: Fix function prototype
ble_hci_trans_cfg_hs is used to configure callbacks for events, not commands.
This commit is contained in:
@@ -162,17 +162,17 @@ void ble_hci_trans_cfg_ll(ble_hci_trans_rx_cmd_fn *cmd_cb,
|
|||||||
* Configures the HCI transport to operate with a host. The transport will
|
* Configures the HCI transport to operate with a host. The transport will
|
||||||
* execute specified callbacks upon receiving HCI packets from the controller.
|
* execute specified callbacks upon receiving HCI packets from the controller.
|
||||||
*
|
*
|
||||||
* @param cmd_cb The callback to execute upon receiving an HCI
|
* @param evt_cb The callback to execute upon receiving an HCI
|
||||||
* event.
|
* event.
|
||||||
* @param cmd_arg Optional argument to pass to the command
|
* @param evt_arg Optional argument to pass to the event
|
||||||
* callback.
|
* callback.
|
||||||
* @param acl_cb The callback to execute upon receiving ACL
|
* @param acl_cb The callback to execute upon receiving ACL
|
||||||
* data.
|
* data.
|
||||||
* @param acl_arg Optional argument to pass to the ACL
|
* @param acl_arg Optional argument to pass to the ACL
|
||||||
* callback.
|
* callback.
|
||||||
*/
|
*/
|
||||||
void ble_hci_trans_cfg_hs(ble_hci_trans_rx_cmd_fn *cmd_cb,
|
void ble_hci_trans_cfg_hs(ble_hci_trans_rx_cmd_fn *evt_cb,
|
||||||
void *cmd_arg,
|
void *evt_arg,
|
||||||
ble_hci_trans_rx_acl_fn *acl_cb,
|
ble_hci_trans_rx_acl_fn *acl_cb,
|
||||||
void *acl_arg);
|
void *acl_arg);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user