Commit Graph

1622 Commits

Author SHA1 Message Date
Zhang Hai Peng
fc1d5a8f9a fix(ble/bluedroid): fix memory leak during deinit when service table is created but not started
(cherry picked from commit ddd12f2498282e147044d1fe532a51aeb18875f9)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-10-17 16:45:50 +08:00
Island
d4a52b13f2 Merge branch 'bugfix/fix_ble_deinit_crash_v5.5' into 'release/v5.5'
fix(ble/bluedroid): prevent crash when deinit/disable host during scan (v5.5)

See merge request espressif/esp-idf!42600
2025-10-16 19:45:54 +08:00
Shreeyash
944e2527d1 fix(nimble): fix array overflow caused by invalid connection handle indexing 2025-10-15 15:59:41 +05:30
Zhang Hai Peng
cd793de75a fix(ble/bluedroid): prevent crash when deinit/disable host during scan
Crash occurs if the BLE host is deinitialized or disabled while scanning is still active.
This usage is not recommended.


(cherry picked from commit ca2c78f53e)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-10-14 21:53:52 +08:00
Zhang Hai Peng
181cd0bee9 fix(ble/bluedroid): Fixed resolve adv data crash if host deinitialized or disabled
(cherry picked from commit 7ce921ed95)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-10-14 21:53:50 +08:00
Rahul Tank
126b8f8789 fix(nimble): Added CS service support 2025-10-14 16:41:02 +05:30
Rahul Tank
5652984db9 feat(nimble): Base support for Channel sounding HCI command and events 2025-10-14 12:14:19 +05:30
Rahul Tank
38917f3435 Merge branch 'bugfix/use_nimble_mem_apis_v5.5' into 'release/v5.5'
fix(nimble): Use nimble platform mem malloc / free APIs (v5.5)

See merge request espressif/esp-idf!42287
2025-10-14 11:50:34 +05:30
Jiang Jiang Jian
799e347522 Merge branch 'bugfix/fix_bt_security_v5.5' into 'release/v5.5'
fix(bt/bluedroid): Fix the boundary conditions when checking EIR data (v5.5)

See merge request espressif/esp-idf!42448
2025-10-13 20:39:27 +08:00
Rahul Tank
233ea11ab0 fix(nimble): Use nimble platform mem malloc / free APIs 2025-10-13 12:20:42 +05:30
Island
690e83d456 Merge branch 'feat/support_blecrt_489_v5.5' into 'release/v5.5'
feat(ble/bluedroid): Added API to set channel map for scanning (v5.5)

See merge request espressif/esp-idf!42258
2025-10-13 12:07:30 +08:00
yangfeng
1f4e41d2ac fix(bt/bluedroid): Fix the boundary conditions when checking EIR data 2025-10-13 11:43:50 +08:00
Jiang Jiang Jian
3c0e283930 Merge branch 'bugfix/fix_some_bt_bugs_v5.5' into 'release/v5.5'
fix(bt): fix some bluetooth bugs (v5.5)

See merge request espressif/esp-idf!42466
2025-10-13 10:29:02 +08:00
Rahul Tank
c5a8693174 Merge branch 'bugfix/fix_os_mbuf_dup_v5.5' into 'release/v5.5'
fix(nimble): Address mbuf from different chains traversal during copying (v5.5)

See merge request espressif/esp-idf!42366
2025-10-10 15:31:18 +05:30
linruihao
594de5dd36 fix(bt/bluedroid): fix hfp ag external codec datapath issue
Closes https://github.com/espressif/esp-idf/issues/17480
2025-10-10 14:31:06 +08:00
Jiang Jiang Jian
7aee10fc67 Merge branch 'bugfix/fix_bleqabr25_1004_v5.5' into 'release/v5.5'
fix(ble/bluedroid): Fixed the status setting in the HCI event (v5.5)

See merge request espressif/esp-idf!42195
2025-10-10 10:26:33 +08:00
Chen Jian Hua
2b533e88ce feat(ble/bluedroid): Added API to set channel map for scanning
(cherry picked from commit fd4bb69357)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-10-10 00:06:39 +08:00
Rahul Tank
ad73a70997 fix(nimble): Address mbuf from different chains traversal during copying 2025-10-09 20:21:14 +05:30
Rahul Tank
e8ff0a5656 Merge branch 'bugfix/fix_ext_adv_data_reattempt_v5.5' into 'release/v5.5'
fix(nimble): Avoid ext adv data in reattempt advertising (v5.5)

See merge request espressif/esp-idf!42129
2025-10-09 20:20:37 +05:30
Rahul Tank
54de9c4aa5 Merge branch 'bugfix/re_organize_nimble_kconfig_v5.5' into 'release/v5.5'
fix(nimble): Declutter the nimble menu config options (v5.5)

See merge request espressif/esp-idf!42302
2025-10-08 11:04:29 +05:30
Chen Jian Hua
a4004031bd fix(ble/bluedroid): Fixed the status setting in the HCI event
(cherry picked from commit 4ae438cca2)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-10-01 00:07:54 +08:00
Rahul Tank
67003b5630 fix(nimble): Declutter the nimble menu config options 2025-09-30 14:41:45 +05:30
Rahul Tank
e2b2a4d841 fix(nimble): Avoid ext adv data in reattempt advertising 2025-09-30 12:09:42 +05:30
JinCheng
c3efac4608 fix(bluedroid): removed the code relying on compiler-specific extension for FAM in union 2025-09-27 11:31:05 +08:00
JinCheng
999710fccf fix(bt/bluedroid): fixed potential OOB in Bluedroid 2025-09-26 17:28:55 +08:00
Rahul Tank
965e2e47d4 Merge branch 'feat/separate_indicate_v5.5' into 'release/v5.5'
fix(nimble): Added code to handle sending indicate (v5.5)

