Commit Graph
1772 Commits
Author SHA1 Message Date
Rahul Tank 7d7264fe6e fix(nimble): Avoid ext adv data in reattempt advertising 2025-10-21 11:05:02 +05:30
Rahul Tank ac358af152 fix(nimble): Added code to handle sending indicate 2025-10-21 11:04:12 +05:30
Zhang Hai Peng 37a7ad84e4 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:45 +08:00
luoxu 177dd7d655 feat(ble): Support ble log compression(draft) 2025-10-15 16:52:02 +08:00
Zhang Hai Peng b69f694272 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:44 +08:00
Zhang Hai Peng aa51badabe 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:42 +08:00
yangfeng 2788110ef0 fix(bt/bluedroid): Fix the boundary conditions when checking EIR data 2025-10-13 11:55:04 +08:00
Chen Jian Hua 35b7629b1a feat(ble/bluedroid): Added API to set channel map for scanning
(cherry picked from commit fd4bb69357)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-09-28 19:09:58 +08:00
JinCheng 50f5422370 fix(bluedroid): removed the code relying on compiler-specific extension for FAM in union 2025-09-27 11:33:22 +08:00
JinCheng 2f788e59ee fix(bt/bluedroid): fixed potential OOB in Bluedroid 2025-09-26 17:29:31 +08:00
Chen Jian Hua d4bdb51c53 fix(ble/bluedroid): Fixed the status setting in the HCI event
(cherry picked from commit 4ae438cca2)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-09-26 10:48:38 +08:00
Astha Verma ff33779405 fix(nimble): Fixed incorrect HCI status in connect event 2025-09-15 11:00:17 +05:30
Rahul Tank 1e77360946 fix(nimble): Fixed reattempt count handling for perdiodic adv 2025-09-10 18:52:39 +05:30
Rahul Tank 9b93a39ffb 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-22 16:16:54 +05:30
Shen Wei Long fda2c315e9 fix(ble): Invoke ble_transport_ll_init after ble_transport_hs_init for nimble
(cherry picked from commit c3f42161a1)

Co-authored-by: Shen Weilong <shenweilong@espressif.com>
2025-08-21 09:23:42 +00:00
Wang Meng Yang 2dac39bd83 Merge branch 'bugfix/fix_bt_security_v5.4' into 'release/v5.4'
fix(bt/bluedroid): Prevent out-of-bounds access and add type check when resolving EIR data (v5.4)

See merge request espressif/esp-idf!41398
2025-08-21 16:17:12 +08:00
Liu Linyan cec09344dc feat(ble): ISO minor support for NimBLE Host 2025-08-20 17:00:53 +05:30
Rahul Tank de407c6905 Merge branch 'fix/adding_missing_apis_nimble_v5.4' into 'release/v5.4'
fix(nimble): Added helper APIs in NimBLE (v5.4)

See merge request espressif/esp-idf!40929
2025-08-20 16:19:34 +05:30
yangfeng 0c7f765b69 fix(bt/bluedroid): Prevent out-of-bounds access and add type check when resolving EIR data 2025-08-20 14:30:52 +08:00
Island d66354c354 Merge branch 'bugfix/ble_enhanced_security_v2_v5.4' into 'release/v5.4'
fix(ble/bluedroid): Fixed potential out-of-bounds memory access when resolve adv data (v5.4)

See merge request espressif/esp-idf!41306
2025-08-20 11:18:22 +08:00
Island dfc292844f Merge branch 'feat/support_cble50y24_108_v5.4' into 'release/v5.4'
Support multi-connection optimization and examples on Bluedroid (v5.4)

See merge request espressif/esp-idf!41199
2025-08-19 21:11:00 +08:00
Astha Verma 0181cbd3ca fix(nimble): Added missing api in nimble which present in bluedroid 2025-08-19 12:23:31 +05:30
Shen Wei Long bb650efb21 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:27 +00:00
Zhang Hai Peng 7b97a8ee35 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:53:56 +08:00
Chen Jian Hua ef85ffbfe5 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:33:56 +08:00
Chen Jian Hua 108a394e2c 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:33:54 +08:00
Chen Jian Huaandxuzhekai 7cdd1068f7 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:33:51 +08:00
Sumeet Singh dec8a657ce fix(nimble): Update ble_gatts_show_local with CPFDs and CAFDs (v5.4) 2025-08-11 17:33:50 +05:30
Rahul Tank 9d9e3a8ee4 fix(nimble): Add VSC for Set Scan Channel Bitmap 2025-08-08 11:30:25 +05:30
Astha Verma d89aaefc46 fix(nimble): Handle count correctly by considering offset. 2025-08-05 14:43:17 +05:30
Astha Verma 62c0875cf2 fix(nimble): Updating the count parameter when fetching gatt db 2025-08-05 14:19:28 +05:30
Rahul Tank 3dd2087108 Merge branch 'bugfix/fix_compilation_issue_v5.4' into 'release/v5.4'
fix(nimble): Fixed compilation issue with BLE_GATTS flag (v5.4)

