4191 Commits

Author SHA1 Message Date
Rahul Tank
ed91973947 Merge branch 'fix/wifi_provisioning_ble_v5.3' into 'release/v5.3'
fix(nimble): Handle nested locks when BT_NIMBLE_DEBUG enabled (v5.3)

See merge request espressif/esp-idf!36498
2025-02-10 23:58:37 +08:00
Jiang Jiang Jian
489d7a2b3a Merge branch 'change/default_value_for_esp_coex_vsc_in_bluedroid_v5.3' into 'release/v5.3'
change(bt): Set default value for BT_BLUEDROID_ESP_COEX_VSC conditionally (v5.3)

See merge request espressif/esp-idf!36735
2025-02-10 16:43:54 +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
gongyantao
96293d4575 feat(bt): add vendor hci command and event to support test
- add afh related vendor hci command and event
- add vendor event mask command
2025-02-10 15:50:11 +08:00
linruihao
1ca8daee7a feat(bt): add coexist scheme status support for bt page 2025-02-10 15:50:01 +08:00
Jiang Jiang Jian
1b33c442de Merge branch 'bugfix/remove_unused_sco_state_v5.3' into 'release/v5.3'
Bugfix/remove unused sco state (v5.3)

See merge request espressif/esp-idf!36730
2025-02-07 20:02:32 +08:00
Wang Mengyang
c7c0def473 change(bt): Set default value for BT_BLUEDROID_ESP_COEX_VSC conditionally
- Set default value of BT_BLUEDROID_ESP_COEX_VSC to n if software coexistence is not required,
in host-controller combined Bluetooth stack configuration.
2025-02-07 10:47:59 +08:00
Astha Verma
25b965deba fix(nimble): Handle nested locks when BT_NIMBLE_DEBUG enabled 2025-02-05 14:49:57 +05:30
Jin Cheng
d557699837 fix(bt/controller): fixed missing critical protections on linked-list structure of (e)SCO buffers 2025-02-05 10:24:59 +08:00
Wang Mengyang
72cde9aee5 change(bt): Remove unused state variable for (e)SCO disconnect reason in Bluedroid 2025-02-05 10:08:58 +08:00
xiongweichao
5a94c54fb8 feat(bt): Added API to get/set low power clock source 2025-01-23 11:19:36 +08:00
Zhou Xiao
f7c66806f5 change(ble): [AUTO_MR] Update lib_esp32c2 to 7b7ee440
(cherry picked from commit c263c75897c4516a20a043635742e0f6832e3c1f)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-17 16:53:54 +08:00
Zhou Xiao
e7ff7f041c change(ble): [AUTO_MR] Update lib_esp32c6 to bbc1903d
(cherry picked from commit 06a6b311a81d407e81fbbf9b8dd635e333452f4a)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-17 16:53:52 +08:00
Zhou Xiao
c5ecbf27fc change(ble): [AUTO_MR] Update lib_esp32h2 to bbc1903d
(cherry picked from commit 4f5f0b0954465df3a8030fd0718ff95d5189465e)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-17 16:53:49 +08:00
Island
403a3e06c4 Merge branch 'change/ble_update_lib_20250103_v5.3' into 'release/v5.3'
change(ble): [AUTO_MR] 20250103 - Update ESP BLE Controller Lib (v5.3)

See merge request espressif/esp-idf!36372
2025-01-17 14:23:03 +08:00
zwl
5fe98f852c feat(ble): support for putting ble code into flash on ESP32-C6 2025-01-16 18:20:43 +08:00
Rahul Tank
c089950c8b fix(nimble): Fix compilation issues for different flag combinations 2025-01-15 10:11:23 +05:30
Zhou Xiao
eaf097ef8d fix(ble): fixed esp_ble_tx_power_set api issue on ESP32-H2
(cherry picked from commit d2b62f21301f01f7585100c08551fdaa1b52ef5c)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:54:29 +08:00
Zhou Xiao
b9fadacf2f fix(ble): fixed esp_ble_tx_power_set api issue on ESP32-C6
(cherry picked from commit 8d6ec1283875d0ea1993473d078bbc2dad47be9d)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:54:27 +08:00
Zhou Xiao
0740986590 fix(ble): fixed esp_ble_tx_power_set api issue on ESP32-C2
(cherry picked from commit 6a752eeb89a48ee5c1d5e07b8f2ea297ca1c268d)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:54:24 +08:00
Zhou Xiao
c240d04a67 feat(ble): support for putting ble code into flash on ESP32-H2
(cherry picked from commit 5a9acdc379ac2ed560ac6e92ddcc89696eaea6f5)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:54:22 +08:00
Zhou Xiao
d0976ef837 change(ble): Update lib_esp32c2 to 2a00fb0b
(cherry picked from commit 7cd3fe6953ce455dcde3bc499d0f09a5c5cd57d7)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-14 14:54:20 +08:00
Zhou Xiao
fcce32a66c change(ble): Update lib_esp32c6 to 3422b706
(cherry picked from commit 4fc95fa91f178aeed607d0366e7b91a0ea018ac6)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-14 14:54:18 +08:00
Zhou Xiao
1c89a133f2 change(ble): Update lib_esp32h2 to 3422b706
(cherry picked from commit fe5a12e7e74de53b8d3c6d5088419deb9a69f704)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-14 14:54:16 +08:00
Abhinav Kudnar
eb4ce28bfc feat(nimble): Additional changes in PAWR IDF Examples/support for ESP IP 2025-01-10 17:13:32 +05:30
Rahul Tank
4fda5fd142 fix(nimble): Fixed a typo in Kconfig file 2025-01-10 17:13:17 +05:30
Astha Verma
b0adb3acac fix(nimble): Added HCI_Read_Remote_Version_Information command 2025-01-10 17:13:02 +05:30
Rahul Tank
45141eb6be fix(nimble): Clear our and peer security records during unpair 2025-01-10 17:12:36 +05:30
Island
171a0b9acf Merge branch 'feat/add_config_for_ble_vs_qa_cmd_v5.3' into 'release/v5.3'
fixed interrupt WDT when shutdown bt controller on ESP32(ba6739f) (v5.3)