See merge request espressif/esp-idf!41990
2025-09-24 09:09:25 +05:30
Island
636daf109c Merge branch 'feat/ble_log_v2_with_log_compression_v5.5' into 'release/v5.5'
feat(ble): Support ble log compression(draft)(v5.5)

See merge request espressif/esp-idf!41757
2025-09-24 10:28:17 +08:00
Rahul Tank
6ea055c1b9 fix(nimble): Added code to handle sending indicate 2025-09-22 21:50:26 +05:30
Island
56bef4d352 Merge branch 'bugfix/ble_enhanced_security_v2_v5.5' into 'release/v5.5'
fix(ble/bluedroid): Fixed potential out-of-bounds memory access when resolve adv data (v5.5)

See merge request espressif/esp-idf!41307
2025-09-22 10:27:27 +08:00
luoxu
2d2ec6c34e feat(ble): Support ble log compression(draft) 2025-09-22 00:05:02 +08:00
Astha Verma
cc0efd88c0 fix(nimble): Fixed incorrect HCI status in connect event 2025-09-15 10:59:12 +05:30
Rahul Tank
2550e531d1 fix(nimble): Fixed reattempt count handling for perdiodic adv 2025-09-10 18:52:09 +05:30
Island
ba4300c226 Merge branch 'feat/support_cble50y24_108_v5.5' into 'release/v5.5'
Support multi-connection optimization and examples on Bluedroid (v5.5)

See merge request espressif/esp-idf!41200
2025-09-04 12:02:33 +08:00
Wang Meng Yang
eef2fef386 Merge branch 'bugfix/check_bd_addr_only_for_bredr_v5.5' into 'release/v5.5'
fix(bt): check bd address only for bredr in bluedroid host l2cu_allocate_lcb() (v5.5)

See merge request espressif/esp-idf!41361
2025-09-02 14:07:39 +08:00
Jiang Jiang Jian
87793a2a21 Merge branch 'bugfix/fix_bt_security_v5.5' into 'release/v5.5'
fix(bt/bluedroid): Prevent out-of-bounds access and add type check when resolving EIR data (v5.5)

See merge request espressif/esp-idf!41397
2025-09-01 14:46:22 +08:00
Rahul Tank
c8b67b732c fix(nimble): Add code to post connection failure
In event of a corner case, where connection is not completed,
connection reattempt is disabled, so need to post connection
failure event to application to make it aware of the failure
2025-08-26 17:36:01 +05:30
Shen Weilong
191a231e37 fix(ble): Invoke ble_transport_ll_init after ble_transport_hs_init for nimble 2025-08-26 17:35:28 +05:30
Astha Verma
84dac281cf fix(nimble): Added missing api in nimble which present in bluedroid 2025-08-26 17:34:51 +05:30
Liu Linyan
9247fa00a3 feat(ble): ISO minor support for NimBLE Host 2025-08-26 17:34:15 +05:30
Sumeet Singh
1480e4077a fix(nimble): Update ble_gatts_show_local with CPFDs and CAFDs (v5.5) 2025-08-26 17:33:35 +05:30
Rahul Tank
dae216df2f fix(nimble): Add VSC for Set Scan Channel Bitmap 2025-08-26 17:33:07 +05:30
yangfeng
1cd73de8d9 fix(bt/bluedroid): Prevent out-of-bounds access and add type check when resolving EIR data 2025-08-20 14:30:46 +08:00
Shen Wei Long
320041a560 fix(bt): check bd address only for bredr in bluedroid host l2cu_allocate_lcb()
(cherry picked from commit 61c13ef849)

Co-authored-by: Shen Weilong <shenweilong@espressif.com>
2025-08-18 13:23:33 +00:00
Zhang Hai Peng
91ef2747b6 fix(ble/bluedroid): Fixed potential out-of-bounds memory access when resolve adv data
(cherry picked from commit 12df54e8d1)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-08-15 14:54:07 +08:00
Chen Jian Hua
15b0ff3c2b feat(ble/bluedroid): Support multi-connection optimization vendor hci command
(cherry picked from commit f0cfb6e33c)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-08-12 21:34:10 +08:00
Chen Jian Hua
df8533a46e fix(ble/bluedroid): Fixed the connection count limit in multi-connection
(cherry picked from commit 437aba1653)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-08-12 21:34:07 +08:00
Chen Jian Hua
4eee831831 fix(bt/bluedroid): adjust L2CAP round robin msg send strategy
(cherry picked from commit 2ccae5330e)

Co-authored-by: xuzhekai <xuzhekai@espressif.com>
2025-08-12 21:34:04 +08:00
Astha Verma
a1a9bf60ae fix(nimble): Handle count correctly by considering offset. 2025-08-05 14:37:04 +05:30
Astha Verma
2fa78fa42e fix(nimble): Updating the count parameter when fetching gatt db 2025-08-05 14:08:00 +05:30
Jiang Jiang Jian
160883a48f Merge branch 'bugfix/fix_compilation_issue_v5.5' into 'release/v5.5'
fix(nimble): Fixed compilation issue with BLE_GATTS flag (v5.5)

See merge request espressif/esp-idf!40809
2025-08-01 10:29:26 +08:00