Commit Graph
51 Commits
Author SHA1 Message Date
Chen Jichang 8cb3743b7c ci(esp32h4): disable h4 build and target test on unsupported release branch 2026-09-07 15:48:11 +08:00
Rahul Tank a32623ec88 fix(nimble): move BTDM defaults to esp32
BTDM_CTRL_MODE_* exists only on classic ESP32. Shared
sdkconfig.defaults caused unknown-symbol warnings on other targets.
2026-08-31 20:27:23 +08:00
Rahul Tank 2961c16685 fix(nimble): Fix issues found in review for nimble examples 2026-08-31 20:27:23 +08:00
Rahul Tank 98ee8310b5 fix(nimble): Fix for clang compilation issues 2026-08-31 20:27:23 +08:00
Rahul TankandCursor b5ea25a9d2 fix(nimble): Fix compilation issues in Gatt SPS service
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 20:27:23 +08:00
ShenWeilong cf813a4a1e feat(ble): Added ble support for esp32h21 2026-05-20 19:24:08 +08:00
cjin 6f7eec029b feat(ble): support ble on esp32s31 2026-04-21 17:50:36 +08:00
Rahul Tank 9a5f644134 fix(nimble): Update example READMEs with correct console log information 2026-04-14 17:48:22 +08:00
ShenWeilong 6e359ad99e feat(ble): added ble support for esp32h4 eco1 2026-04-02 14:59:40 +08:00
Astha Verma 8af2079703 fix(nimble): fix missing gatt caching header in examples 2026-03-30 15:35:30 +05:30
Rahul Tank 9036880677 feat(nimble): Added changes in examples to have code under flags 2026-03-11 19:12:26 +05:30
Rahul Tank 432cd1ebdd 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 12:59:48 +05:30
Rahul Tank 684a81b4f3 fix(nimble): Fix various issues for security/vulnerability in host 2026-02-23 14:04:11 +05:30
Rahul Tank 9e581d7d68 fix(nimble): Bugfixes for various issues 2026-02-16 10:53:34 +05:30
Shreeyash bd971c5d0e fix(nimble): Fix vulnerabilities in NimBLE examples 2026-02-06 17:47:06 +05:30
Rahul Tank 5b01ed8100 fix(nimble): Add AD type macros in example 2026-01-14 09:59:38 +05:30
Rahul Tank 2738c5ac76 fix(nimble): Address compilation issues in nimble examples 2025-10-30 10:54:36 +05:30
C.S.M c81cf3bdf6 refactor(spi_flash): Remove spi_flash rom driver patch config option 2025-10-22 10:37:19 +08:00
Rahul Tank a3808c928a Merge branch 'fix/adding_missing_apis_nimble' into 'master'
fix(nimble): Added helper APIs in NimBLE

Closes BLERP-2126 and BLERP-2138

See merge request espressif/esp-idf!40223
2025-08-20 16:01:46 +05:30
Marek Fiala 9d35d63651 feat(cmake): Update minimum cmake version to 3.22 (whole repository) 2025-08-19 14:44:32 +02:00
Astha Verma 3c579545a4 fix(nimble): Added missing api in nimble which present in bluedroid 2025-08-19 12:21:04 +05:30
Rahul Tank 304b561f8a Merge branch 'fix/gatt_cache_peer_init_incl_svc' into 'master'
fix(nimble): Added parameter in peer_init for included service allocation

See merge request espressif/esp-idf!39822
2025-06-18 16:24:49 +05:30
Jiang Jiang Jian 22ae972229 Merge branch 'feat/resupport_esp32c61eco3_ble' into 'master'
change(ble): resupport ble for ESP32C61ECO3

Closes BLERP-1948, IDF-10360, IDF-10361, IDF-10363, IDF-10365, and IDF-10362

See merge request espressif/esp-idf!39601
2025-06-18 10:26:07 +08:00
Astha Verma a82bdb87d3 fix(nimble): Added parameter in peer_init for included service allocation 2025-06-17 11:56:20 +05:30
Shreeyash bb5fc032e0 fix(nimble): Add support to minimize ram consumption 2025-06-12 19:31:07 +05:30
Zhou Xiao 7847a82b28 change(ble): resupport ble for ESP32C61ECO3 2025-06-10 14:34:49 +08:00
wanckl 6fde8cf8d2 ci(esp32c61): disable soc_caps, docs, test for eco3 update 2025-05-26 16:04:23 +08:00
Rahul Tank a58ce394c4 fix(nimble): Add support for minimilistic builds 2025-05-19 12:44:34 +05:30
Sumeet Singh 12639efed5 feat(nimble): Added some fixes for autopts testing 2025-05-07 15:27:08 +05:30
Rahul Tank 719b1b2be0 Merge branch 'bugfix/fix_ext_disc_example_usage' into 'master'
fix(nimble): Corrected structure field name usage in examples

See merge request espressif/esp-idf!38824
2025-05-05 13:44:16 +08:00
Rahul Tank 08649020ea fix(nimble): Corrected structure field name usage in examples 2025-04-29 12:34:04 +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
Rahul Tank 30f7fa5e0e fix(nimble): Corrected link_estab event handling parameters 2024-12-19 12:27:09 +05:30
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
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
Shen Weilong 777b48a494 feat(ble): support ble on esp32c5 2024-07-23 20:12:43 +08:00
Rahul Tank f92efd98e9 fix(nimble): Increase Timer stack size for nimble application 2024-07-22 15:05:59 +05:30
Rahul Tank d42fa84973 fix(nimble): Update menuconfig option to consider 5.0 support 2024-07-10 13:48:00 +05:30
Rahul Tank 843f48fb00 ci(nimble): Cleanup sdkconfig files 2023-11-21 11:52:11 +05:30
Ivan Grokhotkov 6d87100a70 feat(examples): add local components via idf_component.yml
Specifying all the dependencies (managed and local) in the manifest
makes it easier for users to see every component the example
depends on.
2023-09-19 10:38:24 +02:00
Rahul Tank f907c22ea8 docs(nimble): Update Kconfig help section for Example Ext Adv 2023-07-18 16:07:24 +05:30
Rahul Tank 1ad891361f Merge branch 'bugfix/handle_correct_return_value' into 'master'
Nimble: Corrected conditional check during connection to handle failure case

See merge request espressif/esp-idf!24047
2023-06-30 15:17:05 +08:00
Rahul Tank 0d5ce55e08 Nimble: Added Example Walkthrough tutorial for HTP example in nimble 2023-06-21 16:20:59 +05:30
Rahul Tank df2612d104 Nimble: Corrected conditional check during connection to handle failure case 2023-06-21 11:56:36 +05:30