See merge request espressif/esp-idf!36175
2025-01-10 14:17:36 +08:00
Jiang Jiang Jian
3b9242212c Merge branch 'fix/blufi_example_mem_access_v5.3' into 'release/v5.3'
fix(ble/blufi): Fixed blufi example security issue (v5.3)

See merge request espressif/esp-idf!36163
2025-01-09 11:48:31 +08:00
Island
608ac0bb0a Merge branch 'bugfix/fix_some_ble_bugs_241224_esp32c3_v5.3' into 'release/v5.3'
Fixed some BLE bugs 241224 on ESP32C3(fd62b31) (v5.3)

See merge request espressif/esp-idf!36195
2025-01-09 11:35:00 +08:00
Chen Jian Hua
fb815fb6f3 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(fd62b31)
- Fixed periodic adv enable params checking
- Fixed BLE assert lld_scan.c 1728 when receiving directed adv
- Support resolving RPA to identity address when creating connection
- Fixed BLE assert rwble.c 505 param 00400010
- Fixed peer address type error in HCI LE meta event
- Fixed setting random address failed when extended adv is enabled


(cherry picked from commit 326f391f9c5a218bad521f3a1277fd09f240ac6d)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-01-07 14:33:33 +08:00
Chen Jian Hua
4847e78895 fix(bt): Update bt lib for ESP32(ba6739f)
- Fixed assert in lld_evt.c at line 2353
- Fixed interrupt WDT when shutdown bt controller
- Added config for BLE vendor HCI QA command
- Added config for BLE channel assessment and ping procedure


(cherry picked from commit ad3554fbed715c9cc64fe6db2a81b51770f63504)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-01-06 15:20:14 +08:00
Rahul Tank
3d36093651 fix(nimble): Corrected storing method of csfc to nvs 2025-01-06 10:58:30 +05:30
Zhang Hai Peng
a43f3c46e2 fix(ble/bluedroid): Fixed BLE feature selection configuration
(cherry picked from commit 117aa74705456d69715fcf690a9b5dbc9bce0ce7)

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 c9cdf51b059abb42f621242efb40234ee536f2ad)

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 d84ccadf905bcaadcfbdee0b61e8875775ff716f)

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 3cb2d9c3c639216afb17f12f3fca4675b0bde30c)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-01-06 11:13:51 +08:00
Rahul Tank
6e5a8865de fix(nimble): Address few coverity reported issues
1. Overflowed constant (INTEGER_OVERFLOW): Added change to typecast
value
2. Structurally dead code: Removed dead code
3. Resource leak: Added a free for allocated memory, in case of failure
4. too_few_printf_args: Corrected print statement to pass arguments
5. Fixed nesting levels
6. Fixed unused value warnings
7. Illegal memory access fix
2025-01-03 17:55:41 +05:30
Abhinav Kudnar
1c195041d2 fix(nimble): Save the gatt context in case of preemption 2024-12-30 20:00:05 +08:00
Rahul Tank
cc83b057b9 fix(nimble): Fix compilation issue for combination of Ext Adv and Reattempt conn flag 2024-12-30 14:27:57 +05:30
Rahul Tank
c889978a12 Merge branch 'bugfix/force_att_tx_q_cleanup_v5.3' into 'release/v5.3'
fix(nimble): Add ATT Tx queue cleanup during link disconnection (v5.3)

See merge request espressif/esp-idf!36006
2024-12-27 20:07:59 +08:00
Island
31b7c82a8f Merge branch 'docs/refactor_ceva_bt_controller_api_v5.3_1215' into 'release/v5.3'
docs(ble): Refactored the API reference for esp32/c3/s3 BT controller (v5.3)

See merge request espressif/esp-idf!35636
2024-12-27 18:45:10 +08:00
Wang Meng Yang
93178f26db Merge branch 'bugfix/fix_btqabr2023330_v5.3' into 'release/v5.3'
fix(bt): Fix error code returned by create_conn_cancel_cmd at different status (backport v5.3)

See merge request espressif/esp-idf!35734
2024-12-27 11:02:59 +08:00
Rahul Tank
8a2ba98b8b fix(nimble): Add ATT Tx queue cleanup during link disconnection 2024-12-26 12:57:10 +05:30
Island
d0a157e723 Merge branch 'refactor/optimize_ble_gatt_api_doc_v5.3' into 'release/v5.3'
refactor(bt/bluedroid): Optimize BLE GATT related APIs reference (v5.3)

See merge request espressif/esp-idf!35918
2024-12-26 14:25:08 +08:00
chenqingqing
b7148ab71f fix(bt): Fix error code returned by create_conn_cancel_cmd at different status
- Closes https://github.com/espressif/esp-idf/issues/7763
2024-12-25 10:01:57 +08:00
zwl
eb0c5ed331 feat(ble): add dtm configuration command in hci example 2024-12-24 19:30:30 +08:00
Zhao Wei Liang
ea2cf71b2f feat(ble): Support get ble controller free heap size on ESP32-C2
(cherry picked from commit 2cb7d2437bc81124c2cc4a0f4b9e94bac2318f0e)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-24 15:21:36 +08:00
Zhao Wei Liang
9c0c5af372 feat(ble): Support get ble controller free heap size on ESP32-H2
(cherry picked from commit 12f226be7d9b02e27d4e98b018d886af7fb8b621)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-24 15:21:34 +08:00