Commit Graph

22 Commits

Author SHA1 Message Date
Rahul Tank
2234b81cab feat(nimble): Added changes in examples to have code under flags 2026-03-12 10:43:37 +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
47aebc48f5 fix(nimble): Fix ble_multi_adv example to show correct UUIDs information 2026-02-11 12:38:06 +05:30
Shreeyash
dacec1afa1 fix(nimble): Fix vulnerabilities in NimBLE examples 2026-02-06 18:43:33 +05:30
Rahul Tank
c195fd11de fix(nimble): Add AD type macros in example 2026-01-14 10:53:25 +05:30
Rahul Tank
40a5e18e15 fix(nimble): Address compilation issues in nimble examples 2025-10-30 11:36:11 +05:30
Rahul Tank
5133f785b5 fix(nimble): Declutter the nimble menu config options 2025-10-21 11:24:29 +05:30
Shreeyash
7d86471ea9 fix(nimble): Add support to minimize ram consumption 2025-06-03 16:06:57 +05:30
Rahul Tank
66c12d4efe fix(nimble): Add support for minimilistic builds 2025-05-27 11:07:33 +05:30
Rahul Tank
20f902c953 fix(nimble): Keep only BLE_GAP_EVENT_CONNECT gap event 2025-03-27 10:01:17 +05:30
Rahul Tank
fc3ecc2527 fix(nimble): Corrected link_estab event handling parameters 2025-01-07 16:23:17 +05:30
Rahul Tank
2a12872d0a Merge branch 'fix/added_a_change_to_print_address_of_advertising_instance' into 'master'
fix(nimble): Added a change to print address of an advertising instance

Closes BLERP-1033

See merge request espressif/esp-idf!33550
2024-09-19 14:08:47 +08:00
shreeyash
9725f3af74 fix(nimble): Added a change to print address of an advertising instance 2024-09-16 14:00:21 +05:30
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
Shen Weilong
777b48a494 feat(ble): support ble on esp32c5 2024-07-23 20:12:43 +08:00
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
Abhinav Kudnar
9bdb59a479 doc (nimble): Added the tutorial for ble_multi_adv example. 2023-09-04 16:27:33 +05:30
Rahul Tank
1a599cd3bc Nimble: Added Example Walkthrough tutorial for Multi Adv example 2023-06-02 16:44:59 +05:30
laokaiyao
bf2a7b2df6 esp32h4: removed esp32h4 related codes 2023-04-23 12:03:07 +00:00
isha.pardikar@espressif.com
1117bd8ab0 NimBLE: Fixed crash in multi advertising example. 2023-03-30 12:54:10 +05:30
isha.pardikar@espressif.com
ec92e96406 NimbLE: Added multi advertising example 2023-03-20 17:26:36 +05:30