Commit Graph

1405 Commits

Author SHA1 Message Date
Astha Verma 91547794a0 fix(nimble): Reset HID service during deinit 2026-01-21 16:58:16 +05:30
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
Zhang Hai Peng 9ad2dd11ad fix(ble/hci): Fix OOB read in ble_adv_scan_combined example
(cherry picked from commit c76283260003781735618a827418dfed9f481cba)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng a012fee0be fix(ble/bluedroid): Added security check in example Bluedroid_GATT_Server
(cherry picked from commit a36bf7fe14305b643baa4c97306274b592d2329d)

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
Wang Meng Yang 7c18387110 Merge branch 'refactor/split_a2dp_sink_v5.5' into 'release/v5.5'
refactor(examples/classic_bt): Split a2dp_sink example(v5.5)

See merge request espressif/esp-idf!44531
2026-01-04 11:59:31 +08:00
Rahul Tank 728d58ab1d Merge branch 'fix/ble_issues_29122025_v5.5' into 'release/v5.5'
fix(nimble): Fix nimble issues 29122025 (v5.5)

See merge request espressif/esp-idf!44625
2025-12-31 16:21:23 +05:30
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
Rahul Tank e362f90277 feat(nimble): Add support for static passkey 2025-12-30 12:53:07 +05:30
Chen Yudong dae2b988f4 ci: rename wifi_two_dut to two_duts 2025-12-30 10:53:16 +08:00
Jiang Jiang Jian 0a10858fd7 Merge branch 'feature/extend_h2_conon_num_to_70_v5.5' into 'release/v5.5'
change(ble): Updated the maximum number of concurrent connections to 70 on ESP32-H2 (v5.5)

See merge request espressif/esp-idf!43835
2025-12-30 10:31:52 +08:00
Island 09693eee8a Merge branch 'fix/ble_mesh_rpr_example_fix_v5.5' into 'release/v5.5'
fix(ble_mesh): add proper memory cleanup in composition data parsing (v5.5)

See merge request espressif/esp-idf!43840
2025-12-29 15:37: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
Luo Xu 3dc98549f8 fix(ble_mesh): add proper memory cleanup in composition data parsing
(cherry picked from commit a45bb6c5dae5680c3c2865de43462aa217c973c0)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-12-26 12:06:00 +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 de2b4af5bd fix(ble/bt): Add NULL check in esp_hid_device example
(cherry picked from commit 8e0f74a2cc52cd1ec5e039db34d09d4e07097f7b)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:18 +08:00
Zhang Hai Peng 775b64753e fix(ble/bt): Add NULL check in esp_hid_host example
(cherry picked from commit 8b5dd7536890d2eca026f88a410972e4f19e2d3b)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:17 +08:00
Zhang Hai Peng f67bb6c31c fix(ble/blufi): Add DH param length validation
(cherry picked from commit 773814c087effb3d69c2eeed3ac2e8472861be7c)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:17 +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
Shen Wei Long 7738c4f733 change(ble): Updated the maximum number of concurrent connections to 70 on ESP32-H2
(cherry picked from commit cd33f13521179656817840f5a3743a60e2c28b3f)

Co-authored-by: ShenWeilong <shenweilong@espressif.com>
2025-11-28 09:06:14 +00:00
Rahul Tank 07a9d40a75 fix(nimble): Address compilation issues in nimble examples 2025-11-25 10:20:30 +05:30
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
Rasmus Buurman ced7d1c776 fix(examples): Fix typos in NimBLE example comments 2025-11-10 17:05:27 +05:30
xiongweichao 262fefd137 fix(ble): fix ci power save test connection failure 2025-10-21 17:31:26 +08:00
Jin Chen d1298525a9 fix(ble): update the example docs for pawr
(cherry picked from commit 164fec9e743adc9de0b2096fc54cca2cfb16b395)

Co-authored-by: cjin <jinchen@espressif.com>
2025-10-16 20:14:03 +08:00
Jiang Jiang Jian fb8d0336ae Merge branch 'bugfix/bt_idf_ci_v5.5' into 'release/v5.5'
fix(example/classic_bt): Fix the potential stack overflow tasks (v5.5)

See merge request espressif/esp-idf!42537
2025-10-16 10:24:20 +08:00
Rahul Tank 126b8f8789 fix(nimble): Added CS service support 2025-10-14 16:41:02 +05:30
yangfeng a5735b3252 fix(example/classic_bt): Fix potential stack overflow tasks 2025-10-14 16:38:13 +08:00
Rahul Tank 5652984db9 feat(nimble): Base support for Channel sounding HCI command and events 2025-10-14 12:14:19 +05:30
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