Commit Graph

1374 Commits

Author SHA1 Message Date
JinCheng
5033befc84 fix(bluedroid): removed the code relying on compiler-specific extension for FAM in union 2025-09-27 11:34:19 +08:00
JinCheng
798029129a fix(bt/bluedroid): fixed potential OOB in Bluedroid 2025-09-26 17:32:12 +08:00
Rahul Tank
4e1d375cd4 fix(nimble): Added code to handle sending indicate 2025-09-22 21:55:29 +05:30
Astha Verma
608ca24bab fix(nimble): Fixed incorrect HCI status in connect event 2025-09-17 18:19:47 +05:30
Rahul Tank
fd45284bcb fix(nimble): Fixed reattempt count handling for perdiodic adv 2025-09-16 00:07:23 +08:00
Rahul Tank
e71b10a23d 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:21:39 +05:30
Wang Meng Yang
8f9a806d7a Merge branch 'bugfix/fix_bt_security_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Prevent out-of-bounds access and add type check when resolving EIR data (v5.1)

See merge request espressif/esp-idf!41401
2025-08-21 19:43:20 +08:00
Rahul Tank
a32c2cc896 Merge branch 'fix/adding_missing_apis_nimble_v5.1' into 'release/v5.1'
fix(nimble): Added helper APIs in NimBLE (v5.1)

See merge request espressif/esp-idf!40932
2025-08-20 16:33:48 +05:30
yangfeng
f08c4dbea1 fix(bt/bluedroid): Prevent out-of-bounds access and add type check when resolving EIR data 2025-08-20 14:31:15 +08:00
Island
035e2f5f32 Merge branch 'bugfix/ble_enhanced_security_v2_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fixed potential out-of-bounds memory access when resolve adv data (v5.1)

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

See merge request espressif/esp-idf!41196
2025-08-19 21:10:50 +08:00
Astha Verma
2c04c713bd fix(nimble): Added missing api in nimble which present in bluedroid 2025-08-19 12:33:39 +05:30
Shen Wei Long
ade8924897 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:12 +00:00
chenjianhua
03adca82ab feat(ble/bluedroid): Support multi-connection optimization vendor hci command 2025-08-18 19:44:36 +08:00
Chen Jian Hua
73f68f5993 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-18 19:44:36 +08:00
Chen Jian Hua
a757cd256d fix(bt/bluedroid): adjust L2CAP round robin msg send strategy
(cherry picked from commit 2ccae5330e)

Co-authored-by: xuzhekai <xuzhekai@espressif.com>
2025-08-18 19:44:36 +08:00
Zhang Hai Peng
bdb4d0f8e9 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:23 +08:00
Sumeet Singh
a764be9aa5 fix(nimble): Update ble_gatts_show_local with CPFDs and CAFDs (v5.1) 2025-08-11 17:43:48 +05:30
Astha Verma
dbe83fd261 fix(nimble): Handle count correctly by considering offset. 2025-08-05 14:48:52 +05:30
Astha Verma
d0daf991a0 fix(nimble): Updating the count parameter when fetching gatt db 2025-08-05 14:24:20 +05:30
Wang Meng Yang
ab3034f72d Merge branch 'feat/add_handl_in_sdp_evt_v5.1' into 'release/v5.1'
feat(bt): Add record_handle in ESP_SDP_REMOVE_RECORD_COMP_EVT(v5.1)

See merge request espressif/esp-idf!40722
2025-08-02 14:59:07 +08:00
Rahul Tank
cdbc997800 Merge branch 'bugfix/fix_compilation_issue_v5.1' into 'release/v5.1'
fix(nimble): Fixed compilation issue with BLE_GATTS flag (v5.1)

See merge request espressif/esp-idf!40813
2025-07-29 11:37:58 +05:30
xiongweichao
3cbf1d7ab3 feat(bt): Add record_handle in ESP_SDP_REMOVE_RECORD_COMP_EVT 2025-07-28 07:48:40 +00:00
Rahul Tank
25aee09459 fix(nimble): Added code under correct flags to fix compilation warnings 2025-07-28 10:27:45 +05:30
Zhang Hai Peng
0fa5f59d2b 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:53:23 +08:00
Zhang Hai Peng
4d4e14a83e 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:53:21 +08:00
Zhang Hai Peng
3ebd5ad0fc 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:18 +08:00
Zhang Hai Peng
59de68ee84 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:16 +08:00
Rahul Tank
e6955dee22 Merge branch 'fix/clear_gatt_svc_len_v5.1' into 'release/v5.1'
fix(nimble): Clear GATT service entries counter upon GATT deinit (v5.1)

