Commit Graph
398 Commits
Author SHA1 Message Date
Zhi Wei Jian 607c5833ef feat(ble/bluedroid): Add bluedroid dual identify server example
(cherry picked from commit 1de0d2fef7)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 15:01:30 +08:00
yangfeng d0b79fc5c9 fix(bt/example): Add print the device name to verify if it matches in HID example 2026-07-08 15:28:33 +08:00
yangfeng 0773a8d947 fix: Fix the HFP example fails to discovery target device 2026-07-02 15:08:13 +08:00
zhiweijian 6fa3f622ca 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-06-12 10:41:31 +08:00
zhiweijian da9e63b690 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-06-12 10:34:45 +08:00
ShenWeilong 1409afdba9 fix(bluedroid): Set CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y in bluedroid host examples 2026-06-12 10:34:34 +08:00
yangfeng 6f25834da2 fix: Fix the potential stack overflow issue in the Classic Bluetooth example 2026-06-09 09:44:24 +08:00
Zhang Hai Peng fae52f14e8 feat(ble/blufi): Support setting BLE encryption for blufi
(cherry picked from commit 60a028fb17)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-05-12 15:58:55 +08:00
yangfeng b8e118c3bf fix(bt/example): fix critical issues of classic_bt examples reported by AI review 2026-05-11 11:46:53 +08:00
Evgeny Torbin 59f62ad15f test: format all test scripts 2026-04-17 16:01:00 +02:00
Island 14a34187b8 Merge branch 'bugfix/fix_some_bluedroid_bugs_260121_v5.3' into 'release/v5.3'
Bugfix/fix some bluedroid bugs 260121 (5.3)

See merge request espressif/esp-idf!46981
2026-04-01 11:45:10 +08:00
Zhi Wei Jian a9ad2436ad 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-03-30 16:40:53 +08:00
yangfeng 8ae5176464 fix(bt/example): Fixed the HFP printing issue in the CI test 2026-03-30 11:51:02 +08:00
Zhi Wei Jian 1fce660a19 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:40 +08:00
Zhi Wei Jian 73193c113e 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:39 +08:00
muhaidong dc79fdf103 fix(wifi): fix lmac tx done assert issue 2026-02-12 17:12:25 +08:00
zhiweijian 79dec2082d fix(ble/bluedroid): Change 5.0 event status 2026-01-30 20:21:09 +08:00
zhiweijian 9df0361dd6 feat(ble/bluedroid): Add new bluedroid host examples 2026-01-30 20:20:33 +08:00
Jin Cheng a68d4674e8 fix(bt/bluedroid): add status management for audio sink service channel 2026-01-15 09:14:56 +08:00
Rahul Tank 7a979f3bde fix(nimble): Add AD type macros in example 2026-01-14 10:54:26 +05:30
Island 6cd6db4d63 Merge branch 'bugfix/fix_ble_security_issue_2025_v3_v5.3' into 'release/v5.3'
fix(ble/bluedroid): Fix type mismatch and length validation in HCI packet parser (v5.3)

