Commit Graph
100 Commits
Author SHA1 Message Date
Rahul Tank 0ac84fe172 Merge branch 'bugfix/fix_ble_pair_attack_v6.0' into 'release/v6.0'
fix(nimble): Fix for BLERP attack (v6.0)

See merge request espressif/esp-idf!52351
2026-09-07 17:34:09 +05:30
Rahul Tank 454b29f257 fix(nimble): Fix for BLERP attack 2026-09-07 12:29:32 +05:30
Rahul Tank 6c8da6754b Merge branch 'bugfix/fix_null_proc_dereference_v6.0' into 'release/v6.0'
fix(nimble): Avoid NULL proc dereference in GATT client procedures (v6.0)

See merge request espressif/esp-idf!52218
2026-09-07 11:01:34 +05:30
Rahul Tank abd362c657 fix(nimble): Avoid NULL proc dereference in GATT client procedures 2026-09-06 09:44:45 +05:30
Rahul Tank c0b30a11db Merge branch 'bugfix/fix_stale_conn_cccd_v6.0' into 'release/v6.0'
fix(nimble): fix crash on disconnect due to stale per-connection CCCD pool (v6.0)

See merge request espressif/esp-idf!51951
2026-09-04 14:42:22 +05:30
Rahul Tank a64ac3a8f6 fix(nimble): fix crash on disconnect due to stale per-connection CCCD pool 2026-09-04 12:17:48 +05:30
Rahul Tank 93f74eb464 Merge branch 'bugfix/fix_nimble_issues_3092026_v6.0' into 'release/v6.0'
feat(nimble): Fix few nimble issues 03092026(v6.0)

See merge request espressif/esp-idf!52355
2026-09-04 05:50:01 +05:30
Rahul Tank aa69fb8119 Merge branch 'bugfix/fix_kconfig_warnings_v6.0' into 'release/v6.0'
fix(nimble): move BTDM defaults to esp32 (v6.0)

See merge request espressif/esp-idf!51704
2026-09-03 21:28:58 +05:30
Rahul Tank 56fa9afcda fix(blufi): Fix BLUFI NimBLE deinit race due to disconnect callbacks 2026-09-03 21:27:16 +05:30
Rahul Tank 938ce4f4d1 fix(nimble): bound PAwR synced connect retries in the example 2026-09-03 21:27:16 +05:30
Rahul Tank edf77262e7 fix(nimble): Fix unpair_oldest_peer deleting wrong device
Sort bond entries by bond_count after in-place updates to maintain correct
eviction order, and log IRK resolving-list failures instead of failing the bond.
2026-09-03 21:27:16 +05:30
Rahul Tank 79a570a953 fix(nimble): Add separate helper functions to register notification/indication 2026-09-03 21:27:16 +05:30
Rahul Tank f8953541b2 fix(nimble): Add fix to handle service reset during server start 2026-09-03 21:27:16 +05:30
Rahul Tank dae4696357 fix(nimble): Fix adding device to resolving list when defer connection 2026-09-03 21:27:16 +05:30
Rahul Tank 0bd286209f fix(nimble): Added change to stop adv before starting new adv 2026-09-03 21:27:16 +05:30
Rahul Tank c6e702c5c9 fix(nimble): Remove extra free to avoid double free 2026-09-03 21:27:15 +05:30
Rahul Tank ec228607c8 fix(nimble): Fixes for various NimBLE CVEs 2026-09-03 21:27:15 +05:30
Rahul Tank 7aecabef17 fix(nimble): Deliver PAwR peripheral CONNECT via sync callback 2026-09-03 21:27:15 +05:30
Rahul Tank d198b8fd91 fix(nimble): update sbom file with cve details 2026-09-03 21:27:15 +05:30
Rahul Tank b39727b591 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-09-03 14:54:25 +08:00
Rahul Tank 5c463858ec Merge branch 'bugfix/fix_ai_example_review_v6.0' into 'release/v6.0'
fix(nimble): Fix nimble examples review issues (v6.0)