See merge request espressif/esp-idf!40549
2025-07-25 16:43:46 +05:30
Rahul Tank
6502b66afb fix(nimble): Add packet allocation retry for limited iteration 2025-07-18 11:02:17 +05:30
Sumeet Singh
5d8d62e19a fix(nimble): Clear GATT service entries counter upon GATT deinit (v5.1) 2025-07-11 18:09:12 +05:30
Zhou Xiao
e1e72c907b change(ble): enable hci log spi out for ESP chips 2025-07-08 23:06:55 +08:00
Zhou Xiao
2356f52e0c change(ble): enable bluedroid logs over debug level through spi output 2025-07-08 23:06:55 +08:00
Zhou Xiao
f15fce7756 feat(ble): support host & hci log module 2025-07-08 23:06:49 +08:00
Rahul Tank
5846e218b1 Merge branch 'bugfix/fix_gatt_cache_server_compile_v5.1' into 'release/v5.1'
fix(nimble): Fix compilation issues when gatt caching is enabled in peripheral only mode (v5.1)

See merge request espressif/esp-idf!40403
2025-07-08 16:14:38 +05:30
Jiang Jiang Jian
651f1e86e4 Merge branch 'bugfix/ag_data_callback_cleared_after_deinit_v5.1' into 'release/v5.1'
fix(bt): Fixed HFP AG data callback cleared after profile is re-initialized (v5.1)

See merge request espressif/esp-idf!39977
2025-07-08 10:46:35 +08:00
Rahul Tank
a5632e466a fix(nimble): Fix compilation issues when gatt caching is enabled in server only mode 2025-07-07 11:45:31 +05:30
Rahul Tank
491daf3212 fix(nimble): Handle 0x3e disconnect during rem feat/ read version 2025-07-03 12:56:21 +05:30
Rahul Tank
6965e6381a fix(nimble): Add missing ble_hs_unlock() call 2025-06-30 20:20:22 +05:30
Wang Mengyang
7faee53006 fix(bt): Fixed HFP AG data callback cleared after profile is re-initialized 2025-06-19 07:31:19 +08:00
Astha Verma
d89d9a500c fix(nimble): Added parameter in peer_init for included service allocation 2025-06-17 12:00:29 +05:30
Sumeet Singh
947b4a64a5 feat(nimble): Added two GATT features:
1. Automatically initiate security if a GATT service request fails
2. Encryption, Authentication, and Authorization requirement on CCCD
2025-06-16 17:04:27 +05:30
Rahul Tank
129137342e Merge branch 'fix/nimble_pr_issues_v5.1' into 'release/v5.1'
fix(nimble): Add fixes for compilation issues in nimble (v5.1)

See merge request espressif/esp-idf!39845
2025-06-16 15:52:06 +05:30
Island
cf95955f1b Merge branch 'bugfix/fix_blecibr25_119_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fixed extended adv restart failure during reconnection (v5.1)

See merge request espressif/esp-idf!39774
2025-06-13 10:59:18 +08:00
Rahul Tank
59a8334624 fix(nimble): Add fixes for compilation issues in nimble
1. Fix compile failures when CSFCS is 0
2. Wrap BLE service API with extern "C"
2025-06-12 21:03:31 +05:30
Rahul Tank
5a5163c189 Merge branch 'bugfix/fix_kconfig_names_v5.1' into 'release/v5.1'
fix(nimble): Modified Kconfig information to make it more user friendly (v5.1)

See merge request espressif/esp-idf!39647
2025-06-12 20:29:56 +05:30
Rahul Tank
735ffc0c5e fix(nimble): Add invocation for mempool_deinit 2025-06-11 21:16:09 +05:30
chenjianhua
cdc7d549d1 feat(ble/bluedroid): Support anonymous address type for white list 2025-06-11 11:36:29 +08:00
chenjianhua
a763feb77c feat(ble/bluedroid): Support BLE vendor event reporting with params 2025-06-11 11:15:52 +08:00
chenjianhua
102017e9bd fix(bt/bluedroid): Fixed BLE connection active count getting 2025-06-11 11:13:33 +08:00