Commit Graph

412 Commits

Author SHA1 Message Date
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 934970a06fc12973e2a1ec6381c9f78e5da6dbbb)

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 051077835cea876f316d73f869e8c49a47e64b64)

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 fdeb5ad87abb328a8d0a69787e324e69972bca2a)

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 7cd2f7b34d925f6b4ebcbecf320c2d5a1b2e7036)

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
Zhang Hai Peng c3c6304091 feat(ble/blufi): Support setting BLE encryption for blufi
(cherry picked from commit 60a028fb17cb6462fbe7a5c4e5573bffef6fa029)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-11 16:21:47 +08:00
Zhang Hai Peng 8739a2d82b fix(ble/bluedroid): Fix VLA in a2dp_gatts_coex example
(cherry picked from commit e741f09e0f4b959b76183d4a3492e16235ac9785)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:20 +08:00
Zhang Hai Peng dedf21c0ae fix(ble/bluedroid): Fix memory leak in ble_spp_server example
(cherry picked from commit b6b3b81bf698dd7f85303de0cdcdb2d050e6efd2)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:16 +08:00
Zhang Hai Peng 45835b025f fix(ble/bluedroid): Use calloc in gatt_server example
(cherry picked from commit e26b60090d0452523ca7fb730dd2cebb047c1997)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:16 +08:00
Zhang Hai Peng 7ca7eb47c4 fix(ble/bluedroid): Use snprintf in ble_eddystone example
(cherry picked from commit 24e023e307062c668dd85178b66947dddd534ea8)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:15 +08:00
Zhang Hai Peng 9112b87c19 fix(ble/bluedroid): Add bounds check in ble_ancs example
(cherry picked from commit 7e876249dfbc2da5b652665637d5e2f8dcdff811)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:15 +08:00
yangfeng 14a67afb04 fix(bt/examples): Fixed test_bt_l2cap not finding ESP_SDP_CREATE_RECORD_COMP_EVT 2025-11-24 10:37:02 +08:00
yangfeng a5735b3252 fix(example/classic_bt): Fix potential stack overflow tasks 2025-10-14 16:38:13 +08:00
yangfeng 9664e406cc fix(example/classic_bt): Fix the stack overflow of the SPPAppT and mouse_move_task tasks 2025-10-10 16:13:51 +08:00
Island 56bef4d352 Merge branch 'bugfix/ble_enhanced_security_v2_v5.5' into 'release/v5.5'
fix(ble/bluedroid): Fixed potential out-of-bounds memory access when resolve adv data (v5.5)

See merge request espressif/esp-idf!41307
2025-09-22 10:27:27 +08:00
Zhang Hai Peng 14dcf57fb1 fix(ble/bluedroid): Update Gatt_Server_Service_Table_Example_Walkthrough.md
(cherry picked from commit 6b360dacf68e1dd95bb2670fb41e48c4545c4040)

Co-authored-by: Cody <codyhubman4@gmail.com>
2025-08-15 14:54:12 +08:00
Zhang Hai Peng 9c2b36b0c1 fix(ble/bluedroid): Fixed the problem of macro definition error
(cherry picked from commit 6b212c7d47dcb896b6780ca64a5fd02a2ce224b4)

Co-authored-by: BLKDASH <128231495+BLKDASH@users.noreply.github.com>
2025-08-15 14:54:10 +08:00
Chen Jian Hua c726799df4 feat(ble/bluedroid): Added BLE multiple connections examples
(cherry picked from commit b8996f3953560a7e6c2206a25a2f1bccbd45ef24)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-08-12 21:34:16 +08:00
Jiang Jiang Jian 148c36d8aa Merge branch 'bugfix/classic_bt-safe-string-handling_v5.5' into 'release/v5.5'
Bugfix/classic bt safe string handling v5.5

See merge request espressif/esp-idf!40946
2025-08-01 10:43:15 +08:00
JinCheng f0f7ec705e fix(bt/bluedroid): safe string returns and cleanups for bt_discovery example 2025-07-31 21:08:24 +08:00
Nikheel Savant 7bd5212e09 fix(bt/bluedroid): safe string returns and cleanups 2025-07-31 21:08:24 +08:00
Zhang Hai Peng 315cc8f503 fix(ble/bluedroid): set sec_conn only on successful pairing in ble_hid_device_demo
(cherry picked from commit 50fe55ca598088c604990fbbd96215562a79c34f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-07-29 21:53:41 +08:00
linruihao b710539e3f ci(bt/bluedroid): Add CI build test for A2DP Sink example with Caver Art disabled 2025-06-20 17:31:21 +08:00
xiongweichao 4d83f1b8af feat(bt/bluedroid): Add events to indicate the initialization states of AVRCP 2025-05-30 10:02:38 +08:00
Zhou Xiao 2e8d8beb9d change(ble): supported ble for esp32c5-eco2 2025-04-29 14:24:47 +08:00
Island 38628f98b9 Merge branch 'feat/add_sync_cte_type_in_pa_sync' into 'master'
Feat/add sync cte type in pa sync

Closes BLERP-1728

See merge request espressif/esp-idf!38315
2025-04-27 14:11:31 +08:00
zwl 9bc1712095 feat(ble): add configuration command during RF testing 2025-04-21 20:12:52 +08:00
zhangbowen a2d3ddacf9 feat(bt/bluedroid): Added throughput mode for BLE SPP example 2025-04-21 20:12:52 +08:00
laokaiyao 9a88effab8 ci: disabled RF soc caps for c5 eco2
Disable the RF soc caps to bypass the build of un-supported RF examples
2025-04-16 11:01:39 +08: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
zhiweijian cf6135c990 fix(ble/bluedroid): Fixed BLE_FEAT_CREATE_SYNC_ENH define error in bluedroid host 2025-04-08 20:33:31 +08:00
linruihao a5f620ecfe fix(examples): Fix deprecation warning in a2dp_gatts_coex example 2025-03-28 19:45:18 +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