See merge request espressif/esp-idf!50841
2026-07-24 16:18:27 +05:30
Rahul Tank fa1bf5e2fc fix(nimble): Fix issues found in review for nimble examples 2026-07-24 17:50:29 +08:00
Rahul Tank ef049321d0 Merge branch 'bugfix/red_rem_feat_evt_v6.0' into 'release/v6.0'
Handle Read Remote Supported Feature failure (v6.0)

See merge request espressif/esp-idf!50809
2026-07-24 14:24:28 +05:30
Rahul Tank 04ccb4c955 Merge branch 'bugfix/add_dis_ieee_udi_to_config_v6.0' into 'release/v6.0'
fix(nimble): Add option to disable IEEE and UDI Characteristic in DIS (v6.0)

See merge request espressif/esp-idf!50760
2026-07-18 09:31:45 +05:30
Rahul Tank 6a24b81921 Merge branch 'bugfix/add_extra_prints_v6.0' into 'release/v6.0'
fix(nimble): Remove SOC_ESP_NIMBLE_CONTROLLER from unnecessary locations (v6.0)

See merge request espressif/esp-idf!50095
2026-07-17 10:42:27 +05:30
Rahul Tank bf03b83dfe fix(nimble): Fix ECC HW byte-order and dropped SOC_ESP_NIMBLE_CONTROLLER 2026-07-16 12:29:32 +05:30
Rahul Tank 8982238192 Merge branch 'bugfix/fix_bond_store_overflow_v6.0' into 'release/v6.0'
fix(nimble): Fix bond-store overflow when IRK is enabled (v6.0)

See merge request espressif/esp-idf!50624
2026-07-14 11:17:35 +05:30
Rahul Tank 732c19d77a fix(nimble): Fix bond-store overflow when IRK is enabled 2026-07-10 13:23:41 +05:30
Rahul Tank 519ff91e23 Merge branch 'bugfix/ai_reviewer_nimble_1.6_v6.0' into 'release/v6.0'
fix(nimble): Fixes for AI reported issues (v6.0)

See merge request espressif/esp-idf!50014
2026-07-08 13:57:25 +05:30
Rahul Tank 38f4edb16e fix(nimble): Fixes for AI reported issues 2026-07-07 16:18:32 +05:30
Rahul Tank 37e23c5499 Merge branch 'bugfix/queue_att_cmd_v6.0' into 'release/v6.0'
feat(nimble): Defer all ATT commands until connection event is sent to GAP layer (v6.0)

See merge request espressif/esp-idf!48177
2026-07-03 16:07:09 +05:30
Rahul Tank c79592004e fix(nimble): Defer Events / ATT related information from stack
Defer Events/ ATT related GAP events from stack until connection
 event is sent to GAP layer
2026-07-03 11:17:23 +05:30
Rahul Tank ed076243bb Merge branch 'contrib/github_pr_18761_v6.0' into 'release/v6.0'
fix(nimble): initialize return value in LED characteristic access cal… (GitHub PR) (v6.0)

See merge request espressif/esp-idf!50151
2026-07-01 09:25:33 +05:30
Rahul Tank cd0ad239a6 Merge branch 'bugfix/nimble_issues_02062026_v6.0' into 'release/v6.0'
fix(nimble):  Fix few nimble issues 02062026 (v6.0)

See merge request espressif/esp-idf!49153
2026-06-29 21:52:48 +05:30
Rahul Tank ab7f9a8cac Merge branch 'bugfix/fix_security_proto_nimble_v6.0' into 'release/v6.0'
fix(protocomm): harden nimble/bluedroid transport size handling (v6.0)

