Commit Graph
1396 Commits
Author SHA1 Message Date
Sumeet Singh e8b0e8ac58 feat(nimble): Update blecent example README.md with EATT documentation 2026-04-17 15:57:19 +05:30
Astha Verma 534bbfd6f1 fix(nimble): fix missing gatt caching header in examples 2026-04-17 15:57:19 +05:30
Sumeet Singh c9144f84ae fix(nimble): Fix enc adv NVS struct and add ext adv support 2026-04-17 15:57:19 +05:30
Shreeyash Bhakare 63c5243ef3 fix(nimble): fix CODED PHY ext adv Packet Too Long by using min interval (20 ms) 2026-04-17 15:57:19 +05:30
Island 7bead3ac8e Merge branch 'feat/support_run_time_alloc_for_esp_ip_test_v5.4' into 'release/v5.4'
Support Mempool Run Time Allocation for ESP IP Chips (v5.4)

See merge request espressif/esp-idf!46822
2026-04-17 18:12:36 +08:00
Island db8081e018 Merge branch 'fix/fix_bluedroid_gattc_gatts_coex_example_params_error_v5.4' into 'release/v5.4'
fix(ble/bluedroid): Fixed Incorrect use of event parameters in gattc_gatts_coex (5.4)

See merge request espressif/esp-idf!46905
2026-04-17 18:11:12 +08:00
Jin Chen 34dcd0d41f feat(ble): supported ble mempool run time allocation for esp ip chips
(cherry picked from commit 84d75cf772)

Co-authored-by: cjin <jinchen@espressif.com>
2026-04-14 14:50:32 +05:30
Zhi Wei Jian 8ffd600d34 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-25 10:27:36 +08:00
Zhi Wei Jian e5d580f3e4 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:42 +08:00
Zhi Wei Jian ffc5c65fc5 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:42 +08:00
Rahul Tank 424278a3da Merge branch 'bugfix/fix_compilation_issue_example_v5.4' into 'release/v5.4'
feat(nimble): Added changes in examples to have code under flags (v5.4)

See merge request espressif/esp-idf!46532
2026-03-13 08:31:34 +05:30
Fu Hanxi aacde8f52b Merge branch 'ci/pytest_mark_formatter_v5.4' into 'release/v5.4'
ci: pytest mark formatter (v5.4)

See merge request espressif/esp-idf!46228
2026-03-12 09:59:10 +01:00
Rahul Tank 2234b81cab feat(nimble): Added changes in examples to have code under flags 2026-03-12 10:43:37 +05:30
Evgeny Torbin f7395255da test: format all test scripts 2026-03-11 07:34:34 +01:00
Shreeyash 1cfc181a2d fix(nimble): Remove scan response and use ble_gap_ext_adv_set_data 2026-03-10 15:05:16 +05:30
Rahul Tank 649740afe2 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:02:58 +05:30
Rahul Tank 68382f6a1f fix(nimble): Fix various issues for security/vulnerability in host 2026-02-24 15:57:31 +05:30
Rahul Tank d6ce5da7b6 fix(nimble): Bugfixes for various issues 2026-02-16 11:17:56 +05:30
Rahul Tank 47aebc48f5 fix(nimble): Fix ble_multi_adv example to show correct UUIDs information 2026-02-11 12:38:06 +05:30
Rahul Tank fada2a1e45 Merge branch 'bugfix/security_fixes_for_examples_v5.4' into 'release/v5.4'
fix(nimble): Fix vulnerabilities in NimBLE examples (v5.4)

