Commit Graph
58 Commits
Author SHA1 Message Date
Astha Verma d2708d151d fix(nimble): Restore throughput after switching from LE Coded PHY 2026-07-24 18:04:48 +05:30
Rahul Tank 39676ac80d fix(nimble): Fix issues found in review for nimble examples 2026-07-24 15:22:26 +05:30
Mayank Tyagi d7d029a4ed fix(nimble): Optimize Nimble throughput example for 1M/2M/S2/S8 2026-06-24 17:02:18 +05:30
Astha Verma c8e62a4cba fix(nimble): Added l2cap_coc throughput examples 2026-06-22 11:40:22 +05:30
Rahul Tank 010b3a37b2 fix(nimble): Fix for clang compilation issues 2026-06-05 10:55:27 +05:30
Rahul Tank d094d4f390 feat(nimble): Added changes in examples to have code under flags 2026-04-01 19:07:46 +05:30
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
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 54f5822499 fix(nimble): Add AD type macros in example 2026-01-14 10:52:00 +05:30
Rahul Tank 07a9d40a75 fix(nimble): Address compilation issues in nimble examples 2025-11-25 10:20:30 +05:30
Astha Verma 0582ee32dc fix(nimble): Added parameter in peer_init for included service allocation 2025-07-08 11:49:20 +05:30
Sumeet Singh 12639efed5 feat(nimble): Added some fixes for autopts testing 2025-05-07 15:27:08 +05:30
Shreeyash 9934587d1c fix(nimble): Added support for 1m, 2m, coded phy channels and optimized throughput 2025-05-06 17:59:06 +05:30
Zhou Xiao 2e8d8beb9d change(ble): supported ble for esp32c5-eco2 2025-04-29 14:24:47 +08:00
laokaiyao 9a88effab8 ci: disabled RF soc caps for c5 eco2
Disable the RF soc caps to bypass the build of un-supported RF examples
2025-04-16 11:01:39 +08:00
Rahul Tank 963a50cc9f fix(nimble): Updated sscanf usage in examples to work for all versions 2025-04-09 17:50:26 +05:30
Rahul Tank 891f86d649 fix(nimble): Keep only BLE_GAP_EVENT_CONNECT gap event 2025-02-27 16:21:31 +05:30
Song Ruo Jing 3fde2017cd refactor(rtcio): update comments for rtc_io header file
Closes https://github.com/espressif/esp-idf/issues/13735
2025-01-08 16:49:34 +08:00
Rahul Tank 30f7fa5e0e fix(nimble): Corrected link_estab event handling parameters 2024-12-19 12:27:09 +05:30
Wei Yu Han f47baa086e fix(ble): Optimizied the bluetooth build test rules 2024-12-02 14:18:11 +08:00
Frantisek Hrbata 1c92945f59 change(examples): switch examples to use a minimal build
Currently, several example dependencies rely on the fact that all
registered components are added to the build, along with components
specified in common requirements. This results in longer build times
because even unused components must be built. Switch all examples to use
idf_minimal_build to compile only the components actually required by
the example.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 20:14:40 +01:00
Frantisek Hrbata ad15109daa change(examples): explicitly specify component dependencies for examples
Currently, several examples do not explicitly state their component
dependencies, relying instead on the default behavior that includes all
registered components and commonly required ones in the build.
Explicitly adding component dependencies can reduce build time when
set(COMPONENTS main) is used.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 14:11:24 +01:00
Ivan Grokhotkov 68e9bcbf1e fix(build): clean up dependencies on driver component 2024-11-07 13:09:23 +01:00
Shen Weilong bf52e37fa8 feat(ble): added ble support on esp32c61 2024-09-14 12:22:04 +08:00
Rahul Tank 61aae40313 feat(nimble): BLE_GAP_EVENT_LINK_ESTAB event to ensure link established 2024-08-21 13:07:46 +05:30
Rahul Tank f03c3ed43e feat(nimble): Add support to allow connection during scanning 2024-08-20 10:05:14 +05:30
Song Ruo Jing adb1a81729 Merge branch 'feature/esp32c61_regi2c_support' into 'master'
feat(regi2c): support REGI2C for ESP32C61

