|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
HID Device Protocol handling. More...
#include <stdbool.h>#include <stdint.h>#include <zephyr/bluetooth/classic/hid.h>#include <zephyr/bluetooth/conn.h>#include <zephyr/net_buf.h>Go to the source code of this file.
Data Structures | |
| struct | bt_hid_device_cb |
| Callbacks supplied by the HID application. More... | |
Functions | |
| int | bt_hid_device_register (const struct bt_hid_device_cb *cb) |
| Register HID device callbacks. | |
| int | bt_hid_device_unregister (void) |
| Unregister HID device callbacks and disable HID services. | |
| int | bt_hid_device_connect (struct bt_conn *conn, struct bt_hid_device **hid) |
| Initiate an outgoing HID association on the given connection. | |
| int | bt_hid_device_disconnect (struct bt_hid_device *hid) |
| Disconnect a previously connected HID association. | |
| struct net_buf * | bt_hid_device_create_pdu (struct net_buf_pool *pool) |
| Allocate/create a PDU buffer suitable for HID over L2CAP. | |
| int | bt_hid_device_input_report (struct bt_hid_device *hid, struct net_buf *buf) |
| Send a HID interrupt input report to the HID host. | |
| int | bt_hid_device_virtual_cable_unplug (struct bt_hid_device *hid) |
| Trigger a virtual cable unplug procedure for the given HID association. | |
| struct bt_conn * | bt_hid_device_get_conn (struct bt_hid_device *hid) |
| Obtain the ACL connection associated with a HID device. | |
HID Device Protocol handling.