Commit Graph

1380 Commits

Author SHA1 Message Date
Rahul Tank
68382f6a1f fix(nimble): Fix various issues for security/vulnerability in host 2026-02-24 15:57:31 +05:30
Rahul Tank
d6ce5da7b6 fix(nimble): Bugfixes for various issues 2026-02-16 11:17:56 +05:30
Rahul Tank
47aebc48f5 fix(nimble): Fix ble_multi_adv example to show correct UUIDs information 2026-02-11 12:38:06 +05:30
Rahul Tank
fada2a1e45 Merge branch 'bugfix/security_fixes_for_examples_v5.4' into 'release/v5.4'
fix(nimble): Fix vulnerabilities in NimBLE examples (v5.4)

See merge request espressif/esp-idf!45482
2026-02-09 14:24:05 +05:30
Shreeyash
dacec1afa1 fix(nimble): Fix vulnerabilities in NimBLE examples 2026-02-06 18:43:33 +05:30
luoxu
6a79fd2621 feat(ble_mesh): alignment to release/v6.0 2026-02-06 11:18:19 +08:00
Astha Verma
c1afe828bc fix(nimble): Added device name log for ext adv in blecent_throughput 2026-02-03 16:27:22 +05:30
zhiweijian
67cadec2a8 fix(ble/bluedroid): Change blufi sdkconfig 2026-01-30 20:16:01 +08:00
zhiweijian
467cc4ddb4 fix(ble/bluedroid): Change 5.0 event status 2026-01-30 20:15:51 +08:00
zhiweijian
dd35a4eaef feat(ble/bluedroid): Add new bluedroid host examples 2026-01-30 20:14:59 +08:00
Astha Verma
1ee20b1365 fix(nimble): Reset HID service during deinit 2026-01-28 12:18:20 +08:00
Jin Cheng
cef2470455 fix(bt/bluedroid): add status management for audio sink service channel 2026-01-15 09:13:38 +08:00
Rahul Tank
c195fd11de fix(nimble): Add AD type macros in example 2026-01-14 10:53:25 +05:30
Zhang Hai Peng
c3d5c161ca feat(examples/bluedroid): add BLE ACL latency measurement example
(cherry picked from commit 934970a06f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-09 14:11:17 +08:00
zhanghaipeng
29c6755b46 fix(ble/hci): Fix OOB read in ble_adv_scan_combined example 2026-01-09 14:11:17 +08:00
Zhang Hai Peng
a599bc9a02 docs(ble): add flow diagrams to bluedroid BLE examples
(cherry picked from commit 051077835c)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-09 14:11:17 +08:00
Zhang Hai Peng
c69a9f9d19 refactor(examples/bluedroid): Replace hardcoded ADV type values with macros
(cherry picked from commit fdeb5ad87a)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-09 14:10:59 +08:00
Zhang Hai Peng
d1bf2668c1 feat(examples/bluedroid): Add BLE time interval conversion macros for better readability
Add macros to convert time values from milliseconds to BLE interval units:
- ESP_BLE_GAP_ADV_ITVL_MS: Convert advertising interval (0.625ms unit)
- ESP_BLE_GAP_SCAN_ITVL_MS: Convert scan interval (0.625ms unit)
- ESP_BLE_GAP_SCAN_WIN_MS: Convert scan window (0.625ms unit)
- ESP_BLE_GAP_CONN_ITVL_MS: Convert connection interval (1.25ms unit)
- ESP_BLE_GAP_PERIODIC_ADV_ITVL_MS: Convert periodic adv interval (1.25ms unit)
- ESP_BLE_GAP_SUPERVISION_TIMEOUT_MS: Convert supervision timeout (10ms unit)

(cherry picked from commit 7cd2f7b34d)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-09 14:09:16 +08:00
Zhang Hai Peng
aa70c1d27c fix(ble/bluedroid): Added security check in example Bluedroid_GATT_Server
(cherry picked from commit a36bf7fe14)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-09 14:09:16 +08:00
zhiweijian
80b6fceac5 fix(ble/bluedroid): Replaced the psa_ api with the mbedtls_ api 2026-01-06 21:08:30 +08:00
zhiweijian
61162a7887 feat(ble/bluedroid): Support bluedroid encrypted advertising data 2026-01-06 20:43:20 +08:00
yangfeng
ccb49f07e7 refactor(examples/classic_bt): Add example tests for A2DP and AVRCP examples 2025-12-25 10:54:32 +08:00
yangfeng
b3aa863759 docs: Add explanations for the A2DP sink stream and AVRCP examples
- Modify the path of A2DP sink example
2025-12-25 10:54:32 +08:00
yangfeng
fb7fc40fec refactor(examples/classic_bt): Add AVRCP cover art example with LCD display 2025-12-25 10:54:32 +08:00
yangfeng
38a2e9dbd0 refactor(examples/classic_bt): Add common code for AVRCP cover art example 2025-12-25 10:54:32 +08:00
yangfeng
291369475e refactor: Refactor the example of the coexistence of A2DP sink and GATT service 2025-12-25 10:54:32 +08:00
yangfeng
ed563043c8 refactor(examples/classic_bt): Refactor A2DP sink and AVRCP examples
- Add avrcp_ct_metadata example
- Add avrcp_absolute_volume example
- Add the example components about common code for a2dp sink and avrcp
2025-12-25 10:54:21 +08:00
Rahul Tank
9e157e314a feat(nimble): Add support for static passkey 2025-12-22 21:16:35 +05:30
Island
63bc003841 Merge branch 'feature/extend_h2_conon_num_to_70_v5.4' into 'release/v5.4'
change(ble): Updated the maximum number of concurrent connections to 70 on ESP32-H2 (v5.4)

See merge request espressif/esp-idf!43834
2025-12-19 14:31:56 +08:00
Island
c678100216 Merge branch 'bugfix/fix_ble_security_issue_2025_v5.4' into 'release/v5.4'
Fix potential CVE-2024-0039 out-of-bounds write in attp_build_value_cmd (v5.4)

See merge request espressif/esp-idf!43806
2025-12-18 10:55:49 +08:00
Shen Wei Long
5060e2f40d change(ble): Updated the maximum number of concurrent connections to 70 on ESP32-H2
(cherry picked from commit cd33f13521)

Co-authored-by: ShenWeilong <shenweilong@espressif.com>
2025-12-12 15:10:44 +08:00
Zhang Hai Peng
21330fa36e fix(ble/bluedroid): Fix VLA in a2dp_gatts_coex example
(cherry picked from commit e741f09e0f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:11 +08:00
Zhang Hai Peng
32d0cff8b4 fix(ble/bt): Add NULL check in esp_hid_device example
(cherry picked from commit 8e0f74a2cc)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:10 +08:00
Zhang Hai Peng
4d392802b8 fix(ble/bt): Add NULL check in esp_hid_host example
(cherry picked from commit 8b5dd75368)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:09 +08:00
Zhang Hai Peng
47277079fe fix(ble/blufi): Add DH param length validation
(cherry picked from commit 773814c087)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:09 +08:00
Zhang Hai Peng
236f6c5d3a fix(ble/bluedroid): Fix memory leak in ble_spp_server example
(cherry picked from commit b6b3b81bf6)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:08 +08:00
Zhang Hai Peng
58d214ba33 fix(ble/bluedroid): Use calloc in gatt_server example
(cherry picked from commit e26b60090d)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:08 +08:00
Zhang Hai Peng
d9fd8835b8 fix(ble/bluedroid): Use snprintf in ble_eddystone example
(cherry picked from commit 24e023e307)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:07 +08:00
Zhang Hai Peng
35e452490e fix(ble/bluedroid): Add bounds check in ble_ancs example
(cherry picked from commit 7e876249df)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:07 +08:00
Chen Yudong
0b5e53216a ci: rename wifi_two_dut to two_duts 2025-12-03 09:54:23 +08:00
Luo Xu
04a6e32e94 fix(ble_mesh): add proper memory cleanup in composition data parsing
(cherry picked from commit a45bb6c5da)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-11-28 17:43:47 +08:00
Island
149caedf60 Merge branch 'feat/support_bhost2025_44_v5.4' into 'release/v5.4'
feat(ble/bluedroid): Add more debug log for bluedroid (v5.4)

See merge request espressif/esp-idf!43365
2025-11-26 18:03:03 +08:00
Wang Meng Yang
9cfbb272d9 Merge branch 'bugfix/bt_idf_ci_v5.4' into 'release/v5.4'
fix(bt/examples): Fixed test_bt_l2cap not finding ESP_SDP_CREATE_RECORD_COMP_EVT (v5.4)

See merge request espressif/esp-idf!43604
2025-11-24 14:06:50 +08:00
yangfeng
4d09368528 fix(bt/examples): Fixed test_bt_l2cap not finding ESP_SDP_CREATE_RECORD_COMP_EVT 2025-11-21 19:31:20 +08:00
yangfeng
25424ba340 fix(bt/example): Fixed hf_ag build error 2025-11-21 13:30:02 +08:00
Rasmus Buurman
b30d309872 fix(examples): Fix typos in NimBLE example comments 2025-11-05 11:09:47 +05:30
Rahul Tank
40a5e18e15 fix(nimble): Address compilation issues in nimble examples 2025-10-30 11:36:11 +05:30
Island
ef7b21baa7 Merge branch 'fix/update_pawr_example_docs_v5.4' into 'release/v5.4'
Fix/update pawr example docs (v5.4)

See merge request espressif/esp-idf!42657
2025-10-28 11:14:21 +08:00
Wang Meng Yang
ebfde334ad Merge branch 'bugfix/bt_idf_ci_v5.4' into 'release/v5.4'
fix(example/classic_bt): Fix the potential stack overflow tasks (v5.4)

See merge request espressif/esp-idf!42538
2025-10-27 15:01:37 +08:00
Wang Meng Yang
3fab22649e Merge branch 'bugfix/ci_c3eco7_pwr_save_fail_v5.4' into 'release/v5.4'
fix(ble): fix ci power save test connection failure(v5.4)

See merge request espressif/esp-idf!42775
2025-10-27 14:50:07 +08:00