Commit Graph

371 Commits

Author SHA1 Message Date
Island
1e07f40a93 Merge branch 'bugfix/fix_some_bluedroid_bugs_260121_v5.2' into 'release/v5.2'
Bugfix/fix some bluedroid bugs 260121 (5.2)

See merge request espressif/esp-idf!46980
2026-04-01 11:45:16 +08:00
Zhi Wei Jian
4813de3e89 fix(ble/bluedroid): fix bugs in BLE 5.0 bluedroid examples
- Fix callback function usage and parameter errors
- Fix spelling: BROCASTER to BROADCASTER in examples
- Update examples to match API changes



(cherry picked from commit 8f4dd7824e)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-03-30 16:45:02 +08:00
yangfeng
07fc9e3127 fix(bt/example): Fixed the HFP printing issue in the CI test 2026-03-30 11:52:23 +08:00
Zhi Wei Jian
64b2e02c8f fix(bluedroid): printf EXAMPLE_CI_ID, PIPELINE_ID and CHIP_ID
(cherry picked from commit 7bb1018948)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-03-23 17:23:37 +08:00
Zhi Wei Jian
9968fe22b8 fix(ble/bluedroid): Fixed Incorrect use of event parameters in gattc_gatts_coex
(cherry picked from commit b218e02b49)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-03-23 17:23:37 +08:00
muhaidong
38c806f9ef fix(wifi): fix lmac tx done assert issue 2026-03-10 20:08:52 +08:00
zhiweijian
6ca15a6977 fix(ble/bluedroid): Change 5.0 event status 2026-01-30 20:25:22 +08:00
zhiweijian
f2ba0aa3be feat(ble/bluedroid): Add new bluedroid host examples 2026-01-30 20:24:33 +08:00
Jin Cheng
19268879bd fix(bt/bluedroid): add status management for audio sink service channel 2026-01-15 09:15:28 +08:00
Zhang Hai Peng
01d2833097 feat(examples/bluedroid): add BLE ACL latency measurement example
(cherry picked from commit 934970a06f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:39 +08:00
Zhang Hai Peng
c9e745c14a docs(ble): add flow diagrams to bluedroid BLE examples
(cherry picked from commit 051077835c)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:39 +08:00
Zhang Hai Peng
2f2bff559a refactor(examples/bluedroid): Replace hardcoded ADV type values with macros
(cherry picked from commit fdeb5ad87a)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:39 +08:00
Zhang Hai Peng
259c9500dd 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-07 19:28:39 +08:00
zhiweijian
b9a200f6b0 fix(ble/bluedroid): Replaced the psa_ api with the mbedtls_ api 2026-01-06 20:52:26 +08:00
zhiweijian
7548eab182 feat(ble/bluedroid): Support bluedroid encrypted advertising data 2026-01-06 20:52:16 +08:00
Wang Meng Yang
35da77d466 Merge branch 'refactor/split_a2dp_sink_v5.2' into 'release/v5.2'
refactor(examples/classic_bt): Split a2dp_sink example(v5.2)

See merge request espressif/esp-idf!44528
2025-12-26 21:26:09 +08:00
Island
edf3fb578d Merge branch 'fix/add_soc_caps_for_pawr_feat_v5.2' into 'release/v5.2'
fix(ble): add soc caps feat for PAwR (v5.2)

See merge request espressif/esp-idf!44147
2025-12-26 14:21:28 +08:00
yangfeng
040d4b948b refactor(examples/classic_bt): Add example tests for A2DP and AVRCP examples 2025-12-25 11:08:30 +08:00
yangfeng
898c087e51 docs: Add explanations for the A2DP sink stream and AVRCP examples
- Modify the path of A2DP sink example
2025-12-25 11:08:30 +08:00
yangfeng
2f794197c9 refactor: Refactor the example of the coexistence of A2DP sink and GATT service 2025-12-25 11:08:02 +08:00
yangfeng
52e364f346 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 11:07:55 +08:00
Island
e483933a71 Merge branch 'bugfix/fix_ble_security_issue_2025_v5.2' into 'release/v5.2'
Fix potential CVE-2024-0039 out-of-bounds write in attp_build_value_cmd (v5.2)

See merge request espressif/esp-idf!43804
2025-12-18 10:56:18 +08:00
Jin Chen
f80ec2cfcb fix(ble): add soc caps config for pawr feat on ESP32H2
(cherry picked from commit 2eb79c71f1)

Co-authored-by: cjin <jinchen@espressif.com>
2025-12-15 11:39:39 +08:00
Zhang Hai Peng
cd670b87a5 fix(ble/bluedroid): Add bounds check in ble_ancs example
(cherry picked from commit 7e876249df)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-12 20:54:02 +08:00
Chen Yudong
844f5ce69a ci: rename wifi_two_dut to two_duts 2025-12-03 19:00:23 +08:00
Zhang Hai Peng
634ad6387d 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:53:51 +08:00
Zhang Hai Peng
6d35c3e24c 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:53:46 +08:00
Zhang Hai Peng
0814444e0a 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:53:46 +08:00
Zhang Hai Peng
84f594750c 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:53:46 +08:00
Island
a439bbd76c Merge branch 'feat/support_bhost2025_44_v5.2' into 'release/v5.2'
feat(ble/bluedroid): Add more debug log for bluedroid (v5.2)

See merge request espressif/esp-idf!43363
2025-11-26 18:02:57 +08:00
yangfeng
d07513df16 fix(bt/examples): Fixed test_bt_l2cap not finding ESP_SDP_CREATE_RECORD_COMP_EVT 2025-11-21 19:35:48 +08:00
yangfeng
d36bef0eac fix(bt/example): Fixed hf_ag build error 2025-11-21 13:33:00 +08:00
yangfeng
aea9cb9cd9 fix(example/classic_bt): Fix potential stack overflow tasks 2025-10-14 16:27:29 +08:00
yangfeng
36fac54400 fix(example/classic_bt): Fix the stack overflow of the SPPAppT and mouse_move_task tasks 2025-10-10 16:14:30 +08:00
Zhang Hai Peng
f76024c7e7 fix(ble/bluedroid): Update Gatt_Server_Service_Table_Example_Walkthrough.md
(cherry picked from commit 6b360dacf6)

Co-authored-by: Cody <codyhubman4@gmail.com>
2025-08-15 14:53:39 +08:00
Zhang Hai Peng
6f4c3126a1 fix(ble/bluedroid): Fixed the problem of macro definition error
(cherry picked from commit 6b212c7d47)

Co-authored-by: BLKDASH <128231495+BLKDASH@users.noreply.github.com>
2025-08-15 14:53:36 +08:00
Chen Jian Hua
add648978a feat(ble/bluedroid): Added BLE multiple connections examples
(cherry picked from commit b8996f3953)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-08-12 21:33:34 +08:00
JinCheng
9841fe52a0 fix(bt/bluedroid): safe string returns and cleanups for bt_discovery example 2025-07-31 21:10:10 +08:00
Nikheel Savant
6477c1550d fix(bt/bluedroid): safe string returns and cleanups 2025-07-31 21:10:10 +08:00
Zhang Hai Peng
8713112733 fix(ble/bluedroid): set sec_conn only on successful pairing in ble_hid_device_demo
(cherry picked from commit 50fe55ca59)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-07-29 21:53:25 +08:00
xiongweichao
a6834af93f feat(bt/bluedroid): Add events to indicate the initialization states of AVRCP 2025-06-09 02:56:36 +00:00
Island
6aec36cf07 Merge branch 'feat/add_sync_cte_type_in_pa_sync_v5.2' into 'release/v5.2'
Feat/add sync cte type in pa sync (v5.2)

See merge request espressif/esp-idf!38590
2025-04-27 14:11:56 +08:00
Island
8d3cc19a3b Merge branch 'feat/optimize_cble50y24_109_v5.2' into 'release/v5.2'
feat(bt/bluedroid): Added throughput mode for BLE SPP example (v5.2)

See merge request espressif/esp-idf!38691
2025-04-27 10:14:40 +08:00
zwl
07ea827072 feat(ble): add configuration command during RF testing 2025-04-24 11:55:05 +08:00
zhangbowen
ca179775d4 feat(bt/bluedroid): Added throughput mode for BLE SPP example 2025-04-24 11:54:48 +08:00
xiongweichao
d85601d2bc fix(bt): Fixed write_read task stack overflow in l2cap example 2025-04-24 09:22:46 +08:00
xiongweichao
d4c516a32c feat(bt): Added events for l2cap register and unregister vfs 2025-04-24 09:22:46 +08:00
Zhang Hai Peng
320f8bece2 fix(ble/bluedroid): Fix potential uint32_t overflow in BLE btu_start_timer
(cherry picked from commit a9286567f0)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-04-21 18:03:34 +08:00
Zhi Wei Jian
29c24fc46d fix(ble/bluedroid): Fixed BLE_FEAT_CREATE_SYNC_ENH define error in bluedroid host
(cherry picked from commit cf6135c990)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2025-04-21 17:03:16 +08:00
Chen Jian Hua
73c9541920 feat(bt/bluedroid): Added BLE eddystone sender example
(cherry picked from commit 06366353d8)

Co-authored-by: zhangbowen <zhangbowen@espressif.com>
2025-04-01 09:30:45 +08:00