See merge request espressif/esp-idf!49180
2026-06-29 18:01:00 +05:30
Rahul Tank d645a68bde fix(protocomm): harden nimble transport size handling 2026-06-29 18:18:49 +08:00
Rahul Tank 13ce6692eb fix(nimble): Gaurd ble_hs_log_mbuf/flat_buf against non-DEBUG log level 2026-06-29 15:38:45 +05:30
Rahul Tank f783d3a7eb fix(nimble): Deinit NimBLE stop event in host task 2026-06-29 15:25:37 +05:30
Rahul Tank 609ad13324 fix(nimble): Fix for clang compilation issues 2026-06-29 15:25:37 +05:30
Rahul Tank b633c5e2a5 fix(nimble): Add support for shorter connection intervals 2026-06-29 15:25:37 +05:30
Rahul Tank b2ab997d3f fix(nimble): Fix compilation issues in Gatt SPS service 2026-06-29 15:25:37 +05:30
Rahul Tank 3b270b8c67 fix(nimble): Remove extra/unwanted prints 2026-06-29 15:25:36 +05:30
Rahul Tank d4bf347f6a Merge branch 'feat/add_nimble_log_compression_script_v6.0' into 'release/v6.0'
feat(nimble): Added missing NimBLE log compression scripts (v6.0)

See merge request espressif/esp-idf!48562
2026-05-15 15:02:45 +05:30
Rahul Tank 5e3ef3dec5 Merge branch 'bugfix/fix_vsprintf_crash_v6.0' into 'release/v6.0'
fix(nimble): Replace sensitive snprintf with hex character (v6.0)

See merge request espressif/esp-idf!48469
2026-05-14 15:31:38 +05:30
Rahul Tank 1d52e24b59 fix(nimble): Replace sensitive vsprintf with hex character 2026-05-13 12:22:11 +05:30
Rahul Tank e468727c02 Merge branch 'bugfix/ai_fixes_common_components_v6.0' into 'release/v6.0'
Bugfix/ai fixes common components (v6.0)

See merge request espressif/esp-idf!47566
2026-05-09 12:30:33 +05:30
Rahul Tank 540c12cd6b Merge branch 'bugfix/fix_nimble_eg_readme_v6.0' into 'release/v6.0'
fix(nimble): Update example READMEs with correct console log information (v6.0)

See merge request espressif/esp-idf!47600
2026-05-08 15:38:31 +05:30
Rahul Tank 55e359ad36 fix(nimble): Update example READMEs with correct console log information 2026-05-08 14:37:09 +05:30
Rahul Tank 3c0310c5aa fix(nimble): Address review comments for hidd / hidh code 2026-05-08 14:23:48 +05:30
Rahul Tank 81476b116d fix(nimble): Address review fixes for tinycrypt / and blufi code 2026-05-08 14:23:48 +05:30
Rahul Tank b9c50420af Merge branch 'bugfix/always_init_dft_queue_in_nimble_host_v6.0' into 'release/v6.0'
fix(nimble): always init the default os queue for all of controllers (6.0)

See merge request espressif/esp-idf!48073
2026-05-04 09:16:28 +05:30
Rahul Tank bdc4edc5d8 Merge branch 'bugfix/nimble_issues_29042026_v6.0' into 'release/v6.0'
fix(nimble): Fix few nimble issues 29042026 (v6.0)

See merge request espressif/esp-idf!48078
2026-05-01 18:56:50 +05:30
Rahul Tank 36010c0b76 fix(nimble): Move ble_log_init/deinit to esp_nimble_init/deinit 2026-05-01 16:34:47 +05:30
Rahul Tank a47ea03266 feat(nimble): Support NimBLE log compression and decompression over SPI 2026-05-01 16:34:46 +05:30
Rahul Tank d9bb4ccc53 fix(nimble): Fixes for various CVEs
*CVE-2025-62235
   *CVE-2025-53477
   *CVE-2025-53470
2026-05-01 14:24:31 +05:30
Rahul Tank 41502f6c23 fix(nimble): Fix prox service to handle negative values 2026-05-01 14:21:47 +05:30
Rahul Tank da38bac675 Revert "Xchange(bt): separated host mem apis from bt_osi_mem.c"
This reverts commit 531596468c.
2026-05-01 14:17:40 +05:30
Rahul Tank 1e75837a97 Merge branch 'bugfix/fix_debug_assert_lock_v6.0' into 'release/v6.0'
fix(nimble): Resolve host lock assert in DEBUG mode (v6.0)

