Commit Graph

343 Commits

Author SHA1 Message Date
baohongde b03bac9a72 feat(bt): added definitions for BR/EDR hci vendor commands and events 2025-03-25 14:38:00 +08:00
xiongweichao a227b6ad44 fix(bt/bluedroid): fixed other events being reported when disconnected
- Since no initial value is assigned, the variable evt is a random value,
causing the ESP_BT_GAP_DISC_STATE_CHANGED_EVT event to be reported when
the connection is disconnected.
2025-03-21 11:24:18 +08:00
zhanghaipeng 135a1990af feat(ble/bluedroid): Support read periodic advertiser list size command 2025-03-10 14:37:24 +08:00
Island e69a86629a Merge branch 'feat/support_ble_vendor_hci_event_report_v5.0' into 'release/v5.0'
feat(bt/bluedroid): Support BLE vendor hci event reporting (v5.0)

See merge request espressif/esp-idf!37350
2025-02-28 14:30:32 +08:00
Wang Meng Yang 45acdc00ba Merge branch 'feat/support_ble_debug_with_gpio_v5.0' into 'release/v5.0'
Support change HID task size by Kconfig in HID example (v5.0)

See merge request espressif/esp-idf!36995
2025-02-27 15:07:43 +08:00
chenjianhua ee8fbde1a2 feat(bt/bluedroid): Support BLE vendor hci event reporting 2025-02-27 15:02:38 +08:00
chenjianhua 735daff1e5 feat(bt/bluedroid): Support BLE setting vendor event mask 2025-02-27 15:00:54 +08:00
Zhang Hai Peng 358020ad8f fix(ble/bluedroid): Don't log error on 16/128-bit UUID mixed descriptors
(cherry picked from commit fed1d41aa7)

Co-authored-by: Nebojša Cvetković <nebkat@gmail.com>
2025-02-23 17:48:47 +08:00
Zhang Hai Peng e202883133 fix(ble/bluedroid): Fix adv data and scan rsp data not reported together in BLE active scan
(cherry picked from commit 7f2cedc048)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-02-21 16:13:27 +08:00
Wang Mengyang 01c34d4b62 change(bt): Remove unused state variable for (e)SCO disconnect reason in Bluedroid 2025-02-08 17:58:18 +08:00
chenjianhua d6942282e8 fix(bt/bluedroid): Fixed LE channel selection algorithm event reporting 2024-12-18 11:51:22 +08:00
Chen Jian Hua 5fe21ee66f fix(bt/bluedroid): Fixed setting perfer conn params complete event report
(cherry picked from commit 4b352d1c4f)

Co-authored-by: xuzhekai <xuzhekai@espressif.com>
2024-12-18 11:33:16 +08:00
chenjianhua 4fa7610be8 feat(ble/bluedroid): Support setting connection params when creating connection 2024-12-03 18:05:12 +08:00
Jin Cheng 42b9cc11da fix(bt/bluedroid): disconnect SDP connection on receiving incorrect response 2024-11-25 10:21:11 +08:00
xiongweichao a4b0000cc4 fix(bt/bluedroid): Fixed the incorrect error code returned
when receiving an invalid command
2024-11-18 17:02:06 +08:00
linruihao f6db0211c6 fix(bt/bluedroid): Fix memory leak in sco when bluedroid disable 2024-11-06 19:42:32 +08:00
Island 84cae3aa8c Merge branch 'feat/support_blecrt_90_v5.0' into 'release/v5.0'
feat(bt/bluedroid): Added API to set supported channel selection algorithm (v5.0)

See merge request espressif/esp-idf!34502
2024-11-06 11:50:08 +08:00
Zhang Hai Peng 4074270dd1 fix(ble/bluedroid): Fixed crash issue in BLE SMP when a disconnection process is ongoing
(cherry picked from commit 76e1650161)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-30 15:24:43 +08:00
Zhang Hai Peng f268734259 fix(ble/bluedroid): Support enable BLE topology check by API
(cherry picked from commit dbc94c7056)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-30 15:24:21 +08:00
chenjianhua f55b6373e6 fix(bt/bluedroid): Update address type for BLE link when the connection is completed 2024-10-29 21:53:21 +08:00
Chen Jian Hua 73453ee3e1 feat(bt/bluedroid): Added API to set supported channel selection algorithm
(cherry picked from commit 4ae7b4aecf)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-10-29 17:35:08 +08:00
Zhang Hai Peng 19980e1bd3 fix(ble/bluedroid): Fixed error when writing Client Supported Features characteristic
(cherry picked from commit 5126742003)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-17 16:13:15 +08:00
zhanghaipeng ab0d3831db feat(ble/bluedroid): Optimize address resolution status for interval use 2024-09-27 14:48:30 +08:00
Zhang Hai Peng d6a0fa813d feat(ble/bluedroid): Support resolve BLE address for interval usage
(cherry picked from commit b88b511362)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-09-25 12:13:13 +08:00
chenjianhua 338763fae7 test(bt/bluedroid): Support to disable BLE address resolution 2024-09-23 13:30:59 +08:00
Jiang Jiang Jian c5eb3eaef5 Merge branch 'bugfix/fix_sdp_bugs_v5.0' into 'release/v5.0'
Bugfix/fix sdp bugs[backport 5.0]

