Commit Graph
100 Commits
Author SHA1 Message Date
Zhang Hai Peng 5927173177 fix(ble/bluedroid): Added SPI output support for Bluedroid host log
(cherry picked from commit b6903296ad)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-02-26 23:13:41 +08:00
Zhang Hai Peng efdf380fb9 fix(ble/bluedroid): Support SPI log output options for HCI
(cherry picked from commit e00ba3cbd1)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-02-26 23:13:39 +08:00
Zhang Hai Peng 18973c0c61 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:46 +08:00
Zhang Hai PengandMitch Cairns d30c46cf98 feat(ble/bluedroid): Support change HID task size by Kconfig in HID example
(cherry picked from commit d4b3a7e99d)

Co-authored-by: Mitch Cairns <mitch.cairns@handheldlegend.com>
2025-02-17 11:15:21 +08:00
Zhang Hai PengandErast  61893e9fe5 docs(ble/bluedroid): Optimize doc for implementation of a characteristic with 128 bit UUID
(cherry picked from commit fa40d971a5)

Co-authored-by: Erast  <78802792+MatoiDev@users.noreply.github.com>
2025-02-17 11:15:19 +08:00
Zhang Hai PengandNebojša Cvetković ff6425d301 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-17 11:15:16 +08:00
Zhang Hai PengandNebojsa Cvetkovic 4a00e8d6b0 refactor(ble/bluedroid): Fix typos in gatt_sr.c
(cherry picked from commit 63b2dcc3a7)

Co-authored-by: Nebojsa Cvetkovic <nebkat@gmail.com>
2025-02-17 11:15:13 +08:00
Zhang Hai PengandNebojsa Cvetkovic eab6ad5bd7 fix(ble/bluedroid): Allow 0 length indications
(cherry picked from commit 9b5a52e2f7)

Co-authored-by: Nebojsa Cvetkovic <nebkat@gmail.com>
2025-02-17 11:15:11 +08:00
Zhang Hai PengandNebojsa Cvetkovic 1b3771276c refactor(ble/bluedroid): Fix typos in bta_gatts_act.c
(cherry picked from commit a8041a9953)

Co-authored-by: Nebojsa Cvetkovic <nebkat@gmail.com>
2025-02-17 11:15:08 +08:00
Zhang Hai Peng 04a238f88a fix(ble): Update bt lib for ESP32(2a2631f)
- Support ESP32 BLE GPIO DEBUG