See merge request espressif/esp-idf!40810
2025-07-29 11:26:26 +05:30
Rahul Tank 2fcaa705ba fix(nimble): Added code under correct flags to fix compilation warnings 2025-07-28 10:22:42 +05:30
Zhang Hai Peng bbc3f1d8d8 fix(ble/bluedroid): Fixed fail to disconnect when device record is cleared
(cherry picked from commit b6dc79af47)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-07-25 21:54:04 +08:00
Zhang Hai Peng c640b35a48 fix(ble/bluedroid): fix incorrect resolving_list_avail_size update
(cherry picked from commit ac385530af)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-07-25 21:54:01 +08:00
Zhang Hai Peng 4616982b39 fix(ble/bluedroid): ensure resolving list is updated when the oldest device is removed
(cherry picked from commit 61606a6f95)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-07-25 21:53:59 +08:00
Zhang Hai Peng 5b79aa9a12 fix(ble/bluedroid): Fix issue causing BTM_GetSecurityFlags failed
(cherry picked from commit 48235c7b25)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-07-25 21:53:56 +08:00
Rahul Tank ace0f634d3 Merge branch 'fix/clear_gatt_svc_len_v5.4' into 'release/v5.4'
fix(nimble): Clear GATT service entries counter upon GATT deinit (v5.4)

See merge request espressif/esp-idf!40546
2025-07-25 16:36:38 +05:30
Rahul Tank 2ff67c4beb Merge branch 'bugfix/retry_packet_alloc_v5.4' into 'release/v5.4'
fix(nimble): Add packet allocation retry for limited iteration (v5.4)

See merge request espressif/esp-idf!40684
2025-07-24 10:13:47 +05:30
xiongweichao f1b7b474c5 feat(bt): Add record_handle in ESP_SDP_REMOVE_RECORD_COMP_EVT 2025-07-21 10:27:34 +08:00
Rahul Tank 1410ab3335 fix(nimble): Add packet allocation retry for limited iteration 2025-07-18 11:00:05 +05:30
Sumeet Singh 7dc79fd9f7 fix(nimble): Clear GATT service entries counter upon GATT deinit (v5.4) 2025-07-11 17:54:35 +05:30
Jiang Jiang Jian 0f4cc8eb44 Merge branch 'bugfix/ag_data_callback_cleared_after_deinit_v5.4' into 'release/v5.4'
fix(bt): Fixed HFP AG data callback cleared after profile is re-initialized(v5.4)

See merge request espressif/esp-idf!39978
2025-07-11 13:44:25 +08:00
Island c31df8ff8a Merge branch 'feat/ble_log_spi_out_dev_phase_4_v5.4' into 'release/v5.4'
BLE Log SPI Out Dev Phase 4 (v5.4)

See merge request espressif/esp-idf!40425
2025-07-09 14:06:38 +08:00
Rahul Tank 10a1413155 Merge branch 'bugfix/fix_gatt_cache_server_compile_v5.4' into 'release/v5.4'
fix(nimble): Fix compilation issues when gatt caching is enabled in peripheral only mode (v5.4)

See merge request espressif/esp-idf!40400
2025-07-08 16:20:01 +05:30
Zhou Xiao b58dbc325f change(ble): enable hci log spi out for ESP chips
(cherry picked from commit c60dd1a10e)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:15:17 +08:00
Zhou Xiao 275047b476 change(ble): enable bluedroid logs over debug level through spi output
(cherry picked from commit c0d2792b9d)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:15:15 +08:00
Zhou Xiao b073f02a05 feat(ble): support host & hci log module
(cherry picked from commit dd4cbe5e00)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-08 13:15:10 +08:00
Island 2b0b65fb0a Merge branch 'bugfix/fix_blecibr25_119_v5.4' into 'release/v5.4'
fix(ble/bluedroid): Fixed extended adv restart failure during reconnection (v5.4)

See merge request espressif/esp-idf!39777
2025-07-08 11:40:43 +08:00
Rahul Tank 50b6bdb61b fix(nimble): Fix compilation issues when gatt caching is enabled in server only mode 2025-07-07 11:40:56 +05:30