1| Supported Targets | ESP32 | ESP32-C3 |
2| ----------------- | ----- | -------- |
3
4ESP-IDF BLE HID device demo
5========================
6This example Implemented BLE HID device profile related functions, in which the HID device has
74 Reports (1 is mouse, 2 is keyboard and LED, 3 is Consumer Devices, 4 is Vendor devices).
8Users can choose different reports according to their own application scenarios.
9BLE HID profile inheritance and USB HID class.
10
11ble_hidd_demo_main.c
12==========================
13This file is the demo to show how to used the HID(you can used it to connected to the smart phone act as the consumer device then can used the button to
14volume++ or volume-- etc., or connected to the Windows 10 PC act as a keyboard or mouse)
15
16hidd_le_prf_int.h
17==========================
18This header file includes some HID profile related definitions.
19
20esp_hidd_prf_api.h & esp_hidd_prf_api.c
21===========================================
22These files contains the the api of the HID profile
23
24When you used the HID profile, you just need to added the esp_hidd_prf_api.h includes file and send the HID data used the function defined in the esp_hidd_prf_api.c file.
25
26hid_dev.h & hid_dev.c
27======================
28These file define the HID spec related definitions
29
30hid_device_le_prf.c
31======================
32This file is the HID profile definition file, it include the main function of the HID profile.
33It mainly includes how to create HID service. If you send and receive HID data and convert the data to keyboard keys,
34the mouse and consumer values are forwarded to the application.