diff --git a/examples/bluetooth/ble_hid_device_demo/main/ble_hidd_demo_main.c b/examples/bluetooth/ble_hid_device_demo/main/ble_hidd_demo_main.c index ae7e0cac9..e26fa38d9 100644 --- a/examples/bluetooth/ble_hid_device_demo/main/ble_hidd_demo_main.c +++ b/examples/bluetooth/ble_hid_device_demo/main/ble_hidd_demo_main.c @@ -29,19 +29,10 @@ /** * Brief: - * This test code shows how to configure gpio and how to use gpio interrupt. - * - * GPIO status: - * GPIO18: output - * GPIO19: output - * GPIO4: input, pulled up, interrupt from rising edge and falling edge - * GPIO5: input, pulled up, interrupt from rising edge. - * - * Test: - * Connect GPIO18 with GPIO4 - * Connect GPIO19 with GPIO5 - * Generate pulses on GPIO18/19, that triggers interrupt on GPIO4/5 - * + * This example Implemented BLE HID device profile related functions, in which the HID device + * has 4 Reports (1 is mouse, 2 is keyboard and LED, 3 is Consumer Devices, 4 is Vendor devices). + * Users can choose different reports according to their own application scenarios. + * BLE HID profile inheritance and USB HID class. */ /** @@ -58,15 +49,6 @@ #define HID_DEMO_TAG "HID_DEMO" -#define GPIO_OUTPUT_IO_0 18 -#define GPIO_OUTPUT_IO_1 19 -#define GPIO_OUTPUT_PIN_SEL ((1<