Commit Graph

41 Commits

Author SHA1 Message Date
Mitch Cairns d4b3a7e99d feat(ble/bluedroid): Support change HID task size by Kconfig in HID example 2025-02-13 15:55:36 +08:00
zhanghaipeng 0e25572b4b feat(ble): Add CI testing for NimBLE host in Blufi and HID examples 2025-01-07 10:42:57 +08:00
chenjianhua e5789a8ca1 feat(ble/bluedroid): Support setting connection params when creating connection 2024-11-26 12:10:27 +08:00
zhanghaipeng 7e536a7ba1 fix(ble/bluedroid): Optimize BLE API "esp_ble_gattc_enh_open" 2024-11-26 12:10:27 +08:00
zhanghaipeng b65f8a98bd fix(ble/bluedroid): Fixed BLE create connection fail because of invalid own address type 2024-11-18 17:48:42 +08:00
liqigan 976066d537 fix(esp_hid): Fixed protocol mode mapping bug
Closes https://github.com/espressif/esp-idf/issues/14232
2024-08-30 15:37:14 +08:00
liqigan 06b2276b7f fix(esp_hid): Loose the check of input report length to be more compatible
Closes https://github.com/espressif/esp-idf/issues/14259
2024-08-07 10:28:35 +08:00
Mohammad-Mohsen Aseman-Manzar 51fb928d4b Fix stack overflow bug for examples/bluetooth/esp_hid_device when using esp32s3 with nimble
Related to https://github.com/espressif/esp-idf/commit/60354c39a9338961adce8e2fb536f83571ebd82c
2024-06-11 16:13:34 +03:30
Tomas Rezucha 868d375c1d refactor(esp_hid): Create one common event loop
After this change, only one event loop is created.
It is reused by all transport layers (BT, BLE, USB).
2024-03-14 11:34:13 +01:00
Tomas Rezucha 7f22c235db refactor(esp_hid): Format the code with astyle 2024-02-27 14:48:43 +01:00
Tomas Rezucha 6f30198ca3 feat(esp_hid): Add Connection Request event
This event is useful for situations where the HID device
requests connection. Typically in USB transport.
2024-02-07 15:34:55 +08:00
Tomas Rezucha f7bff8b1fc refactor(esp_hid): Create new esp_hid_addr_t type 2024-02-07 15:34:55 +08:00
Tomas Rezucha 56a159a7d5 refactor(esp_hid): Move header files to esp_private directory
esp_hidd_private.h and esp_hidh_private.h are required by components
that extend esp_hid with a new transport layer, such as USB
2024-02-07 15:34:55 +08:00
Roshan Bangar 96ed1ae7a7 feat(nimble): added HID over Gatt profile support 2023-12-16 17:42:49 +05:30
Jin Cheng fc174f5811 feat(bt/bluedroid): Added mode to use BlueDroid host only without Bluetooth Controller 2023-10-30 00:52:26 +00:00
zhanghaipeng f7e174e948 fix(bt/bluedroid): Optimize compatibility with Android 10 and later devices 2023-10-26 14:14:15 +08:00
zhanghaipeng 5727802497 fix(bt/bluedroid): Optimize compatibility with IOS and MACOS devices 2023-10-24 14:52:56 +08:00
zhanghaipeng 60354c39a9 fix(bt/bluedroid): Fix hid example stack overflow bugs when using esp32s3 2023-10-13 11:20:17 +08:00
wanglai@espressif.com 25b1e6fe36 fix(bqb): Changed HID related copyright automatically 2023-09-01 01:54:29 +00:00
chenjianhua 9c8958d73b esp_hid: fixed ble hid battery level setting 2023-05-17 12:18:56 +08:00
liqigan 20c9efed4d fix HID Host bug when handling the two consecutive connection request
Closes https://github.com/espressif/esp-idf/issues/10504
2023-03-09 14:25:25 +08:00
Alexey Lapshin bda5befdf5 esp_hid: fix gcc-12 compile errors 2023-02-22 05:33:03 +00:00
liqigan a025dfd965 optimize HID Host disconnection procedure 2022-11-15 15:15:50 +08:00
chenjianhua 453ecbe9f2 fix esp hid crash when auth failed 2022-08-11 19:41:35 +08:00
liqigan ea63a42f15 fix memory leak in esp_bt_hidh_dev_report_write and esp_bt_hidh_dev_set_report in bt_hidh.c
Closes https://github.com/espressif/esp-idf/issues/9323
2022-07-11 14:30:00 +08:00
liqigan 2873cefe78 fix wrong params of get_report_by_id_and_type in bt_hidd.c 2022-07-05 20:50:11 +08:00
Darian Leung 57fd78f5ba freertos: Remove legacy data types
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
Murray Fordyce 00a23ec544 Fixed left right key confusion in comments.
"Left" and "Right" were swapped in some comments.
2022-01-05 14:23:47 +08:00
Robin Krens 08acf7979b spacing styling correction 2021-12-24 16:21:06 +08:00
Robin Krens 8d5a823a41 minor styling changes 2021-12-24 16:20:44 +08:00
Robin Krens ba5f19e5b1 esp_hid: fix output report char declaration
Current issue: output reports sent by Windows not received.
The report characteristic declaration should also support write without
response as specified by HIDS profile:
See https://www.bluetooth.com/specifications/GATT/ (page 14)
2021-12-24 16:20:31 +08:00
jincheng b7a99614a1 fix on esp_hidh report map length checking function
Closes https://github.com/espressif/esp-idf/issues/7586
2021-12-24 15:21:48 +08:00
liqigan 97e2465439 fix unit test failure for report_len in Boot Protocol 2021-09-09 17:32:22 +08:00
liqigan 2078dfe293 1. update esp_hid component to use esp HID API
2. add esp_hidh_config_t::callback_arg
2021-09-08 14:08:34 +08:00
liqigan 9049974d6b fix deep copy bugs for esp_hid component
Closes https://github.com/espressif/esp-idf/issues/6217
Closes https://github.com/espressif/esp-idf/issues/7169
2021-09-07 16:58:19 +08:00
Layne Bernardo d1c8c268d4 Add event_stack_size option to esp_hidh_config_t
Merges https://github.com/espressif/esp-idf/pull/6385
2021-05-05 15:45:54 +02:00
Valeri 77922a24c3 esp_hid: add missing static qualifier
Closes https://github.com/espressif/esp-idf/pull/5778
Closes IDFGH-3877
2021-03-23 17:38:56 +05:30
Angus Gratton 66fb5a29bb Whitespace: Automated whitespace fixes (large commit)
Apply the pre-commit hook whitespace fixes to all files in the repo.

(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
me-no-dev d535b8c458 Fix BT HIDH write allocates 1 byte less and returns ok on failed malloc
Fixes: https://github.com/espressif/esp-idf/issues/5781
2020-10-13 14:30:12 +03:00
David Cermak 65b993234d esp_hid: fix memory leak if getting dev reports fails 2020-05-07 12:56:54 +00:00
Hristo Gochkov 25281ef4de Add HID Support to IDF
- Adds HID Host support in Buedroid
- Adds BLE HID Host and Device support
- Adds some general HID utilities and definitions to help integrate with other stacks and native USB
2020-04-29 17:24:01 +08:00