See merge request espressif/esp-idf!33605
2024-09-21 15:02:58 +08:00
Jiang Jiang Jian c01e90daa8 Merge branch 'feat/support_blecrt_242_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fixed access fault when reading BLE controller information fails (v5.0)

See merge request espressif/esp-idf!33631
2024-09-21 14:57:25 +08:00
Chen Jian Hua 856bc4bede fix(bt/bluedroid): Fixed access fault when reading BLE controller information fails
(cherry picked from commit e4e23087ee)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-19 09:12:19 +08:00
liqigan bfd1ea82bd change(bt/bluedroid): Limited SDP service discovery operation 2024-09-18 16:43:46 +08:00
linruihao cbd12f5ce5 fix(bt/bluedroid): Fixed some bugs in AVRCP 2024-09-18 11:29:40 +08:00
xiongweichao dc937198c9 fix(bt/bluedroid): Fix the protocol stack to exit sniff mode
- Already in result mode but request change indication has not been cleared
2024-09-10 11:42:25 +08:00
Island 2b6c3c6872 Merge branch 'docs/optimized_ble_gattc_multi_connect_example_v5.0' into 'release/v5.0'
docs(ble/bluedroid): Optimize BLE example documentation for getting characteristic (v5.0)

See merge request espressif/esp-idf!33197
2024-09-06 10:31:41 +08:00
Jiang Jiang Jian faa67c770a Merge branch 'contrib/github_pr_14286_v5.0' into 'release/v5.0'
fix(bt): Add a parameter in the two least significant bits of Class of Device (backport v5.0)

See merge request espressif/esp-idf!33168
2024-08-30 11:30:46 +08:00
Nebojša Cvetković be99097435 fix(bt/bluedroid): Resolve warning: unused variable 'pp' 2024-08-29 16:17:59 +08:00
chenqingqing 1f15a8d3dd fix(bt): Add a parameter in the two least significant bits of Class of Device 2024-08-28 16:55:19 +08:00
WebDust21 32a0d4a17e fix(bt): Enable use of RESERVED bits in COD (GitHub PR) 2024-08-28 16:55:07 +08:00
chenjianhua 7844ccaa8b fix(bt/bluedroid): Fixed compile warning when optimize for performance 2024-08-28 11:13:18 +08:00
Jiang Jiang Jian ef0f7f6d23 Merge branch 'bugfix/fix_ble_resolve_adv_data_v5.0' into 'release/v5.0'
fix(ble/bluedroid): Fixed memory out-of-bounds issue when parsing adv data (v5.0)

See merge request espressif/esp-idf!33026
2024-08-26 14:49:23 +08:00
chenjianhua 0010bdf34c feat(bt/bluedroid): Report HCI error code to app when command fails 2024-08-23 16:57:46 +08:00
chenjianhua ed35ce2c22 fix(bt/bluedroid): Fixed BLE create conn cancel when conn already exist 2024-08-23 16:57:46 +08:00
zhanghaipeng 3818ca3a46 fix(ble/bluedroid): Fixed memory out-of-bounds issue when parsing adv data 2024-08-23 09:42:32 +08:00
zhanghaipeng efd0a06db6 fix(ble/bluedroid): Fixed BLE cannot create connection 2024-07-26 10:38:05 +08:00
zhanghaipeng 4593ae0741 fix(ble/bluedroid): Fixed BLE set adv param check 2024-07-10 12:23:55 +08:00
zhanghaipeng 7212e4e1a8 feat(ble/bluedroid): Support BLE50 instance in related event 2024-07-09 15:45:10 +08:00
zhanghaipeng eec3f541f0 fix(ble/bluedroid): Fixed BLE report event when connection fails 2024-06-28 12:00:51 +08:00
chenjianhua ef3c6da507 feat(bt/bluedroid): Add definition for the reason of BLE authentication failure 2024-06-24 19:48:36 +08:00
chenjianhua b9fb0b8907 fix(bt/bluedroid): Fixed BLE security vulnerability when using fixed IRK 2024-06-24 19:48:36 +08:00
zhanghaipeng 846273356a fix(ble/bluedroid): Optimize BLE stack connect callback name 2024-06-02 19:26:38 +08:00
zhanghaipeng 1d8f0aec81 fix(ble/bluedroid): Fixed BLE no data length change event 2024-06-02 19:26:27 +08:00
Alexey Lapshin ef4a5fda2d fix(bt): fix gcc 13.1.0 warnings 2024-05-28 15:57:46 +08:00