Commit Graph
441 Commits
Author SHA1 Message Date
yangfeng 26dfcb0c86 fix(bt): Fix compatibility with A2DP API legacy usage methods
- Modify the timing of API calls in the A2DP example
- Closes https://github.com/espressif/esp-idf/issues/18786
2026-08-18 11:26:53 +08:00
Jin Cheng df336b1f4e change(bt/bluedroid): optimized the HFP example workflow to improve audio quality
Disabled inquiry scan and page scan after SCO connection establishment
to reduce over-the-air bandwidth usage and improve audio quality by
prevent scan activities from interrupting SCO traffic.
2026-08-05 17:47:04 +08:00
Island 47bd7785b9 Merge branch 'feat/support_bluedroid_le_coc_and_eatt_v5.5' into 'release/v5.5'
feat(ble/bluedroid): Support bluedroid LE COC and EATT features (5.5)

See merge request espressif/esp-idf!50714
2026-07-23 10:06:52 +08:00
yangfeng e7864669f7 fix(bt/example): Add log in the failure path for avrcp_ct_metadata example 2026-07-22 15:36:34 +08:00
Zhi Wei Jian dd442dd6a1 feat(ble/bluedroid): Add bluedroid dual identify server example
(cherry picked from commit 1de0d2fef7)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-21 11:23:27 +08:00
Island 0196f65f01 Merge branch 'bugfix/fix_bluedroid_static_random_conn_rpa_v5.5' into 'release/v5.5'
fix(ble/bluedroid): skip identity conversion for static random direct connect (5.5)

See merge request espressif/esp-idf!50084
2026-07-20 21:39:24 +08:00
Wang Meng Yang 31e6b62389 Merge branch 'bugfix/ai_review_avrcp_v5.5' into 'release/v5.5'
fix(bt): Fix the critical and high issues related to AVRCP from AI review report (v5.5)

See merge request espressif/esp-idf!50021
2026-07-20 09:06:53 +08:00
Wang Meng Yang f89727a8d6 Merge branch 'bugfix/hfp_example_ci_v5.5' into 'release/v5.5'
fix: Fix the HFP example fails to discovery target device (v5.5)

See merge request espressif/esp-idf!50290
2026-07-19 10:17:28 +08:00
Zhang Hai Peng c9f2abadb8 docs(ble/bluedroid): fix markdown formatting in example docs
(cherry picked from commit dba450de6b)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-07-15 15:48:46 +08:00
yangfeng 2019b64bf5 fix(bt/example): Add print the device name to verify if it matches in HID example 2026-07-08 15:28:15 +08:00
yangfeng 8650c4ef67 fix: Fix the HFP example fails to discovery target device 2026-07-02 15:04:55 +08:00
yangfeng 5d71464c87 fix(bt): Fix the high issues related to AVRCP from AI review report
- SDP/registration: handle SDP record creation and discovery failures safely
- AVRC stack: fix packet checks, fragment leaks, response build, and compile guards
- BTC AVRCP: fix return codes, connection state, metadata parsing, and memory leaks
- AVCTP: fix event passing, L2CAP conflicts, TX queue leaks, and disconnect handling
- Example: remove TG RN capability setup before initialization
2026-06-25 14:51:32 +08:00
Island 9cf9a72d28 Merge branch 'bugfix/fix_bluedroid_ai_review_bugs_20260427_v5.5' into 'release/v5.5'
Bugfix/fix bluedroid ai review bugs 20260427 (5.5)

See merge request espressif/esp-idf!49540
2026-06-15 11:04:03 +08:00
zhiweijian 40628eacb3 fix(examples): improve bluedroid BLE example error handling
Check GAP/GATT event status, fix prepare-write buffer lifecycle, and
align example code with updated Bluedroid API behavior.
2026-06-11 21:10:43 +08:00
zhiweijian b36812444f refactor(examples): disable unused BT options in bluedroid BLE examples
Add sdkconfig.defaults to turn off unused Bluedroid host features per
example role (GATT client/server, SMP, legacy adv, etc.).
2026-06-11 21:05:16 +08:00
ShenWeilong 468222b05b fix(bluedroid): Set CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y in bluedroid host examples 2026-06-11 21:03:18 +08:00
yangfeng f675732259 fix: Fix the incorrect connection of the same-name devices in the HFP example 2026-06-10 19:12:38 +08:00
yangfeng e5b167cef9 fix: Fix the potential stack overflow issue in the Classic Bluetooth example 2026-06-09 09:42:53 +08:00
Jin Cheng ed95ff80ae feat(ci): added example tests for HFP using external codec 2026-05-18 16:41:01 +08:00
yangfeng a60308f5e9 fix(bt/example): fix critical issues of classic_bt examples reported by AI review 2026-05-11 11:35:46 +08:00
Jiang Jiang Jian 205009d40e Merge branch 'fix/fix_bluedroid_gattc_gatts_coex_example_params_error_v5.5' into 'release/v5.5'
fix(ble/bluedroid): Fixed Incorrect use of event parameters in gattc_gatts_coex (5.5)

