Commit Graph
43 Commits
Author SHA1 Message Date
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
Shreeyash dacec1afa1 fix(nimble): Fix vulnerabilities in NimBLE examples 2026-02-06 18:43:33 +05:30
Rahul Tank 9e157e314a feat(nimble): Add support for static passkey 2025-12-22 21:16:35 +05:30
Astha Verma 0181cbd3ca fix(nimble): Added missing api in nimble which present in bluedroid 2025-08-19 12:23:31 +05:30
Rahul Tank 2355e2f22d fix(nimble): Added CI files for various configurations 2025-06-26 16:38:11 +05:30
Rahul Tank 66c12d4efe fix(nimble): Add support for minimilistic builds 2025-05-27 11:07:33 +05:30
Astha Verma 6e4a2619ee fix(nimble): Added api's for fetching gatt cache info and discover included service 2025-05-27 11:03:20 +05:30
Sumeet Singh ffaa688582 feat(nimble): Added some fixes for autopts testing 2025-05-07 16:58:36 +05:30
Rahul Tank fec3a5f5bd fix(nimble): Corrected structure field name usage in examples 2025-04-29 21:44:57 +05:30
Rahul Tank 297ebc7db7 fix(nimble): Updated sscanf usage in examples to work for all versions 2025-04-09 18:27:58 +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
Sumeet Singh 53a064274f feat(nimble): Added support for EATT Credit Based Flow Control Mode 2024-12-02 21:04:58 +08: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
Rahul Tank d42fa84973 fix(nimble): Update menuconfig option to consider 5.0 support 2024-07-10 13:48:00 +05:30
Rahul Tank 90960d58c6 feat(nimble): Revert support for Enhanced ATT "
This reverts commit f265e50ca0.
2024-05-29 12:39:25 +05:30
Sumeet Singh f265e50ca0 feat(nimble): Added support for Enhanced ATT or ATT over Enhanced L2CAP Credit Based Flow Control Mode 2024-05-17 12:27:32 +05:30
cjin af94db4934 fix(ble): fix ci ble powe save test addresss error 2024-03-20 14:12:59 +08:00
cjin 9533df5c39 feat(ble): added pytest for ble power save example 2024-01-19 17:23:35 +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
Rahul Tank 09dd6237ae fix(nimble): Add API to send pcl set rssi vsc 2023-08-17 12:37:00 +05:30
Rahul Tank f907c22ea8 docs(nimble): Update Kconfig help section for Example Ext Adv 2023-07-18 16:07:24 +05:30
Rahul Tank b926bf5048 fix (nimble): Fix data type of power level and delta to handle negative values 2023-07-10 15:50:01 +05:30
Rahul Tank 1268530ace Merge branch 'feature/add_support_pcl_vsc' into 'master'
fix(Nimble): Add VSC / VSE handling code and structure for PCL Set RSSI

See merge request espressif/esp-idf!24181
2023-07-05 15:33:43 +08:00
Rahul Tank 6eb1a8f51f fix (Nimble): Add PCL Set RSSI VSC and example code for its usage
This adds API to send a vs hci command and an event to handle vs hci events
Also added information for Set RSSI VSC for Power control.
2023-06-30 12:26:56 +05:30
Rahul Tank df2612d104 Nimble: Corrected conditional check during connection to handle failure case 2023-06-21 11:56:36 +05:30
Rahul Tank 1f92c349a2 Nimble: Add support to send power control event in registered callback 2023-05-02 12:14:23 +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 708e5f17cc Nimble:Added power control API usage demo in blecent app 2023-02-22 11:36:11 +05:30
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 f2eebcb968 Nimble: Fix compilation issue for examples for esp32c6 and esp32h4 2023-01-16 13:12:14 +05:30
isha.pardikar@espressif.com 561d1cba1b NimBLE : Init deinit nimble stack in a loop 2022-10-19 17:44:28 +05:30
Isha Pardikar fb619d20ee NimBLE: Reorganized nimble examples structure to avoid repetition of files. 2022-09-05 17:35:46 +05:30
GengYuchao fd055d3ba6 Fix example after removing API esp_nimble_hci_and_controller_init 2022-07-20 11:44:00 +08:00
Rahul Tank f376bb5d05 Add support in Nimble for ESP32H2 2022-03-14 11:57:53 +05:30
Roland Dobai 766aa57084 Build & config: Remove leftover files from the unsupported "make" build system 2021-11-11 15:32:36 +01:00
Prasad Alatkar 3dfcaee9bd NimBLE: Add custom logging support and fix build error for broadcaster role
* Fix bug in nvs deletion of `ble_dev_record`.
2021-05-13 18:01:01 +08:00
Renz Bagaporo 4d9c573fb6 test, examples: use new component registration function 2020-03-23 10:58:48 +08:00
Prasad Alatkar 4047f7e180 NimBLE: Misc changes in host flow control, ble_gap_unpair, ble_hs_hci_rx_evt & example
- Add menuconfig option for NimBLE host flow control
- Include changes in `blecent` example from upstream PR!702
- add ble_hs_lock in ble_gap_unpair Upstream PR!584
- ble_hs_hci_rx_evt, upstream PR!738

Closes https://github.com/espressif/esp-idf/issues/4243
2020-01-31 10:46:55 +05:30
Hrishikesh Dhayagude 342f6a7829 Port NimBLE Host Stack on ESP-IDF 2019-06-25 09:03:58 +08:00