Commit Graph

1434 Commits

Author SHA1 Message Date
Jiang Jiang Jian 205009d40e Merge branch 'fix/fix_bluedroid_gattc_gatts_coex_example_params_error_v5.5' into 'release/v5.5'
fix(ble/bluedroid): Fixed Incorrect use of event parameters in gattc_gatts_coex (5.5)

See merge request espressif/esp-idf!46906
2026-04-07 14:55:26 +08:00
Luo Xu 180cdf4eb0 feat(ble_mesh): restore ble mesh for esp32c5/c61
(cherry picked from commit b2143d271e)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-04-02 16:31:59 +08:00
Sumeet Singh 0d5670dc62 feat(nimble): Update blecent example README.md with EATT documentation 2026-04-02 06:53:47 +05:30
Rahul Tank 6a9bcf3c96 Merge branch 'bugfix/nimble_example_fixes_v5.5' into 'release/v5.5'
fix(nimble): Address nimble example issues (v5.5)

See merge request espressif/esp-idf!47072
2026-04-01 22:03:21 +05:30
Rahul Tank d094d4f390 feat(nimble): Added changes in examples to have code under flags 2026-04-01 19:07:46 +05:30
Astha Verma 0bf77eed64 fix(nimble): fix missing gatt caching header in examples 2026-04-01 15:56:03 +05:30
Sumeet Singh 8bd8d4f38f fix(nimble): Fix enc adv NVS struct and add ext adv support 2026-04-01 15:56:03 +05:30
Shreeyash Bhakare 872508c72f fix(nimble): fix CODED PHY ext adv Packet Too Long by using min interval (20 ms) 2026-04-01 15:56:02 +05:30
Island a107766df0 Merge branch 'feat/support_run_time_alloc_for_esp_ip_test_v5.5' into 'release/v5.5'
Support Mempool Run Time Allocation for ESP IP Chips (v5.5)

See merge request espressif/esp-idf!46823
2026-04-01 14:03:12 +08:00
Zhi Wei Jian 19faf29144 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-31 14:29:24 +08:00
Jiang Jiang Jian 77d78e6f79 Merge branch 'bugfix/ble_ancs_ext_adv_scan_rsp_fix_v5.5' into 'release/v5.5'
fix(nimble): Remove scan response and use ble_gap_ext_adv_set_data in ble_ancs demo (v5.5)

See merge request espressif/esp-idf!46460
2026-03-31 10:47:50 +08:00
Jiang Jiang Jian e3b1a3111c Merge branch 'bugfix/bt_idf_ci_v5.5' into 'release/v5.5'
fix(bt/example): Fixed the HFP printing issue in the CI test (v5.5)

See merge request espressif/esp-idf!47079
2026-03-30 14:12:48 +08:00
yangfeng 071985838b fix(bt/example): Fixed the HFP printing issue in the CI test 2026-03-30 11:47:26 +08:00
Zhi Wei Jian 9e6558e842 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:45 +08:00
Zhi Wei Jian 360d404191 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:44 +08:00
cjin d8d616bbc0 feat(ble): supported ble mempool run time allocation for esp ip chips 2026-03-23 15:10:14 +08:00
yangfeng 7ef1e28723 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:18 +08:00
Shreeyash d899459903 fix(nimble): Remove scan response and use ble_gap_ext_adv_set_data 2026-03-10 15:05:06 +05:30
Shen Wei Long 710ac60f2c fix(doc): set SOC_BLUFI_SUPPORTED in soc_caps.h for ESP32-C5
(cherry picked from commit 60ece6a7f2)

Co-authored-by: ShenWeilong <shenweilong@espressif.com>
2026-03-06 16:07:36 +08:00
Island e8e5527488 Merge branch 'feat/add_new_bluedroid_host_examples_v5.5' into 'release/v5.5'
feat(ble/bluedroid): Add new bluedroid host examples (v5.5)

See merge request espressif/esp-idf!44880
2026-03-02 10:36:29 +08:00
Rahul Tank 4f54e0e103 fix(nimble): Improve safety, fix bugs, and update docs across NimBLE examples
- Remove unused headers from examples
- Improve periodic adv/sync example functionality and readability
- Use ble_hs_id_infer_auto() instead of hardcoded BLE_OWN_ADDR_PUBLIC/RANDOM
- Add ble_hs_util_ensure_addr() calls in on_sync for proper address setup
- Use correct ext adv instance (0 instead of 1) in phy_prph, l2cap_coc, multi_conn
- Fix struct name: ble_gap_periodic_adv_enable_params -> ble_gap_periodic_adv_start_params
- Add CONFIG_BT_NIMBLE_GAP_SERVICE guards around ble_svc_gap_device_name_set
- Fix unsafe AD data parsing with bounds checks in central examples
- Fix UUID matching bugs (off-by-one loop condition and byte order) in
  phy_cent, htp_cent, and proximity_sensor_cent
- Fix ble_multi_conn_cent address type to use dynamic inference
- Remove contradictory sm_sc=0 after sm_sc=1 in ble_multi_adv
- Add CONFIG_BT_NIMBLE_EXT_ADV=y to ble_multi_adv sdkconfig defaults
- Check return values for ble_gap_set_host_feat, nimble_port_init
- Update tutorials and READMEs to match code changes
2026-02-25 13:01:35 +05:30
Rahul Tank 0990d6e03e fix(nimble): Fix various issues for security/vulnerability in host 2026-02-23 14:09:34 +05:30
Rahul Tank 641e71e265 fix(nimble): Fix ble_multi_adv example to show correct UUIDs information 2026-02-19 12:22:51 +05:30
Shreeyash ba1360baef fix(nimble): Fix vulnerabilities in NimBLE examples 2026-02-19 10:18:38 +05:30
Astha Verma 6ad8c2667f fix(nimble): Added device name log for ext adv in blecent_throughput 2026-02-18 22:12:50 +05:30
Rahul Tank 2fcf63c746 fix(nimble): Bugfixes for various issues 2026-02-16 11:09:31 +05:30
zhiweijian 4828cc370b fix(ble/bluedroid): Change blufi sdkconfig 2026-02-09 00:05:04 +08:00
zhiweijian 2f9c222388 fix(ble/bluedroid): Change 5.0 event status 2026-02-09 00:05:04 +08:00
zhiweijian be341ff584 feat(ble/bluedroid): Add new bluedroid host examples 2026-02-09 00:05:04 +08:00
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 934970a06f)

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

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

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

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

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

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