(cherry picked from commit 0a7888f839)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-02-17 11:13:49 +08:00
Zhang Hai Peng f40aa9c587 fix(blufi): Enhance security in BLUFI example
(cherry picked from commit 3fc6c93936)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-02-11 15:13:42 +08:00
zhanghaipeng dda01d886f fix(ble): Update bt lib for ESP32(194dd63)
- Fix the issue where disconnection events were not reported as a slave.
- Enhance Access Address validation in compatibility mode.
2025-02-10 15:50:20 +08:00
Zhang Hai Peng 12b7a9e6d7 fix(blufi): Fixed some security issue in blufi example
(cherry picked from commit abc18e93eb)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-01-22 16:34:36 +08:00
Zhang Hai Peng a43f3c46e2 fix(ble/bluedroid): Fixed BLE feature selection configuration
(cherry picked from commit 117aa74705)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-01-06 11:14:21 +08:00
Zhang Hai Peng e631e58963 docs(ble/bluedroid): Added BLE log when bond info was deleted
(cherry picked from commit c9cdf51b05)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-01-06 11:13:55 +08:00
Zhang Hai Peng ed51c0b6b2 docs(ble/bluedroid): Optimize doc for registering BLE callback functions
(cherry picked from commit d84ccadf90)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-01-06 11:13:53 +08:00
Zhang Hai Peng b6d4dfa565 fix(ble/blufi): Fixed blufi example security issue
(cherry picked from commit 3cb2d9c3c6)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-01-06 11:13:51 +08:00
Zhang Hai Peng f0d0a4a9fb fix(blufi): Fixed crash issue in Blufi example during prepare write operation
(cherry picked from commit 5acb9c9b5f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-12-17 16:13:39 +08:00
zhanghaipeng a50df596ef docs(ble/bluedroid): Optimize BLE example documentation 2024-12-17 11:16:16 +08:00
zhanghaipeng f8dc54c026 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(555b0a2)
- Check Access Address when receive connection request PDU
- Fix issue with BLE5.0 duplicate scan for chained packets
2024-12-17 10:52:31 +08:00
zhanghaipeng 6718fc73b1 feat(bt): Add support for converting BT HCI logs to btsnoop format 2024-12-09 17:55:37 +08:00
Zhang Hai Peng a91f9b2395 fix(blufi): Fixed blufi init fail after deinit
(cherry picked from commit 7addb57ccd)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-12-09 17:45:30 +08:00
Zhang Hai Peng 338b3744e6 fix(ble): Fixed crash in BLE HID host example during logging
(cherry picked from commit ab1e3c1ffd)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-12-09 17:15:08 +08:00
zhanghaipeng 3a85b1b6ce fix(ble/bluedroid): Optimize BLE API "esp_ble_gattc_enh_open" 2024-12-06 15:50:50 +08:00
zhanghaipeng 2904494228 fix(ble/bluedroid): Fixed BLE create connection fail because of invalid own address type 2024-12-06 15:50:43 +08:00
Zhang Hai Peng f88298796b fix(bt/bluedroid): Fixed classic bt build fail when enable dynamic memory and disable BLE
(cherry picked from commit 59d20e80d3)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-11-14 22:13:45 +08:00
zhanghaipeng 90a723f7b5 fix(bt/ble): Update esp32 libbtdm_app.a (17db8bd)
- Added a verification step for the Access Address within the CONNECT_IND PDU
2024-11-08 14:33:02 +08:00
Zhang Hai Peng 7a4d10b718 fix(ble/bluedroid): Fixed BLE build fail when enable dynamic memory and BLE5.0
(cherry picked from commit 94d1a4f1c0)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-11-05 16:13:46 +08:00
Zhang Hai Peng 4f707f0c12 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:52 +08:00
Zhang Hai Peng bc1b6e2bf1 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:37 +08:00
Zhang Hai Peng 8fbf8820f1 feat(ble/bluedroid): Support enable BLE hci log by API
(cherry picked from commit 15c895fc6a)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-24 20:13:28 +08:00
Zhang Hai Peng 9461323fda 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-21 18:03:27 +08:00
Zhang Hai Peng b031e0b672 fix(ble/bluedroid): Fixed BLE handle check for GATT API
(cherry picked from commit 514155de3b)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-10 21:13:28 +08:00
Zhang Hai Peng b6cbf1a026 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(01cc408)
- Fixed extended connectable advertising data length check


(cherry picked from commit 8a80675b7c)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-08 15:13:40 +08:00
zhanghaipeng a7d1558e32 fix(ble/bluedroid): Fixed BLE spelling error in word 2024-09-27 15:49:20 +08:00
zhanghaipeng 36b44e7430 feat(ble/bluedroid): Add BLE memory allocation failure message 2024-09-27 15:49:10 +08:00
zhanghaipeng 2129c70ecf feat(ble/controller): Display BLE controller init status for ESP32 and ESP32C3/S3 2024-09-27 15:49:01 +08:00
zhanghaipeng 049f644181 feat(ble/bluedroid): Optimize address resolution status for interval use 2024-09-27 14:47:15 +08:00
Zhang Hai Peng 2fbe37a0e5 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:31 +08:00
zhanghaipeng e07d014b1d fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(63eb54d)
- Fixed issue where RPA is not updated after BLE RPA timeout
2024-09-23 13:33:22 +08:00
Zhang Hai Peng 10664a2e03 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(e9ae856)
- Fixed BLE scan assert in lld_scan.c 1728


(cherry picked from commit 32c7694f56)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-09-23 11:13:32 +08:00
zhanghaipeng b9edac01ae feat(ble/controller): Support get BLE controller free heap size 2024-09-07 12:26:37 +08:00
zhanghaipeng ca5db5aef0 docs(blufi): Optimize documentation for Blufi example 2024-09-07 12:25:30 +08:00
zhanghaipeng e4003fd98e fix(ble/bluedroid): Optimize BLE function 'esp_ble_resolve_adv_data_by_type' 2024-09-07 12:25:22 +08:00
zhanghaipeng af9ebecc1d fix(ble/bluedroid): Fixed memory out-of-bounds issue when parsing adv data 2024-09-07 12:25:10 +08:00
zhanghaipeng 01f46017d9 docs(ble/bluedroid): Optimize documentation for BLE connection parameter updates 2024-08-29 16:38:17 +08:00
zhanghaipeng d02df53fd8 feat(ble/bluedroid): Support getting BLE address type in bond list 2024-08-29 16:37:15 +08:00
zhanghaipeng dc428a3854 docs(ble/bluedroid): Optimize BLE example documentation for getting characteristic 2024-08-29 16:17:39 +08:00
zhanghaipeng 87ec32e738 docs(ble/bluedroid): Optimize BLE example for setting advertising data 2024-08-12 11:32:34 +08:00
zhanghaipeng 7741d58b7f feat(ble/bluedroid): Support getting BLE address type in bond list 2024-08-09 20:21:04 +08:00
zhanghaipeng 2e0c01b1c5 docs(ble/bluedroid): Optimize documentation for BLE connection parameter updates 2024-08-09 20:21:04 +08:00
zhanghaipeng 1046724f9e fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(f583012)
- Fix BLE channel map update when latency is not zero
2024-08-09 20:20:31 +08:00
zhanghaipeng 1df847e2a0 fix(ble/bluedroid): Fixed issue with resetting BLE security parameters during initialization 2024-08-01 16:17:53 +08:00
zhanghaipeng 18a4191adf fix(ble/bluedroid): Fix incorrect state issue when unregistering BLE GATTC application 2024-07-30 18:03:37 +08:00
zhanghaipeng ed0cc11750 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(abd7733)
- Fix the issue where RSSI is incorrect when latency is not zero
2024-07-25 17:50:04 +08:00
zhanghaipeng d8798c4bd5 fix(ble/bluedroid): Fixed BLE cannot create connection 2024-07-24 10:51:08 +08:00
zhanghaipeng c3af6db044 fix(ble/bluedroid): Fixed BLE set adv param check 2024-07-10 12:25:39 +08:00
zhanghaipeng 095a0dd85f feat(ble/bluedroid): Support BLE50 instance in related event 2024-07-09 15:23:46 +08:00
zhanghaipeng 429eb0952c fix(ble/bluedroid): Fixed BLE report event when connection fails 2024-06-28 12:00:33 +08:00
zhanghaipeng f6348050e4 fix(ble/controller): Update esp32 bt-lib (1e63e23)
- Optimized GATT write and notify throughput on ESP32
- Fixed BLE connect timeout after using DTM on ESP32
- Added ke memory debug tools on ESP32
- Fixed memory leak issue when BLE SCAN and other event coexist on ESP32
2024-06-13 16:42:17 +08:00
zhanghaipeng 1542b768fd fix(ble/bluedroid): Optimize BLE stack connect callback name 2024-06-02 17:36:35 +08:00
zhanghaipeng e10c977834 fix(ble/bluedroid): Fixed BLE no data length change event 2024-06-02 17:36:35 +08:00
zhanghaipeng 212f316f24 feat(ble/bluedroid): Support BLE command status debug log 2024-04-26 17:13:39 +08:00
zhanghaipeng 0fcc940bc1 fix(ble/controller): Update esp32 bt-lib (4012cfb)
- Fixed BLE coex assert
- Fixed BLE DTM status and tx count
2024-04-26 16:53:39 +08:00
zhanghaipeng 0a4636a8be fix(ble/bluedroid): Fixed set BLE appearance value 2024-04-17 20:38:36 +08:00
zhanghaipeng 9ae6007b5b feat(ble/bluedroid): Support create BLE static random address and NRPA 2024-04-15 21:04:52 +08:00
zhanghaipeng 36c9953588 feat(ble/bluedroid): Support BLE add device to resolving list 2024-04-15 19:37:02 +08:00
zhanghaipeng 20a780da8c fix(ble/bluedroid): Fixed BLE GATT max length of an attribute value 2024-04-10 19:41:46 +08:00
zhanghaipeng 9c6869fbf8 fix(bt/controller): Update bt lib for ESP32(5838b68)
- Fixed BLE scan assert
 - Fixed assert(10,0) in lld_pdu
 - Add BLE scan backoff in menuconfig
2024-04-08 14:49:06 +08:00
zhanghaipeng 8c42f6a891 feat(ble/bluedroid): Support set resolvable provate address timeout by api 2024-04-07 20:40:29 +08:00
zhanghaipeng b0a84f76a2 fix(ble/bluedroid): Optimized BLE SPP example for improved compatibility 2024-04-01 16:31:26 +08:00
zhanghaipeng bce1715dfd fix(ble/bluedroid): Optimize BLE documentation comments to comply with Doxygen syntax 2024-03-18 16:10:02 +08:00
zhanghaipeng f812863827 fix(ble/bluedroid): Optimize the BLE documentation 2024-03-15 20:02:13 +08:00
Zhang Hai Peng e7d88505e5 Merge branch 'bugfix/fix_ble_host_crash_on_deinitialization' into 'master'
fix(ble/bluedroid): Fixed BLE crash when repeatedly iniitialize and deinitialize host

Closes BLERP-584 and BLERP-583

See merge request espressif/esp-idf!29319
2024-03-08 15:21:52 +08:00
zhanghaipeng 2c3d9ae5de fix(ble/bluedroid): Fixed BLE BLE periodic advertising parameter check 2024-03-06 18:10:30 +08:00
zhanghaipeng 82c2602afa fix(ble/bluedroid): Fixed BLE crash when repeatedly initialize and deinitialize host 2024-03-06 15:49:01 +08:00
zhanghaipeng 3eec662473 fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration 2024-02-27 22:03:37 +08:00
zhanghaipeng eb92ea3461 fix(ble/controller): Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- fixed modem sleep enter failed sometimes
2024-02-04 11:49:47 +08:00
zhanghaipeng 101bfcd7a1 fix(ble/bluedroid): Fix BLE background connection log level 2024-01-20 16:42:54 +08:00
zhanghaipeng b491c7bb6f fix(ble/bluedroid): Fix dangling pointer issue in deletion of bonded devices 2024-01-20 16:35:38 +08:00
zhanghaipeng aeeb64966b feat(bt/bluedroid): Support ext adv aux option 2024-01-19 16:48:18 +08:00
zhanghaipeng 0f29b3cef9 fix(bt/bluedroid): Fix BLE malloc internal wrapper fail 2024-01-19 11:22:33 +08:00
zhanghaipeng ee4d4f1d35 docs(ble/bluedroid): Optimize documentation for BLE duplicate scan 2024-01-19 11:21:42 +08:00
zhanghaipeng 8de484888f feat(ble/bluedroid): Add getter for BLE GATTC calllback 2024-01-19 11:21:42 +08:00
zhanghaipeng 32290b2475 fix(ble/bluedroid): Fix ble memory leak when gattc config off 2024-01-17 15:20:24 +08:00
Zhang Hai Peng 0b8e6c66c4 Merge branch 'bugfix/ble_check_adv_data' into 'master'
fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow

See merge request espressif/esp-idf!28245
2024-01-05 14:17:42 +08:00
zhanghaipeng c66fc143fa fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow 2024-01-04 13:21:42 +08:00
zhanghaipeng 216b9da33d fix(bt/bluedroid): Optimize ble remove all bonded devices function 2023-12-29 19:28:06 +08:00
zhanghaipeng 96626cb110 fix(bt/bluedroid): Update ble ibeacon example document 2023-12-29 14:16:11 +08:00
zhanghaipeng cfd84e654c fix(bt/bluedroid): Update ble gattc gatts coex example 2023-12-29 12:14:39 +08:00
zhanghaipeng a2425ac3e7 fix(bt/bluedroid): Fix ble app unregister no event 2023-12-28 17:30:57 +08:00
zhanghaipeng b02c669370 fix(phy): Fix ble tx ifs time for ESP32 2023-12-22 11:38:16 +08:00
zhanghaipeng ed036e0ebe fix(bt/bluedroid): Fix prepare write for BLE example 2023-12-21 10:59:26 +08:00
zhanghaipeng b693094ee8 fix(bt/bluedroid): Fix BLE prepare write 2023-12-21 10:53:38 +08:00
zhanghaipeng 305bb1a146 fix(bt/bluedroid): Fix ble gattc deregister 2023-12-07 11:21:13 +08:00
zhanghaipeng 41facc2e08 fix(bt/bluedroid): Fix BLE robost cashing config 2023-12-05 15:44:15 +08:00
zhanghaipeng 1eb0522774 fix(bt/bluedroid): Fix ble adv and scan status when deinit bluedroid 2023-12-05 10:38:01 +08:00
zhanghaipeng d528cc598e fix(bt/bluedroid): Fix BLE SMP register log level 2023-12-01 17:21:49 +08:00
zhanghaipeng a1b678e721 fix(bt/bluedroid): Fix bluedroid menuconfig 2023-11-30 10:43:12 +08:00
zhanghaipeng a5a7e60ad0 docs(bt/bluedroid): Update ble example document 2023-11-30 10:42:49 +08:00