Commit Graph
449 Commits
Author SHA1 Message Date
yangfeng 76a3f84779 fix(bt/example): Add log in the failure path for avrcp_ct_metadata example 2026-07-22 15:36:27 +08:00
Island 2dc3285e57 Merge branch 'bugfix/fix_bluedroid_read_multi_v6.0' into 'release/v6.0'
fix(ble/bluedroid): fix GATT Read Multiple response handling (6.0)

See merge request espressif/esp-idf!50709
2026-07-15 15:38:50 +08:00
Zhi Wei Jian 1119d40a2c feat(ble/bluedroid): Add bluedroid dual identify server example
(cherry picked from commit 1de0d2fef7)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 14:52:45 +08:00
Zhang Hai Peng 7020f17b59 docs(ble/bluedroid): fix markdown formatting in example docs
(cherry picked from commit dba450de6b)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-07-14 12:02:17 +08:00
yangfeng 41897b6239 fix(bt/example): Add print the device name to verify if it matches in HID example 2026-07-08 15:28:06 +08:00
yangfeng 9e5416b346 fix: Fix the HFP example fails to discovery target device 2026-07-02 15:04:48 +08:00
Jiang Jiang Jian f02fad8ce1 Merge branch 'bugfix/ai_review_avrcp_v6.0' into 'release/v6.0'
fix(bt): Fix the critical and high issues related to AVRCP from AI review report (v6.0)

See merge request espressif/esp-idf!50020
2026-06-29 15:43:53 +08:00
Jiang Jiang Jian c1aeac2888 Merge branch 'bugfix/fix_bluedroid_ai_review_bugs_20260427_v6.0' into 'release/v6.0'
Bugfix/fix bluedroid ai review bugs 20260427 (6.0)

See merge request espressif/esp-idf!49541
2026-06-29 15:39:47 +08:00
Jiang Jiang Jian aca7de07ca Merge branch 'bugfix/idf_ci_hfp_v6.0' into 'release/v6.0'
fix: Fix the incorrect connection of the same-name devices in the HFP example (v6.0)

See merge request espressif/esp-idf!49534
2026-06-29 15:39:40 +08:00
yangfeng e27d9efe13 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:48:50 +08:00
Zhi Wei Jian 29a6200e40 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.

(cherry picked from commit bfc47ace48)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-12 10:54:03 +08:00
Zhi Wei Jian ccd011323c 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.).

(cherry picked from commit b4b640f233)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-12 10:52:49 +08:00
ShenWeilong c1f60d93ce fix(bluedroid): Set CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y in bluedroid host examples 2026-06-12 10:51:17 +08:00
yangfeng 774c334372 fix: Fix the incorrect connection of the same-name devices in the HFP example 2026-06-10 19:12:31 +08:00
yangfeng 539b98274f fix: Fix the potential stack overflow issue in the Classic Bluetooth example 2026-06-09 09:42:04 +08:00
Jin Cheng ad6f33e9d1 feat(ci): added example tests for HFP using external codec 2026-05-15 16:07:08 +08:00
yangfeng aa10a3a2d1 fix(bt/example): fix critical issues of classic_bt examples reported by AI review 2026-05-11 11:24:52 +08:00
Wang Meng Yang e07aaaacbd Merge branch 'bugfix/bt_idf_ci_v6.0' into 'release/v6.0'
fix(bt/example): Fixed the HFP printing issue in the CI test (v6.0)

See merge request espressif/esp-idf!47078
2026-04-28 15:13:30 +08:00
Zhi Wei Jian 0bfcf843f9 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-04-24 15:12:53 +08:00
yangfeng 960e806c34 fix(bt/example): Fixed the HFP printing issue in the CI test 2026-03-30 11:44:18 +08:00
Zhi Wei Jian b6ded29ea7 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:47 +08:00
Zhi Wei Jian 63789778c0 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:47 +08:00
Jiang Jiang Jian e11bcf3ed0 Merge branch 'bugifx/optimize_some_bluedroid_code_v6.0' into 'release/v6.0'
Bugifx/optimize some bluedroid code v6.0

See merge request espressif/esp-idf!45561
2026-03-20 10:22:37 +08:00
yangfeng c5094b78ef 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:09 +08:00
zhiweijian fbd2d3f6ce fix(ble/bluedroid): Change 5.0 event status 2026-03-10 10:11:25 +08:00
Jiang Jiang Jian 8e3e325ba6 Merge branch 'bugfix/ad_type_example_v6.0' into 'release/v6.0'
fix(nimble): Add AD type macros in example (v6.0)

