Commit Graph
88 Commits
Author SHA1 Message Date
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 700181eb1f fix(nimble): Bugfixes for various issues 2026-02-16 11:35:20 +05:30
Rahul Tank 676c0d62d7 fix(nimble): Add AD type macros in example 2026-01-14 11:06:59 +05:30
Rahul Tank 05aafb604d feat(nimble): Add support for static passkey 2025-12-22 21:19:18 +05:30
Rahul Tank 41c03bd563 fix(nimble): Add Tx power information in adv data 2025-09-25 12:25:25 +05:30
Shreeyash 9226316bfc fix(nimble): Restructure the table in README.md file 2025-09-25 12:24:42 +05:30
Shreeyash 83e66fda3b fix(nimble): Add support to minimize ram consumption 2025-06-03 16:07:25 +05:30
Rahul Tank 613970487f fix(nimble): Added CI files for various configurations 2025-05-28 20:01:41 +05:30
Rahul Tank 035560bda4 fix(nimble): Add support for minimilistic builds 2025-05-19 12:51:59 +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
Sumeet Singh 0e15c4cf38 fix(nimble): fix and enable connection subrating 2024-12-16 15:11:59 +05:30
Sumeet Singh d6d361ff7f feat(nimble): Added support for EATT Credit Based Flow Control Mode 2024-12-16 15:11:58 +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 1e56879f9c fix(nimble): Update menuconfig option to consider 5.0 support 2024-07-10 17:22:03 +05:30
SumeetSingh19 16acdf1bbb feat(nimble): authorization permission on gatt read and write 2024-02-19 09:24:21 +05:30
Fu Hanxi 4dbf8c8948 ci: remove ttfw related files 2023-10-16 10:23:09 +02: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 1afe32294f doc (nimble): Added the tutorial for bleprph example. 2023-08-24 10:34:24 +05:30
Rahul Tank f907c22ea8 docs(nimble): Update Kconfig help section for Example Ext Adv 2023-07-18 16:07:24 +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
Rahul Tank 7042eb7e64 Nimble: Removed files referring to old TTFW framework 2023-05-10 04:42:36 +00:00
Rahul Tank 1f92c349a2 Nimble: Add support to send power control event in registered callback 2023-05-02 12:14:23 +05:30
laokaiyao bf2a7b2df6 esp32h4: removed esp32h4 related codes 2023-04-23 12:03:07 +00:00
laokaiyao b16ed57b2e esp32h4: removed esp32h4 related files 2023-04-23 12:03:07 +00:00
isha.pardikar@espressif.com 906edee851 NimBLE: Added configurable option for resolving peer address in bleprph example
Closes IDFGH-9552
2023-03-20 16:20:20 +05:30
Rahul Tank b9c7281079 Nimble:Updated nimble examples README to include chip information 2023-03-19 17:07:48 +05:30
isha.pardikar@espressif.com d9a127c6dc NimBLE: Fixed advertising instance check api in bleprph example 2023-03-13 14:40:06 +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
Jiang Jiang Jian 60a7fe99f7 Merge branch 'bugfix/set_component_relative_path' into 'master'
Nimble: component path relative to IDF

Closes IDFGH-9429

See merge request espressif/esp-idf!22424
2023-02-28 19:46:30 +08:00
Jiang Jiang Jian 7320e10d20 Merge branch 'bugfix/restart_ext_adv_after_discovery' into 'master'
Nimble: Updated bleprph example to re-enable ext adv after advertising is completed

See merge request espressif/esp-idf!22369
2023-02-27 19:46:44 +08:00
Sumeet Singh 8e67344037 NimBLE/Host: Gatt Server Improvements 2023-02-22 12:00:54 +05:30
Kevin Evans 22e7f02ba3 Nimble:Re-run ext adv after completion 2023-02-22 11:35:38 +05:30
Leonardo Bispo 05a5dba7a4 component path relative to IDF
Change the component path to relative to the IDF as the build will fail if the example is moved from its folder.

(cherry picked from commit 4011f5ce595d114c69c46298088440a230eed937)
Signed-off-by: Rahul Tank <rahul.tank@espressif.com>
2023-02-20 10:09:18 +05:30
Rahul Tank 2538270f72 Merge branch 'feature/nimble_gatt_server' into 'master'
NimBLE: Added custom gatt server functionality

See merge request espressif/esp-idf!20910
2023-02-06 12:46:07 +08:00
Jiang Jiang Jian b92c9f5d5c Merge branch 'bugfix/fix_assert_pcl_bleprph_example' into 'master'
Nimble: Fix runtime assertion in bleprph due to two disconnect events

See merge request espressif/esp-idf!22057
2023-02-02 20:01:35 +08:00
Sumeet Singh 3361718976 NimBLE: Added custom gatt server functionality 2023-02-02 17:07:28 +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 4a2eb28d14 Nimble: Fix runtime assertion in bleprph due to two disconnect events 2023-01-24 15:52:39 +05:30
Rahul Tank f2eebcb968 Nimble: Fix compilation issue for examples for esp32c6 and esp32h4 2023-01-16 13:12:14 +05:30
Shen Weilong 6e962ce8dd Modify the readme files in example/bluetooth 2023-01-13 15:05:34 +08:00
shenweilong 93fc1bd05f support ble on esp32c6 2023-01-04 11:10:10 +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
laokaiyao 8677216576 esp32h2: renaming esp32h2 to esp32h4 2022-11-08 17:05:33 +08:00
Rahul Tank fe5d4e0f39 Nimble: Add LE Power CTRL changes 2022-10-27 16:30:44 +05:30
Isha Pardikar fb619d20ee NimBLE: Reorganized nimble examples structure to avoid repetition of files. 2022-09-05 17:35:46 +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
Fu Hanxi 17e312f87b docs: improve the installation instructions 2022-08-01 15:52:21 +08:00
Rahul Tank 24741cc0de NimBLE: Added option to advertise random address 2022-07-21 07:11:47 +00:00