Commit Graph

471 Commits

Author SHA1 Message Date
Wang Meng Yang
d348f43f56 Merge branch 'bugfix/a2dp_api_init_check' into 'master'
fix(bt): Fix compatibility with A2DP API legacy usage methods

Closes IDFGH-17892

See merge request espressif/esp-idf!50611
2026-07-28 19:35:28 +08:00
Wang Meng Yang
cfb35e1a4a Merge branch 'bugfix/idf_ci_example_avrcp' into 'master'
fix(bt/example): Add log in the failure path for avrcp_ct_metadata example

Closes IDFCI-10118

See merge request espressif/esp-idf!50651
2026-07-22 15:16:25 +08:00
yangfeng
94b05ceee6 fix(bt): Fix compatibility with A2DP API legacy usage methods
- Modify the timing of API calls in the A2DP example
- Add a2dp_stream_aac test case
- Closes https://github.com/espressif/esp-idf/issues/18786
2026-07-20 11:35:33 +08:00
Ji Minxiang
157200447c Merge branch 'feat/ble_ams_dev' into 'master'
feat(examples): add Bluedroid and NimBLE BLE AMS client examples

See merge request espressif/esp-idf!50369
2026-07-16 14:24:56 +08:00
yuanhonghui
5422d76332 test(bluedroid): Add CI pytest for BLE 5.0 dual-DUT examples and throughput 2026-07-14 14:27:25 +08:00
jiminxiang
a8bb79b5b9 feat(examples): add Bluedroid and NimBLE BLE AMS client examples
Add Apple Media Service client demos that discover AMS on iOS, subscribe
to media entity updates, and expose remote playback control helpers.
2026-07-14 11:33:41 +08:00
Island
fb195f7b50 Merge branch 'bugfix/fix_bluedroid_ext_adv_param_fail_state' into 'master'
fix(ble/bluedroid): preserve ext adv state when set params fails

Closes BLERP-2962 and IDFGH-17144

See merge request espressif/esp-idf!50470
2026-07-14 10:28:30 +08:00
yangfeng
54009eb616 fix(bt/example): Add log in the failure path for avrcp_ct_metadata example 2026-07-13 10:48:52 +08:00
Zhi Wei Jian
2e6cbccd55 Merge branch 'feat/support_bluedroid_dual_identify' into 'master'
feat(ble/bluedroid): Support bluedroid dual indentify

See merge request espressif/esp-idf!49640
2026-07-13 10:03:39 +08:00
zhiweijian
1de0d2fef7 feat(ble/bluedroid): Add bluedroid dual identify server example 2026-07-10 17:57:25 +08:00
zhanghaipeng
dba450de6b docs(ble/bluedroid): fix markdown formatting in example docs 2026-07-08 11:14:01 +08:00
yangfeng
059aa4c3f3 fix(bt/example): Add print the device name to verify if it matches in HID example 2026-07-06 12:10:40 +08:00
yangfeng
fe76a65d22 fix: Fix the HFP example fails to discovery target device 2026-07-02 10:50:38 +08:00
Island
888c5397a3 Merge branch 'feat/ble_pytest_support_s31' into 'master'
feat(ble): add esp32s31 to bluedroid BLE pytest targets

See merge request espressif/esp-idf!48722
2026-06-26 13:58:33 +08:00
yuanhonghui
41d4492453 feat(ble): add esp32s31 to bluedroid BLE pytest targets 2026-06-25 21:27:42 +08:00
yangfeng
163e1cd783 feat(bt/example): Support I2S output of esp32s31 in A2DP sink stream example 2026-06-25 11:43:45 +08:00
yangfeng
169a29defc 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-24 11:20:09 +08:00
yangfeng
b327c9cc8f fix: Fix the incorrect connection of the same-name devices in the HFP example 2026-06-09 19:32:50 +08:00
yangfeng
d2cbbb3d1e fix: Fix the potential stack overflow issue in the Classic Bluetooth example 2026-06-03 20:08:20 +08:00
Wang Meng Yang
a4c171bf94 Merge branch 'bugfix/example_docs_support_esp32s31' into 'master'
fix(bt): Modify the documents in Classic Bluetooth examples to support esp32s31

Closes BT-4359

See merge request espressif/esp-idf!48950
2026-06-02 19:04:32 +08:00
yangfeng
f4efc8aafe fix(bt): Modify the documents in Classic Bluetooth examples to support esp32s31 2026-05-29 17:20:44 +08:00
zhiweijian
bfc47ace48 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-05-29 10:20:55 +08:00
zhiweijian
b4b640f233 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-05-29 10:16:21 +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