Commit Graph
457 Commits
Author SHA1 Message Date
yangfeng 0ec0a6bb9a fix: Fix the HFP example fails to discovery target device 2026-07-02 15:04:41 +08:00
Jiang Jiang Jian c1e07b7234 Merge branch 'feat/sup_i2s_in_esp32s31_example_v6.1' into 'release/v6.1'
feat(bt/example): Support I2S output of esp32s31 in A2DP sink stream example (v6.1)

See merge request espressif/esp-idf!50055
2026-06-30 14:22:27 +08:00
yangfeng 0298e9d6ae feat(bt/example): Support I2S output of esp32s31 in A2DP sink stream example 2026-06-26 09:36:01 +08:00
yangfeng ce898faf35 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:42:06 +08:00
Zhi Wei Jian da29ffba88 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 17:17:37 +08:00
Zhi Wei Jian 109120cc50 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 17:17:37 +08:00
yangfeng 8af18b4de3 fix: Fix the incorrect connection of the same-name devices in the HFP example 2026-06-10 19:12:24 +08:00
yangfeng 1e7dedcd22 fix: Fix the potential stack overflow issue in the Classic Bluetooth example 2026-06-09 09:40:41 +08:00
yangfeng 591f504187 fix(bt): Modify the documents in Classic Bluetooth examples to support esp32s31 2026-06-04 14:29:31 +08:00
yangfeng e7d079c422 feat(bt): Add a2dp_source_aac example 2026-05-21 21:15:36 +08:00
yangfeng 22f116eed5 feat(bt): Add a2dp_sink_stream_aac example 2026-05-21 21:15:36 +08:00
ShenWeilong adf9cf4e72 fix(bluedroid): Set CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y in bluedroid host examples 2026-05-20 20:13:34 +08:00
ShenWeilong cf813a4a1e feat(ble): Added ble support for esp32h21 2026-05-20 19:24:08 +08:00
Jin Cheng 4905a0aeb2 feat(ci): added example tests for HFP using external codec 2026-05-14 12:10:47 +08:00
Chen Jichang 3c3b9a6a4e ci(esp32h4): disable tests which cannot pass 2026-05-11 16:48:58 +08:00
Chen Jichang 645ff40cde ci(esp32h4): enable ci target test 2026-05-11 16:48:58 +08:00
Xiao Xufeng 78c61f2a73 example(ble): increase app partition size of ble examples 2026-05-08 13:44:24 +08:00
yangfeng f1e65d7881 fix(bt/example): fix critical issues of classic_bt examples reported by AI review 2026-05-06 20:17:18 +08:00
Michael.B 1dc41840ad fix(examples): enlarge BT example partitions for esp32s31 CI builds
build_non_test_related_apps failed on esp32s31: Bluedroid_GATT_Server and ble_spp_client binaries exceeded the default 1MiB factory partition; esp_hid_host with sdkconfig.ci.test exceeded 1.5MiB single-app-large.

Use PARTITION_TABLE_SINGLE_APP_LARGE for the Bluedroid examples. For esp_hid_host, switch to a custom single-factory table with a 1700KiB app slot (same size unit as partitions_two_ota_large.csv).
2026-04-26 18:28:14 +08:00
cjin 6f7eec029b feat(ble): support ble on esp32s31 2026-04-21 17:50:36 +08:00
wangmengyang 11268d8bfb feat(bt): Add initial support of Bluetooth Classic on ESP32-S31
- feat(soc_caps): Enable BT Classic and BLE in esp32s31
- Add git submodule for ESP32-S31 bt controller lib files
- changed sdkconfig.defaults and README for Bluetooth Classic examples
- change(docs): Added vendor HCI documentations for ESP32-S31
- change(Bluedroid): Adapt to ESP32-S31 due to some API differences on
  Bluetooth controller from ESP32
- change(bt): Modify CMakeLists.txt to support the Bluetooth dual-mode
  architecture on ESP32-S31
- change(bt): Add ECC P-192 functions to tinycrypt
2026-04-21 17:50:34 +08:00
ShenWeilong 271ff9605a fix(bt): fixed some h4 issues reported by ci pipeline 2026-04-02 14:59:41 +08:00
ShenWeilong 6e359ad99e feat(ble): added ble support for esp32h4 eco1 2026-04-02 14:59:40 +08:00
yangfeng ba154fb3e1 fix(bt/example): Fixed the HFP printing issue in the CI test 2026-03-27 10:52:32 +08:00
Island 5f1f1d4c88 Merge branch 'fix/delete_pytest_ble50_security_min_bin_and_log_off' into 'master'
fix(ble/bluedroid): Delete ble50_security min_bin and log_off pytest case

