Commit Graph

1369 Commits

Author SHA1 Message Date
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
xiongweichao
e4bc1bde62 fix(ble): fix ci power save test connection failure 2025-10-21 19:06:29 +08:00
Rahul Tank
5133f785b5 fix(nimble): Declutter the nimble menu config options 2025-10-21 11:24:29 +05:30
Rahul Tank
41df69d958 fix(nimble): Added CS service support 2025-10-21 11:20:06 +05:30
Rahul Tank
667213acee feat(nimble): Base support for Channel sounding HCI command and events 2025-10-21 11:18:22 +05:30
Jin Chen
a27724c94a fix(ble): update the example docs for pawr
(cherry picked from commit 164fec9e74)

Co-authored-by: cjin <jinchen@espressif.com>
2025-10-16 20:13:48 +08:00
yangfeng
14983842ff fix(example/classic_bt): Fix potential stack overflow tasks 2025-10-14 16:33:12 +08:00
yangfeng
73ae66088c fix(example/classic_bt): Fix the stack overflow of the SPPAppT and mouse_move_task tasks 2025-10-10 16:14:04 +08:00
Zhao Wei Liang
41948feece feat(ble): add console command to get dtm rx rssi in hci example
(cherry picked from commit c58f07ed1e)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-09-17 14:47:17 +08:00
Rahul Tank
4fbba5b460 Merge branch 'bugfix/set_tx_power_in_example_v5.4' into 'release/v5.4'
fix(nimble): Add Tx power information in adv data (v5.4)

See merge request espressif/esp-idf!41814
2025-09-11 14:25:23 +05:30
Rahul Tank
8fe269f8ec fix(nimble): Add Tx power information in adv data 2025-09-10 18:46:42 +05:30
Zhou Xiao
0adb736e8f fix(ble): init return code in nimble example
* Closes https://github.com/espressif/esp-idf/issues/17547


(cherry picked from commit 916f87b333)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-09-10 21:13:34 +08:00