See merge request espressif/esp-idf!47469
2026-05-01 14:14:16 +05:30
Rahul Tank 2eb0d78e52 fix(nimble): Resolve host lock assert in DEBUG mode 2026-05-01 12:34:22 +05:30
Rahul Tank ff81372359 Merge branch 'bugfix/fix_dtm_end_test_v6.0' into 'release/v6.0'
fix(nimble): Fix DTM test end packet count parsing (v6.0)

See merge request espressif/esp-idf!47331
2026-05-01 12:14:16 +05:30
Rahul Tank 1b69b57ce1 fix(nimble): Fix DTM test end packet count parsing 2026-05-01 09:46:51 +05:30
Rahul Tank f32342892f Merge branch 'change/separate_nimble_host_mem_apis' into 'release/v6.0'
change(bt): separated host mem apis from bt_osi_mem.c

See merge request espressif/esp-idf!48094
2026-05-01 09:43:47 +05:30
Rahul Tank b25305ede7 Merge branch 'feat/add_eatt_documentation_v6.0' into 'release/v6.0'
feat(nimble): Add EATT documentation (v6.0)

See merge request espressif/esp-idf!47019
2026-05-01 09:35:50 +05:30
Rahul Tank 6597bde4d7 Merge branch 'bugfix/nimble_example_fixes_v6.0' into 'release/v6.0'
fix(nimble): Address nimble example issues (v6.0)

See merge request espressif/esp-idf!47071
2026-04-30 15:41:31 +05:30
Rahul Tank cb534284c1 fix(nimble): Correct adv_list_init / deinit during nimble init / deinit 2026-04-30 12:23:09 +05:30
Rahul Tank af6ea89656 fix(blufi): support DH negotiation on SoCs without hardware MPI 2026-04-09 16:35:55 +05:30
Rahul Tank da23c23995 Merge branch 'bugfix/send_conn_cancel_simul_v6.0' into 'release/v6.0'
fix(nimble): Issue connect cancel in case of outstanding master connection (v6.0)

See merge request espressif/esp-idf!46690
2026-03-24 12:34:13 +05:30
Rahul Tank 54d0e32c22 fix(nimble): Issue connect cancel in case of outstanding master connection 2026-03-24 08:49:49 +05:30
Rahul Tank f00f4b73d6 Merge branch 'bugfix/fix_nimble_issues_2702026' into 'release/v6.0'
fix(nimble) : Fix few nimble issues 27022026