See merge request espressif/esp-idf!44665
2026-01-09 11:43:41 +08:00
zhiweijian df21eb8934 fix(ble/bluedroid): Replaced the psa_ api with the mbedtls_ api 2026-01-06 21:14:19 +08:00
zhiweijian b499bbef2b feat(ble/bluedroid): Support bluedroid encrypted advertising data 2026-01-06 20:45:56 +08:00
Zhang Hai Peng e81cca4f2f feat(examples/bluedroid): add BLE ACL latency measurement example
(cherry picked from commit 934970a06f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-06 10:34:53 +08:00
Zhang Hai Peng 83132234ca docs(ble): add flow diagrams to bluedroid BLE examples
(cherry picked from commit 051077835c)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-06 10:34:53 +08:00
Zhang Hai Peng 204d383817 refactor(examples/bluedroid): Replace hardcoded ADV type values with macros
(cherry picked from commit fdeb5ad87a)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-06 10:34:53 +08:00
Zhang Hai Peng e4a3afc445 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-06 10:34:53 +08:00
yangfeng 76a279798d refactor(examples/classic_bt): Add example tests for A2DP and AVRCP examples 2025-12-25 11:01:59 +08:00
yangfeng 9bd5f968bf docs: Add explanations for the A2DP sink stream and AVRCP examples
- Modify the path of A2DP sink example
2025-12-25 11:01:59 +08:00
yangfeng 41ee112dc1 refactor: Refactor the example of the coexistence of A2DP sink and GATT service 2025-12-25 11:01:53 +08:00
yangfeng 3298da92e1 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-25 10:59:57 +08:00
Island 87157acc06 Merge branch 'bugfix/fix_ble_security_issue_2025_v5.3' into 'release/v5.3'
Fix potential CVE-2024-0039 out-of-bounds write in attp_build_value_cmd (v5.3)

See merge request espressif/esp-idf!43805
2025-12-18 10:56:22 +08:00
Zhang Hai Peng 17174fd729 fix(ble/bluedroid): Add bounds check in ble_ancs example
(cherry picked from commit 7e876249df)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-12 20:56:25 +08:00
yangfeng 12ea0d186b fix(bt/example): Fixed hf_ag build error 2025-12-09 14:21:58 +08:00
Chen Yudong 164cfba69d ci: rename wifi_two_dut to two_duts 2025-12-03 12:34:10 +08:00
Zhang Hai Peng a19f21b7ba 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:02 +08:00
Zhang Hai Peng cee1c04124 fix(ble/bluedroid): Fix memory leak in ble_spp_server example
(cherry picked from commit b6b3b81bf6)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:53:59 +08:00
Zhang Hai Peng 580d49365f fix(ble/bluedroid): Use calloc in gatt_server example
(cherry picked from commit e26b60090d)

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

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:53:56 +08:00
yangfeng 18c3237449 fix(bt/examples): Fixed test_bt_l2cap not finding ESP_SDP_CREATE_RECORD_COMP_EVT 2025-11-21 19:33:08 +08:00
yangfeng 927c0cbe21 fix(example/classic_bt): Fix potential stack overflow tasks 2025-10-14 16:08:04 +08:00
yangfeng 5c0c9d4c0e fix(example/classic_bt): Fix the stack overflow of the SPPAppT and mouse_move_task tasks 2025-10-10 16:14:20 +08:00
Island 3387b68c4d Merge branch 'opt/opt_ble_hid_example_pair_fail_v5.3' into 'release/v5.3'
fix(ble/bluedroid): set sec_conn only on successful pairing in ble_hid_device_demo (v5.3)

See merge request espressif/esp-idf!40901
2025-08-21 10:58:58 +08:00
Wang Meng Yang 99e22c8e6c Merge branch 'bugfix/classic_bt-safe-string-handling_v5.3' into 'release/v5.3'
Bugfix/classic bt safe string handling v5.3

See merge request espressif/esp-idf!40948
2025-08-20 11:39:42 +08:00
Island 4146a0db5c Merge branch 'bugfix/ble_enhanced_security_v2_v5.3' into 'release/v5.3'
fix(ble/bluedroid): Fixed potential out-of-bounds memory access when resolve adv data (v5.3)

See merge request espressif/esp-idf!41305
2025-08-20 11:18:17 +08:00
Chen Jian Hua b1ee1df6ae feat(ble/bluedroid): Added BLE multiple connections examples
(cherry picked from commit b8996f3953)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-08-18 14:13:10 +08:00
Zhang Hai PengandCody 57ec0dec15 fix(ble/bluedroid): Update Gatt_Server_Service_Table_Example_Walkthrough.md
(cherry picked from commit 6b360dacf6)

Co-authored-by: Cody <codyhubman4@gmail.com>
2025-08-15 14:53:50 +08:00
Zhang Hai PengandBLKDASH 4aef14cd2d fix(ble/bluedroid): Fixed the problem of macro definition error
(cherry picked from commit 6b212c7d47)

Co-authored-by: BLKDASH <128231495+BLKDASH@users.noreply.github.com>
2025-08-15 14:53:48 +08:00
JinCheng f65bee9b04 fix(bt/bluedroid): safe string returns and cleanups for bt_discovery example 2025-07-31 21:09:27 +08:00
Nikheel Savant 94d0301f50 fix(bt/bluedroid): safe string returns and cleanups 2025-07-31 21:09:27 +08:00