Commit Graph

1412 Commits

Author SHA1 Message Date
Zhou Xiao
9b3b517c45 fix(ble): fixed ci failures for backport 2026-04-28 12:34:02 +08:00
Zhi Wei Jian
b336f559d2 feat(ble): Support nimble uart service
(cherry picked from commit 9de3eea3de)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-28 11:21:34 +08:00
Sahil Yadav
80622c637a feat(nimble): Support NimBLE log compression and decompression over SPI 2026-04-24 13:48:57 +05:30
Rahul Tank
e87804cbfd Merge branch 'bugfix/ai_fixes_common_components_v5.4' into 'release/v5.4'
Bugfix/ai fixes common components (v5.4)

See merge request espressif/esp-idf!47568
2026-04-24 10:54:19 +05:30
Island
7359a5b51f Merge branch 'fix/disabel_ble50_by_default_for_blemesh_v5.4' into 'release/v5.4'
fix(ble_mesh): disabled ble50 by default for ble_mesh (5.4)

See merge request espressif/esp-idf!47750
2026-04-23 17:53:36 +08:00
Island
cae08673c0 Merge branch 'feat/remove_led_from_ble_mesh_examples_v5.4' into 'release/v5.4'
refactor(ble_mesh): remove LED hardware dependency from examples (5.4)

See merge request espressif/esp-idf!47437
2026-04-23 17:53:14 +08:00
luoxu
7395a7f796 feat(ble_mesh): disable BLE 5.0 features for fast_prov_server sdkconfig 2026-04-23 16:24:23 +08:00
Rahul Tank
7e9d95497c fix(nimble): Address review comments for hidd / hidh code 2026-04-20 22:04:15 +05:30
Rahul Tank
a526bae727 fix(nimble): Address review fixes for tinycrypt / and blufi code 2026-04-20 22:04:15 +05:30
Rahul Tank
461856f2b3 Merge branch 'bugfix/fix_nimble_eg_readme_v5.4' into 'release/v5.4'
fix(nimble): Update example READMEs with correct console log information (v5.4)

See merge request espressif/esp-idf!47602
2026-04-20 22:01:11 +05:30
Rahul Tank
9c5c3a33ef fix(nimble): Fix prox service to handle negative values 2026-04-20 14:25:44 +05:30
Wang Meng Yang
bd15e92865 Merge branch 'bugfix/bt_idf_ci_v5.4' into 'release/v5.4'
fix(bt/example): Fixed the HFP printing issue in the CI test (v5.4)

See merge request espressif/esp-idf!47080
2026-04-20 09:35:53 +08:00
Luo Xu
6bc8e68bba fix(ble_mesh): disabled ble50 by default for ble_mesh
(cherry picked from commit 99d931e4e9)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-04-17 21:43:36 +08:00
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
Rahul Tank
5ec65b14c4 fix(nimble): Update example READMEs with correct console log information 2026-04-14 16:19:27 +05:30
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
luoxu
b72a0be6ea refactor(ble_mesh): remove LED hardware dependency from examples 2026-04-10 19:37:26 +08:00
yangfeng
10272874a1 fix(bt/example): Fixed the HFP printing issue in the CI test 2026-03-30 11:49:26 +08:00
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