See merge request espressif/esp-idf!46841
2026-03-23 15:29:05 +08:00
zhiweijian 080b980cc6 fix(ble/bluedroid): Delete ble50_security min_bin and log_off pytest case 2026-03-20 20:19:20 +08:00
zhiweijian 7bb1018948 fix(bluedroid): printf EXAMPLE_CI_ID, PIPELINE_ID and CHIP_ID 2026-03-19 19:54:39 +08:00
zhiweijian b218e02b49 fix(ble/bluedroid): Fixed Incorrect use of event parameters in gattc_gatts_coex 2026-03-19 16:15:29 +08:00
Island 721f411dd5 Merge branch 'feat/support_more_ci_ble_examples_build' into 'master'
feat(ble/bluedroid): Added more ble CI configs for examples (SMP off, min_bin, log off)

See merge request espressif/esp-idf!46275
2026-03-16 14:38:13 +08:00
Wang Meng Yang 38f37e18af Merge branch 'change/hfp_hf_example' into 'master'
change(bt/examples): Add the use of internal codec APIs in the hfp_hf example

Closes IDFGH-17271

See merge request espressif/esp-idf!46168
2026-03-05 19:44:33 +08:00
zhiweijian ad1d908253 feat(ble/bluedroid): Added more ble CI configs for examples (SMP off, min_bin, log off) 2026-03-05 16:09:09 +08:00
yangfeng 2dfc09fbbd 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-02 11:15:47 +08:00
zhiweijian 8f4dd7824e 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
2026-02-27 18:00:19 +08:00
Island 67d27b5fb0 Merge branch 'bugifx/optimize_some_bluedroid_code' into 'master'
optimize some bluedroid code (20260120)

Closes BLERP-2574

See merge request espressif/esp-idf!45280
2026-02-02 19:34:21 +08:00
zhiweijian 3c2188ba0c fix(ble/bluedroid): Change 5.0 event status 2026-01-27 19:19:13 +08:00
yangfeng 933b2856f5 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-22 11:17:41 +08:00
Rahul Tank 20fd3c99a3 Merge branch 'bugfix/ad_type_example' into 'master'
fix(nimble): Add AD type macros in example

See merge request espressif/esp-idf!44916
2026-01-14 12:01:48 +05:30
Rahul Tank 5b01ed8100 fix(nimble): Add AD type macros in example 2026-01-14 09:59:38 +05:30
Jin Cheng 4adb4b9010 fix(bt/bluedroid): add status management for audio sink service channel 2026-01-12 19:16:33 +08:00
Island a8cfb404e5 Merge branch 'fix/change_some_example_config' into 'master'
feat(ble/bluedroid): Add new bluedroid host examples (master)

Closes BLERP-2492

See merge request espressif/esp-idf!44896
2026-01-08 21:03:13 +08:00
zhiweijian ce72e90291 feat(ble/bluedroid): Add new bluedroid host examples 2026-01-08 12:17:26 +08:00
yangfeng 322984c0cb docs(bt): update Classic Bluetooth api reference of A2DP 2026-01-07 20:18:02 +08:00
zhiweijian ac80bbe285 feat(ble/bluedroid): Support bluedroid encrypted advertising data 2025-12-31 19:55:17 +08:00
Island 590be5f98d Merge branch 'bugfix/fix_ble_security_issue_2025_v3' into 'master'
fix(ble/bluedroid): Fix type mismatch and length validation in HCI packet parser

Closes BLERP-2496, BLERP-2494, BLERP-2495, BLERP-2497, and BLERP-2498

See merge request espressif/esp-idf!43903
2025-12-30 10:33:16 +08:00
zhanghaipeng 051077835c docs(ble): add flow diagrams to bluedroid BLE examples 2025-12-28 17:32:01 +08:00
zhanghaipeng 934970a06f feat(examples/bluedroid): add BLE ACL latency measurement example 2025-12-28 17:31:49 +08:00
zhanghaipeng fdeb5ad87a refactor(examples/bluedroid): Replace hardcoded ADV type values with macros 2025-12-28 16:40:37 +08:00
zhanghaipeng 7cd2f7b34d 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)
2025-12-28 11:19:39 +08:00
yangfeng 3b6b7e8a60 fix(examples/classic_bt): Add A2DP sink delay for AVRCP cover art and absolute volume examples 2025-12-25 11:25:20 +08:00
yangfeng dc4b0828f6 refactor(examples/classic_bt): Add example tests for A2DP and AVRCP examples 2025-12-19 11:31:15 +08:00