Commit Graph

1301 Commits

Author SHA1 Message Date
cjin 3f32fefaec feat(ble): supported ble mempool run time allocation for esp ip chips 2026-04-02 16:40:03 +08:00
Sumeet Singh 4c30f20afb feat(nimble): Update blecent example README.md with EATT documentation 2026-04-02 06:57:07 +05:30
Rahul Tank e8e60bb6cf Merge branch 'bugfix/nimble_example_fixes_v5.2' into 'release/v5.2'
fix(nimble): Address nimble example issues (v5.2)

See merge request espressif/esp-idf!47075
2026-04-01 15:42:52 +05:30
Island 1e07f40a93 Merge branch 'bugfix/fix_some_bluedroid_bugs_260121_v5.2' into 'release/v5.2'
Bugfix/fix some bluedroid bugs 260121 (5.2)

See merge request espressif/esp-idf!46980
2026-04-01 11:45:16 +08:00
Astha Verma 65474b7fba fix(nimble): fix missing gatt caching header in examples 2026-03-31 17:31:13 +05:30
Sumeet Singh 20f52d60ab fix(nimble): Fix enc adv NVS struct and add ext adv support 2026-03-30 16:18:18 +05:30
Shreeyash Bhakare d72a8b091c fix(nimble): fix CODED PHY ext adv Packet Too Long by using min interval (20 ms) 2026-03-30 16:18:18 +05:30
Zhi Wei Jian 4813de3e89 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:45:02 +08:00
yangfeng 07fc9e3127 fix(bt/example): Fixed the HFP printing issue in the CI test 2026-03-30 11:52:23 +08:00
Zhi Wei Jian 64b2e02c8f 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:37 +08:00
Zhi Wei Jian 9968fe22b8 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:37 +08:00
Rahul Tank 77ec82dc0f feat(nimble): Added changes in examples to have code under flags 2026-03-12 10:43:52 +05:30
muhaidong 38c806f9ef fix(wifi): fix lmac tx done assert issue 2026-03-10 20:08:52 +08:00
Rahul Tank 75eda3f00c 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:07:02 +05:30
Rahul Tank f410a6ca23 fix(nimble): Fix various issues for security/vulnerability in host 2026-02-23 15:26:48 +05:30
Rahul Tank 700181eb1f fix(nimble): Bugfixes for various issues 2026-02-16 11:35:20 +05:30
Rahul Tank ab0700c044 Merge branch 'bugfix/fix_ble_multi_adv_v5.2' into 'release/v5.2'
fix(nimble): Fix ble_multi_adv example to show correct UUIDs information (v5.2)

See merge request espressif/esp-idf!45814
2026-02-12 15:48:27 +05:30
Astha Verma c042a611c6 fix(nimble): Added device name log for ext adv in blecent_throughput 2026-02-11 12:48:23 +05:30
Rahul Tank 2739813bf0 fix(nimble): Fix ble_multi_adv example to show correct UUIDs information 2026-02-11 12:44:06 +05:30
Rahul Tank 217e5743b9 Merge branch 'bugfix/security_fixes_for_examples_v5.2' into 'release/v5.2'
fix(nimble): Fix vulnerabilities in NimBLE examples (v5.2)

See merge request espressif/esp-idf!45485
2026-02-09 14:24:51 +05:30
Shreeyash 35ca390a06 fix(nimble): Fix vulnerabilities in NimBLE examples 2026-02-06 18:48:32 +05:30
luoxu b640f05f6a feat(ble_mesh): alignment to release/v6.0 2026-02-06 11:15:20 +08:00
zhiweijian fff39b8bed fix(ble/bluedroid): Change blufi sdkconfig 2026-01-30 20:25:33 +08:00
zhiweijian 6ca15a6977 fix(ble/bluedroid): Change 5.0 event status 2026-01-30 20:25:22 +08:00
zhiweijian f2ba0aa3be feat(ble/bluedroid): Add new bluedroid host examples 2026-01-30 20:24:33 +08:00
Astha Verma 7731d64376 fix(nimble): Reset HID service during deinit 2026-01-28 12:18:34 +08:00
Jin Cheng 19268879bd fix(bt/bluedroid): add status management for audio sink service channel 2026-01-15 09:15:28 +08:00
Rahul Tank 676c0d62d7 fix(nimble): Add AD type macros in example 2026-01-14 11:06:59 +05:30
Zhang Hai Peng 01d2833097 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:39 +08:00
zhanghaipeng 23378c9507 fix(ble/hci): Fix OOB read in ble_adv_scan_combined example 2026-01-07 19:28:39 +08:00
Zhang Hai Peng c9e745c14a 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:39 +08:00
Zhang Hai Peng 2f2bff559a 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:39 +08:00
Zhang Hai Peng 259c9500dd 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:39 +08:00
Zhang Hai Peng 11bae0a7c5 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:39 +08:00
zhiweijian b9a200f6b0 fix(ble/bluedroid): Replaced the psa_ api with the mbedtls_ api 2026-01-06 20:52:26 +08:00
zhiweijian 7548eab182 feat(ble/bluedroid): Support bluedroid encrypted advertising data 2026-01-06 20:52:16 +08:00
Wang Meng Yang 35da77d466 Merge branch 'refactor/split_a2dp_sink_v5.2' into 'release/v5.2'
refactor(examples/classic_bt): Split a2dp_sink example(v5.2)

See merge request espressif/esp-idf!44528
2025-12-26 21:26:09 +08:00
Island edf3fb578d Merge branch 'fix/add_soc_caps_for_pawr_feat_v5.2' into 'release/v5.2'
fix(ble): add soc caps feat for PAwR (v5.2)

See merge request espressif/esp-idf!44147
2025-12-26 14:21:28 +08:00
yangfeng 040d4b948b refactor(examples/classic_bt): Add example tests for A2DP and AVRCP examples 2025-12-25 11:08:30 +08:00
yangfeng 898c087e51 docs: Add explanations for the A2DP sink stream and AVRCP examples
- Modify the path of A2DP sink example
2025-12-25 11:08:30 +08:00
yangfeng 2f794197c9 refactor: Refactor the example of the coexistence of A2DP sink and GATT service 2025-12-25 11:08:02 +08:00
yangfeng 52e364f346 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 11:07:55 +08:00
Rahul Tank 05aafb604d feat(nimble): Add support for static passkey 2025-12-22 21:19:18 +05:30
Island e483933a71 Merge branch 'bugfix/fix_ble_security_issue_2025_v5.2' into 'release/v5.2'
Fix potential CVE-2024-0039 out-of-bounds write in attp_build_value_cmd (v5.2)

See merge request espressif/esp-idf!43804
2025-12-18 10:56:18 +08:00
Jin Chen f80ec2cfcb fix(ble): add soc caps config for pawr feat on ESP32H2
(cherry picked from commit 2eb79c71f1)

Co-authored-by: cjin <jinchen@espressif.com>
2025-12-15 11:39:39 +08:00
Zhang Hai Peng cd670b87a5 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:54:02 +08:00
Chen Yudong 844f5ce69a ci: rename wifi_two_dut to two_duts 2025-12-03 19:00:23 +08:00
Zhang Hai Peng 634ad6387d 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:53:51 +08:00
Zhang Hai Peng 64ca58dcf3 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:53:48 +08:00
Zhang Hai Peng 2da49dff69 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:53:47 +08:00