Commit Graph

35 Commits

Author SHA1 Message Date
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
Rahul Tank
77ec82dc0f feat(nimble): Added changes in examples to have code under flags 2026-03-12 10:43:52 +05:30
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
Shreeyash
35ca390a06 fix(nimble): Fix vulnerabilities in NimBLE examples 2026-02-06 18:48:32 +05:30
Rahul Tank
676c0d62d7 fix(nimble): Add AD type macros in example 2026-01-14 11:06:59 +05:30
Rahul Tank
b89bf2dcc6 fix(nimble): Address compilation issues in nimble examples 2025-10-29 21:17:39 +05:30
Astha Verma
304a10e1e9 fix(nimble): Added parameter in peer_init for included service allocation 2025-06-17 11:59:38 +05:30
Shreeyash
83e66fda3b fix(nimble): Add support to minimize ram consumption 2025-06-03 16:07:25 +05:30
Rahul Tank
035560bda4 fix(nimble): Add support for minimilistic builds 2025-05-19 12:51:59 +05:30
Sumeet Singh
d220557626 feat(nimble): Added some fixes for autopts testing (v5.2) 2025-05-08 19:42:46 +05:30
Rahul Tank
15a03a71a3 fix(nimble): Corrected structure field name usage in examples 2025-04-29 21:49:11 +05:30
Rahul Tank
2b4939f49a fix(nimble): Updated sscanf usage in examples to work for all versions 2025-04-09 18:30:40 +05:30
Rahul Tank
172e5a317a fix(nimble): Keep only BLE_GAP_EVENT_CONNECT gap event 2025-02-28 13:14:41 +05:30
Rahul Tank
21cebc7df9 fix(nimble): Corrected link_estab event handling parameters 2024-12-19 16:00:46 +05:30
Rahul Tank
793f0b3b65 feat(nimble): BLE_GAP_EVENT_LINK_ESTAB event to ensure link established 2024-08-20 14:57:14 +05:30
Rahul Tank
a992ae6528 feat(nimble): Add support to allow connection during scanning 2024-08-16 15:06:35 +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
5a0aa4bd8e fix(nimble): Updated BLE Phy example
The existing example has some issues which are now fixed.

1. Original example had legacy_pdu set which was not causing
   the PHY to actually change. Fixed this
2. Added a way to initiate connection directly on 2M or Coded Phy.
2023-09-15 14:28:59 +05:30
Rahul Tank
f907c22ea8 docs(nimble): Update Kconfig help section for Example Ext Adv 2023-07-18 16:07:24 +05:30
abhi152
84a95d6f51 doc (nimble): Added Walkthrough tutorial for phy_cent example 2023-07-05 13:54:19 +05:30
Rahul Tank
df2612d104 Nimble: Corrected conditional check during connection to handle failure case 2023-06-21 11:56:36 +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
laokaiyao
bf2a7b2df6 esp32h4: removed esp32h4 related codes 2023-04-23 12:03:07 +00:00
Rahul Tank
6e1d60ea48 Merge branch 'contrib/github_pr_11034' into 'master'
Nimble: Added Walkthrough tutorial for phy_prph example. (GitHub PR)

Closes IDFGH-9693

See merge request espressif/esp-idf!22926
2023-03-29 18:41:18 +08:00
isha.pardikar@espressif.com
2bed48dc5b NimBLE: Demo of using write blob in ble phy example 2023-03-24 17:47:59 +05:30
abhi152
b2782250be Nimble: Added Walkthrough tutorial for phy_prph example. 2023-03-24 11:42:29 +00:00
Rahul Tank
b9c7281079 Nimble:Updated nimble examples README to include chip information 2023-03-19 17:07:48 +05:30
Rahul Tank
d89736babf Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips 2023-03-08 11:59:43 +05:30
Rahul Tank
8969139b06 Nimble:Change component path to relative path for remaining examples 2023-02-20 10:15:50 +05:30
Rahul Tank
826495a145 Nimble: Added return value (success / failure ) to nimble_port_init 2023-01-31 12:01:02 +05:30
Rahul Tank
f2eebcb968 Nimble: Fix compilation issue for examples for esp32c6 and esp32h4 2023-01-16 13:12:14 +05:30
Rahul Tank
0f6373ca97 Update CMakelists to compile ble_phy app 2023-01-04 11:10:10 +08:00
Isha Pardikar
fa42826c4c NimBLE: Fixed README file for BLE PHY prph example 2022-09-20 14:16:04 +05:30
Isha Pardikar
fed3d613db NimBLE: Added example framework for BLE PHY 2022-09-15 06:39:01 +00:00