Commit Graph
201 Commits
Author SHA1 Message Date
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 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
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
yangfeng 960e806c34 fix(bt/example): Fixed the HFP printing issue in the CI test 2026-03-30 11:44:18 +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
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
yangfeng 2e1a089a6a docs(bt): update Classic Bluetooth api reference of A2DP 2026-01-12 09:58:52 +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 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
Chen Yudong 1e189cbb40 ci: rename wifi_two_dut to two_duts 2025-11-27 13:43:21 +08:00
yangfeng ce63e5feeb fix(bt/examples): Fixed test_bt_l2cap not finding ESP_SDP_CREATE_RECORD_COMP_EVT 2025-11-24 10:21:00 +08:00
Chen Jian Huaandyangfeng de9ad7d9a0 fix(bt/example): Fixed hf_ag build error
(cherry picked from commit 98864d279f)

Co-authored-by: yangfeng <yangfeng@espressif.com>
2025-11-14 13:33:25 +08:00
yangfeng 4606fa87c7 fix(example/classic_bt): Fix potential stack overflow tasks 2025-10-11 16:40:43 +08:00
yangfeng dc1c22f090 fix(example/classic_bt): Fix the stack overflow of the SPPAppT and mouse_move_task tasks 2025-10-10 14:42:01 +08:00
Wang Meng Yang 7cac735da0 Merge branch 'feat/remove_the_deprecated_api_and_parameter' into 'master'
feat(bt): remove the deprecated functions and parameters

Closes BT-4042

See merge request espressif/esp-idf!40435
2025-08-20 19:36:37 +08:00
Marek Fiala 9d35d63651 feat(cmake): Update minimum cmake version to 3.22 (whole repository) 2025-08-19 14:44:32 +02:00
gongyantao 179a730a03 feat(bt): remove the deprecated functions and parametes 2025-08-19 16:07:05 +08:00
Darian Leung 5454499877 refactor: Use enum values for gpio pull up/down fields
Ensure that enum values are used When assigning `pull_up_en` and `pull_down_en`
fields of `gpio_config_t`. Helps avoid `invalid conversion` errors when
building those code snippets in C++.
2025-08-07 11:45:11 +08:00
JinCheng 720108b220 fix(bt/bluedroid): safe string returns and cleanups for bt_discovery example 2025-08-01 09:40:21 +08:00
linruihao 4116e4f697 ci(bt/bluedroid): Add CI build test for A2DP Sink example with Caver Art disabled 2025-06-19 19:44:51 +08:00
xiongweichao a8ed0133ca feat(bt/bluedroid): Add events to indicate the initialization states of AVRCP 2025-05-28 11:24:32 +00:00
xiongweichao 007a2a30f5 fix(bt): Fixed write_read task stack overflow in l2cap example 2025-04-11 16:45:53 +08:00
xiongweichao 1f7658ed42 feat(bt): Added events for l2cap register and unregister vfs 2025-04-11 16:45:53 +08:00
linruihao d11be52064 feat(examples): Add kconfig option for a2dp_sink example to use new audio APIs 2025-03-28 14:13:20 +08:00
linruihao 3da17f356c change(examples): Update hfp_hf example to use new audio APIs 2025-03-28 14:13:20 +08:00
igor.udot daf2d31008 test: format all test scripts 2025-03-05 12:08:48 +08:00
xiongweichao c2cea8ff26 fix(bt/bluedroid): fixed the format error of passkey printing 2025-02-10 16:46:58 +08:00
linruihao 125b303720 feat(bt/bluedroid): Add PBAP client sample code in hfp_hf example 2024-12-06 15:33:17 +08:00
Alexey Lapshin 5282a99436 fix(examples): increased BtAppTask task's stack size to avoid overflow 2024-12-02 21:36:00 +07:00
Roland Dobai 46e37515b8 Merge branch 'feat/examples_minimal_build' into 'master'
switch examples to build just with required components

Closes IDF-11308, IDF-7940, and IDF-11289

See merge request espressif/esp-idf!33825
2024-11-25 16:27:29 +08:00
Jin Cheng fdcf89ae6b feat(bt/bluedroid): added events to indicate the profile states of HFP 2024-11-22 17:14:16 +08:00
Frantisek Hrbata 1c92945f59 change(examples): switch examples to use a minimal build
Currently, several example dependencies rely on the fact that all
registered components are added to the build, along with components
specified in common requirements. This results in longer build times
because even unused components must be built. Switch all examples to use
idf_minimal_build to compile only the components actually required by
the example.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 20:14:40 +01:00
Frantisek Hrbata ad15109daa change(examples): explicitly specify component dependencies for examples
Currently, several examples do not explicitly state their component
dependencies, relying instead on the default behavior that includes all
registered components and commonly required ones in the build.
Explicitly adding component dependencies can reduce build time when
set(COMPONENTS main) is used.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 14:11:24 +01:00
Jin Cheng c79eb0d5bf fix(bt/bluedroid): AG should send OK or other error codes to HF client
when it is driven by HF to initiate a call.
2024-11-08 12:51:00 +08:00
xiongweichao b71597416d feat(bt/bluedroid): Report sniff interval to application layer 2024-09-23 15:23:36 +08:00
liqigan 1cfb537813 fix(bt/bluedroid): Fixed the SDP API compatibility bug 2024-09-14 14:37:50 +08:00
linruihao 147a249d7a feat(bt/bluedroid): Support AVRCP Cover Art feature in a2dp_sink demo 2024-09-13 17:58:49 +08:00
liqigan c564817862 feat(bt/bluedroid): Add API to create Device ID Service record 2024-09-05 15:32:56 +08:00
liqigan 53bb819e88 feat(bt/bluedroid): Added definition of minor class of COD for peripheral major class
Closes https://github.com/espressif/esp-idf/issues/13622
2024-08-30 15:37:17 +08:00