See merge request espressif/esp-idf!44980
2026-02-02 10:46:07 +08:00
Jiang Jiang Jian e13024510f Merge branch 'feat/set_encoder_params_v6.0' into 'release/v6.0'
feat(bt/bluedroid): Add API to set encoder parameters and report sink caps for A2DP source (v6.0)

See merge request espressif/esp-idf!45458
2026-01-29 14:05:50 +08:00
Jiang Jiang Jian a78c57dfe6 Merge branch 'bugfix/a2dp_utils_v6.0' into 'release/v6.0'
fix(bt/bluedroid): add status management for audio sink service channel (v6.0)

See merge request espressif/esp-idf!45122
2026-01-28 19:05:59 +08:00
yangfeng e83cf43b6a feat(bt/bluedroid): Add API to set encoder parameters for A2DP source
- Add API to set encoder parameters for A2DP source
- Add the use of the API for setting encoding parameters in the a2dp_source example
2026-01-28 11:39:29 +08:00
Jin Cheng a0030af291 fix(bt/bluedroid): add status management for audio sink service channel 2026-01-15 09:11:52 +08:00
Rahul Tank fe7a059601 fix(nimble): Add AD type macros in example 2026-01-14 10:47:51 +05:30
yangfeng 2e1a089a6a docs(bt): update Classic Bluetooth api reference of A2DP 2026-01-12 09:58:52 +08:00
Island da2e3a3c89 Merge branch 'fix/change_some_example_config_v6.0' into 'release/v6.0'
feat(ble/bluedroid): Add new bluedroid host examples(v6.0)

See merge request espressif/esp-idf!44897
2026-01-08 20:56:48 +08:00
Jiang Jiang Jian 8ff88e24ed Merge branch 'refactor/split_a2dp_sink_v6.0' into 'release/v6.0'
fix(examples/classic_bt): Add A2DP sink delay for AVRCP cover art and absolute volume examples (v6.0)

See merge request espressif/esp-idf!44620
2026-01-08 20:12:01 +08:00
zhiweijian 2a753a8e30 feat(ble/bluedroid): Add new bluedroid host examples 2026-01-08 12:15:36 +08:00
Zhang Hai Peng 30902d75ea feat(examples/bluedroid): add BLE ACL latency measurement example
(cherry picked from commit 934970a06f)

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

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

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-05 00:03:36 +08:00
Zhang Hai Peng 7d6dc68080 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-05 00:03:36 +08:00
zhiweijian f326ff7ff1 feat(ble/bluedroid): Support bluedroid encrypted advertising data 2025-12-31 11:51:49 +08:00
yangfeng 5ee371f89f fix(examples/classic_bt): Add A2DP sink delay for AVRCP cover art and absolute volume examples 2025-12-29 10:19:52 +08:00
yangfeng 5b737e16ff refactor(examples/classic_bt): Add example tests for A2DP and AVRCP examples 2025-12-19 16:41:37 +08:00
yangfeng 1000086456 docs: Add explanations for the A2DP sink stream and AVRCP examples
- Modify the path of A2DP sink example
2025-12-19 16:41:37 +08:00
yangfeng 3e94884160 refactor(examples/classic_bt): Add AVRCP cover art example with LCD display 2025-12-19 16:41:37 +08:00
yangfeng 5ca0bba789 refactor(examples/classic_bt): Add common code for AVRCP cover art example 2025-12-19 16:41:37 +08:00
yangfeng 2b91afdfac refactor: Refactor the example of the coexistence of A2DP sink and GATT service 2025-12-19 16:41:37 +08:00
yangfeng 2f452c14e7 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-19 16:41:37 +08:00
Island 4af7054b75 Merge branch 'bugfix/fix_ble_security_issue_2025_v6.0' into 'release/v6.0'
Fix potential CVE-2024-0039 out-of-bounds write in attp_build_value_cmd (v6.0)

See merge request espressif/esp-idf!43808
2025-12-18 10:57:44 +08:00
Zhang Hai Peng 1fd2f90326 feat(ble/blufi): Support setting BLE encryption for blufi
(cherry picked from commit 60a028fb17)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-11 16:21:50 +08:00
Zhang Hai Peng c708ef7b4f 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:31 +08:00