See merge request espressif/esp-idf!46906
2026-04-07 14:55:26 +08:00
Zhi Wei Jian 19faf29144 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-31 14:29:24 +08:00
Jiang Jiang Jian e3b1a3111c Merge branch 'bugfix/bt_idf_ci_v5.5' into 'release/v5.5'
fix(bt/example): Fixed the HFP printing issue in the CI test (v5.5)

See merge request espressif/esp-idf!47079
2026-03-30 14:12:48 +08:00
yangfeng 071985838b fix(bt/example): Fixed the HFP printing issue in the CI test 2026-03-30 11:47:26 +08:00
Zhi Wei Jian 9e6558e842 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:45 +08:00
Zhi Wei Jian 360d404191 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:44 +08:00
yangfeng 7ef1e28723 change(bt/examples): Add the use of internal codec APIs in the hfp_hf example
- Closes https://github.com/espressif/esp-idf/issues/18261
2026-03-11 17:02:18 +08:00
zhiweijian 2f9c222388 fix(ble/bluedroid): Change 5.0 event status 2026-02-09 00:05:04 +08:00
zhiweijian be341ff584 feat(ble/bluedroid): Add new bluedroid host examples 2026-02-09 00:05:04 +08:00
Jin Cheng bdfb0f9e1d fix(bt/bluedroid): add status management for audio sink service channel 2026-01-15 09:12:31 +08:00
Rahul Tank 64150ac630 Merge branch 'bugfix/ad_type_example_v5.5' into 'release/v5.5'
fix(nimble): Add AD type macros in example (v5.5)

See merge request espressif/esp-idf!44981
2026-01-14 12:03:30 +05:30
Rahul Tank 54f5822499 fix(nimble): Add AD type macros in example 2026-01-14 10:52:00 +05:30
yangfeng 5da8d6df53 docs(bt): update Classic Bluetooth api reference of A2DP 2026-01-12 10:27:21 +08:00
Zhang Hai Peng 086ebb7ccb 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:30 +08:00
Zhang Hai Peng 1af43047f6 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:30 +08:00
Zhang Hai Peng a40ac062f4 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:30 +08:00
Zhang Hai Peng 622990b70e 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:30 +08:00
Island 2a8fd3c4eb Merge branch 'feat/support_bluedroid_host_smp_with_psa_tinycrypt_v5.5' into 'release/v5.5'
Feat/support bluedroid host smp with psa tinycrypt v5.5

See merge request espressif/esp-idf!44787
2026-01-07 14:23:54 +08:00
zhiweijian a48590a9f4 fix(ble/bluedroid): Replaced the psa_ api with the mbedtls_ api 2026-01-05 11:23:31 +08:00
zhiweijian fe7b658652 feat(ble/bluedroid): Support bluedroid encrypted advertising data 2026-01-05 10:49:16 +08:00
yangfeng ad4943ee24 fix(bt/example): Fixed hf_ag build error 2026-01-04 18:57:46 +08:00
yangfeng 59cd911a83 refactor(examples/classic_bt): Add example tests for A2DP and AVRCP examples 2025-12-30 16:54:30 +08:00
yangfeng 167f52d1ad docs: Add explanations for the A2DP sink stream and AVRCP examples
- Modify the path of A2DP sink example
2025-12-30 16:47:23 +08:00
yangfeng 809327f5fd refactor(examples/classic_bt): Add AVRCP cover art example with LCD display 2025-12-30 16:47:23 +08:00
yangfeng 7086632105 refactor(examples/classic_bt): Add common code for AVRCP cover art example 2025-12-30 16:47:23 +08:00
yangfeng 2136c80f1f refactor: Refactor the example of the coexistence of A2DP sink and GATT service 2025-12-30 16:47:23 +08:00
yangfeng 93bb32df75 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-30 16:47:23 +08:00
Chen Yudong dae2b988f4 ci: rename wifi_two_dut to two_duts 2025-12-30 10:53:16 +08:00
Island 1d7830102e Merge branch 'feat/show_how_to_use_smp_in_blufi_example_v5.5' into 'release/v5.5'
feat(ble/blufi): Support setting BLE encryption for blufi (v5.5)

See merge request espressif/esp-idf!44143
2025-12-29 12:11:21 +08:00
Wang Meng Yang ac9a4272f5 Merge branch 'bugfix/bt_idf_ci_v5.5' into 'release/v5.5'
fix(bt/examples): Fixed test_bt_l2cap not finding ESP_SDP_CREATE_RECORD_COMP_EVT (v5.5)

See merge request espressif/esp-idf!43603
2025-12-26 10:30:14 +08:00