Closes IDF-9276

See merge request espressif/esp-idf!31980
2024-07-29 11:52:41 +08:00
Fu Hanxi 104ba56d92 ci: temp disable esp32c5 build of examples/bluetooth/nimble/throughput_app/blecent_throughput 2024-07-24 21:19:01 +02:00
Song Ruo Jing 71d37f9ea8 fix(ci): wrap sleep related code with porper caps for ble throughput_app 2024-07-24 15:45:21 +08:00
Shen Weilong 777b48a494 feat(ble): support ble on esp32c5 2024-07-23 20:12:43 +08:00
Lou Tianhao 8db9f79bd2 change(pm/ext1): replace esp_sleep_set_ext1_wakeup_io by esp_sleep_enable_ext1_wakeup_io 2023-11-20 16:04:01 +08:00
Lou Tianhao a02f72bb81 change(pm/ext1): replace deprecated ext1 func 2023-11-17 16:20:54 +08:00
Chen Yudong 45bc939462 ci: update bluetooth examples build rules
fix some bluetooth examples supported targets
2023-10-18 21:58:28 +08:00
KonstantinKondrashov f07fcbed8d fix(examples): Fix example build errors caused by the deep_sleep funcs are returnable 2023-07-21 13:58:20 +08:00
Song Ruo Jing 4985caa38f refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps 2023-07-05 11:47:51 +08:00
Rahul Tank df2612d104 Nimble: Corrected conditional check during connection to handle failure case 2023-06-21 11:56:36 +05:30
Konstantin Kondrashov c350c3c504 Merge branch 'feature/cleanup_wrong_log_use' into 'master'
all: Removes unnecessary newline character in logs

Closes IDFGH-10197

See merge request espressif/esp-idf!24131
2023-06-15 21:49:49 +08:00
Roshan Bangar eacbc00bb3 Introduced delay to avoid watchdog timer in throughput app 2023-06-14 19:36:02 +05:30
KonstantinKondrashov e72061695e all: Removes unnecessary newline character in logs
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
isha.pardikar@espressif.com aceaa87ea0 NimBLE: Fixed mismatch of number of completed packtes in host flow control 2023-05-18 12:56:47 +05:30
laokaiyao b16ed57b2e esp32h4: removed esp32h4 related files 2023-04-23 12:03:07 +00:00
wuzhenghui 709adaaa37 soc_caps: since esp32c6 only support one ext wakeup src, split SOC_PM_SUPPORT_EXT_WAKEUP
Close IDF-5924
2023-03-02 15:06:05 +08:00
Rahul Tank 826495a145 Nimble: Added return value (success / failure ) to nimble_port_init 2023-01-31 12:01:02 +05:30
Shen Weilong 6e962ce8dd Modify the readme files in example/bluetooth 2023-01-13 15:05:34 +08:00
Rahul Tank 00ce75784a Nimble: Fixed compilation issues in nimble examples after removing "-Wno-format" option 2022-12-16 16:49:55 +05:30
Kevin (Lao Kaiyao) 5bed8fab49 Merge branch 'refactor/rename_h2_to_h4' into 'master'
esp32h2: renaming esp32h2 to esp32h4

Closes IDF-6098

See merge request espressif/esp-idf!20676
2022-11-09 19:19:43 +08:00
laokaiyao 8677216576 esp32h2: renaming esp32h2 to esp32h4 2022-11-08 17:05:33 +08:00
isha.pardikar@espressif.com b950ddb0fd NimBLE : Change GATT notify/indicate from gattc to gatts 2022-11-08 14:02:54 +05:30
Ivan Grokhotkov e596c84d49 build system: re-add -Wno-format as private flag for some example components 2022-08-03 16:42:47 +04:00