See merge request espressif/esp-idf!46096
2026-03-20 18:47:32 +05:30
Rahul Tank 235397dc75 feat(nimble): Added changes in examples to have code under flags 2026-03-20 11:07:00 +05:30
Rahul Tank 745b7bea38 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-03-20 11:06:13 +05:30
Rahul Tank 77462b9f65 fix(nimble): Fix ble_multi_adv example to show correct UUIDs information 2026-03-20 11:00:46 +05:30
Rahul Tank 47038aea2f fix(nimble): Fix tinycrypt compilation issues when enabled 2026-03-20 11:00:39 +05:30
Rahul Tank 3813ee6502 fix(nimble): Bugfixes for various issues 2026-03-20 11:00:21 +05:30
Rahul Tank 981a527fb2 fix(nimble): Add header file to expose macros 2026-03-04 12:02:25 +05:30
Rahul Tank 40cc90d4dd fix(blufi): Handle flattened ATT write payloads correctly in NimBLE BLUFI host 2026-03-04 11:44:22 +05:30
Rahul Tank 1285be25f6 fix(nimble): Added change to copy adv params to be reused during reattempt adv 2026-02-03 16:12:28 +05:30
Rahul Tank a9658ec520 fix(nimble) Add EXT_ADV dependancy flag for EXT_SCAN in menuconfig 2026-02-03 16:12:24 +05:30
Rahul Tank 59cadb9ba2 fix(nimble): Fixed duplication of HCI record entry HCI logging 2026-02-03 16:12:21 +05:30
Rahul Tank 4dbc5cef39 fix(nimble): Rework L2CAP Rx for L2CAP SDU reassembly 2026-02-03 16:12:18 +05:30
Rahul Tank d2bd476722 fix(nimble): Address security vulnerabilties and NVS corruption issues 2026-02-03 16:12:14 +05:30
Rahul Tank 28131271e6 fix(nimble): Add extra logs to track critical failures 2026-02-03 16:12:10 +05:30
Rahul Tank 5a43c64755 fix(nimble): Fix coverity reported issue
Handled unchecked return value in ble_hs_pvcy.c
2026-02-03 16:12:06 +05:30
Rahul Tank 31bf3de38c fix(nimble): Add packet sending change in case of controller only configuration 2026-01-30 10:21:23 +05:30
Rahul Tank bf3bd638ab fix(nimble): Fix memory leak in controller/stack deinit sequence 2026-01-28 18:32:04 +05:30
Rahul Tank c7ce6ff0c7 fix(nimble): Memory optimization + dynamic memory support 2026-01-28 18:32:03 +05:30
Rahul Tank fe7a059601 fix(nimble): Add AD type macros in example 2026-01-14 10:47:51 +05:30
Rahul Tank 1ff264abf2 fix(protocomm): Add security checks for buffer overflow and incorrect length handling 2025-12-23 18:21:55 +08:00
Rahul Tank c6815bdb9a feat(nimble): Add support for static passkey 2025-12-22 21:14:19 +05:30
Rahul Tank 256f00fcdc Merge branch 'bugfix/fix_compile_tinycrypt_v6.0' into 'release/v6.0'
fix(nimble): Add missing header file to fix compilation issue (v6.0)

See merge request espressif/esp-idf!43884
2025-12-17 12:58:05 +05:30
Rahul Tank 867387603f fix(nimble): Add missing header file to fix compilation issue 2025-12-16 12:15:42 +05:30
Rahul Tank 125dc7d11d Merge branch 'bugfix/fix_reattempt_sync_estab_v6.0' into 'release/v6.0'
fix(nimble): Add change to cancel sync in case of reattempt (v6.0)

See merge request espressif/esp-idf!43948
2025-12-05 13:02:08 +05:30
Rahul Tank c669da4bb1 fix(nimble): Add change to cancel sync in case of reattempt 2025-12-03 09:23:13 +05:30
Rahul Tank 8e7ada52f2 Merge branch 'bugfix/check_psync_status_v6.0' into 'release/v6.0'
fix(nimble): Add a check for psync before processing (v6.0)

See merge request espressif/esp-idf!43631
2025-11-26 20:50:08 +05:30
Rahul Tank 354d883524 fix(nimble): Add a check for psync before processing 2025-11-26 14:37:24 +05:30
Rahul Tank 8f8be6cb18 fix(nimble): Address compilation issues in nimble examples 2025-11-26 14:35:51 +05:30
Rahul Tank e5dab5dc4b feat(nimble): Add support for HCI commands / events
1. Read all local supported feature
      2. Read remote supported feature
      3. Advertising monitor.
2025-10-23 10:19:24 +05:30
Rahul Tank 7ae7dcd1da Merge branch 'fix/ble_gap_conn_handle_overflow' into 'master'
fix(nimble) Fix array overflow caused by invalid connection handle indexing

Closes BLERP-2297 and BLERP-2298

See merge request espressif/esp-idf!42124
2025-10-16 14:32:16 +05:30
Rahul Tank 03dd5e31e0 Merge branch 'feat/channel_sounding_nimble' into 'master'
feat(nimble): Add initial support for CS HCI

See merge request espressif/esp-idf!41865
2025-10-15 12:46:15 +05:30
Rahul Tank 38364c0ef3 fix(nimble): Added CS service support 2025-10-14 16:21:17 +05:30