See merge request espressif/esp-idf!45482
2026-02-09 14:24:05 +05:30
Shreeyash dacec1afa1 fix(nimble): Fix vulnerabilities in NimBLE examples 2026-02-06 18:43:33 +05:30
luoxu 6a79fd2621 feat(ble_mesh): alignment to release/v6.0 2026-02-06 11:18:19 +08:00
Astha Verma c1afe828bc fix(nimble): Added device name log for ext adv in blecent_throughput 2026-02-03 16:27:22 +05:30
zhiweijian 67cadec2a8 fix(ble/bluedroid): Change blufi sdkconfig 2026-01-30 20:16:01 +08:00
zhiweijian 467cc4ddb4 fix(ble/bluedroid): Change 5.0 event status 2026-01-30 20:15:51 +08:00
zhiweijian dd35a4eaef feat(ble/bluedroid): Add new bluedroid host examples 2026-01-30 20:14:59 +08:00
Astha Verma 1ee20b1365 fix(nimble): Reset HID service during deinit 2026-01-28 12:18:20 +08:00
Jin Cheng cef2470455 fix(bt/bluedroid): add status management for audio sink service channel 2026-01-15 09:13:38 +08:00
Rahul Tank c195fd11de fix(nimble): Add AD type macros in example 2026-01-14 10:53:25 +05:30
Zhang Hai Peng c3d5c161ca feat(examples/bluedroid): add BLE ACL latency measurement example
(cherry picked from commit 934970a06f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-09 14:11:17 +08:00
zhanghaipeng 29c6755b46 fix(ble/hci): Fix OOB read in ble_adv_scan_combined example 2026-01-09 14:11:17 +08:00
Zhang Hai Peng a599bc9a02 docs(ble): add flow diagrams to bluedroid BLE examples
(cherry picked from commit 051077835c)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-09 14:11:17 +08:00
Zhang Hai Peng c69a9f9d19 refactor(examples/bluedroid): Replace hardcoded ADV type values with macros
(cherry picked from commit fdeb5ad87a)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-09 14:10:59 +08:00
Zhang Hai Peng d1bf2668c1 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-09 14:09:16 +08:00
Zhang Hai Peng aa70c1d27c 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-09 14:09:16 +08:00
zhiweijian 80b6fceac5 fix(ble/bluedroid): Replaced the psa_ api with the mbedtls_ api 2026-01-06 21:08:30 +08:00
zhiweijian 61162a7887 feat(ble/bluedroid): Support bluedroid encrypted advertising data 2026-01-06 20:43:20 +08:00
yangfeng ccb49f07e7 refactor(examples/classic_bt): Add example tests for A2DP and AVRCP examples 2025-12-25 10:54:32 +08:00
yangfeng b3aa863759 docs: Add explanations for the A2DP sink stream and AVRCP examples
- Modify the path of A2DP sink example
2025-12-25 10:54:32 +08:00
yangfeng fb7fc40fec refactor(examples/classic_bt): Add AVRCP cover art example with LCD display 2025-12-25 10:54:32 +08:00
yangfeng 38a2e9dbd0 refactor(examples/classic_bt): Add common code for AVRCP cover art example 2025-12-25 10:54:32 +08:00
yangfeng 291369475e refactor: Refactor the example of the coexistence of A2DP sink and GATT service 2025-12-25 10:54:32 +08:00
yangfeng ed563043c8 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:54:21 +08:00
Rahul Tank 9e157e314a feat(nimble): Add support for static passkey 2025-12-22 21:16:35 +05:30
Island 63bc003841 Merge branch 'feature/extend_h2_conon_num_to_70_v5.4' into 'release/v5.4'
change(ble): Updated the maximum number of concurrent connections to 70 on ESP32-H2 (v5.4)

See merge request espressif/esp-idf!43834
2025-12-19 14:31:56 +08:00
Island c678100216 Merge branch 'bugfix/fix_ble_security_issue_2025_v5.4' into 'release/v5.4'
Fix potential CVE-2024-0039 out-of-bounds write in attp_build_value_cmd (v5.4)

See merge request espressif/esp-idf!43806
2025-12-18 10:55:49 +08:00
Shen Wei Long 5060e2f40d change(ble): Updated the maximum number of concurrent connections to 70 on ESP32-H2
(cherry picked from commit cd33f13521)

Co-authored-by: ShenWeilong <shenweilong@espressif.com>
2025-12-12 15:10:44 +08:00
Zhang Hai Peng 21330fa36e 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:11 +08:00
Zhang Hai Peng 32d0cff8b4 fix(ble/bt): Add NULL check in esp_hid_device example
(cherry picked from commit 8e0f74a2cc)

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

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:09 +08:00