Commit Graph
100 Commits
Author SHA1 Message Date
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
Rahul Tank 300bf85b45 feat(nimble): Base support for Channel sounding HCI command and events 2025-10-14 12:08:38 +05:30
Rahul Tank 7c1700b0ee Merge branch 'bugfix/use_nimble_mem_apis' into 'master'
fix(nimble): Use nimble platform mem malloc / free APIs

Closes BLERP-2279

See merge request espressif/esp-idf!42234
2025-10-14 11:49:52 +05:30
Rahul Tank 26636cebac fix(nimble): Use nimble platform mem malloc / free APIs 2025-10-09 10:37:21 +05:30
Rahul Tank 448b5c08a1 Merge branch 'bugfix/fix_os_mbuf_dup' into 'master'
fix(nimble): Address mbuf from different chains traversal during copying

See merge request espressif/esp-idf!41893
2025-10-06 11:53:21 +05:30
Rahul Tank 39fe3d5037 fix(nimble): Address mbuf from different chains traversal during copying 2025-10-03 15:16:02 +05:30
Rahul Tank f8935f87e7 Merge branch 'bugfix/update_hci_log_datalen' into 'master'
fix(nimble): update HCI log functions to use uint16_t for data length

See merge request espressif/esp-idf!42013
2025-10-03 11:43:32 +05:30
Rahul Tank 7a876031e1 Merge branch 'bugfix/re_organize_nimble_kconfig' into 'master'
fix(nimble): Declutter the nimble menu config options

Closes BLERP-2227

See merge request espressif/esp-idf!41829
2025-10-01 16:28:31 +05:30
Rahul Tank 9ba0b373bd Merge branch 'bugfix/fix_ext_adv_data_reattempt' into 'master'
fix(nimble): Avoid ext adv data in reattempt advertising

Closes BLERP-2234

See merge request espressif/esp-idf!41789
2025-10-01 09:32:41 +05:30
Rahul Tank 303d9b0624 fix(nimble): Declutter the nimble menu config options 2025-09-30 14:38:31 +05:30
Rahul Tank 19176ee11d fix(nimble): Avoid ext adv data in reattempt advertising 2025-09-24 09:28:21 +05:30
Rahul Tank b722615489 Merge branch 'feat/separate_indicate' into 'master'
fix(nimble): Added code to handle sending indicate

See merge request espressif/esp-idf!41632
2025-09-24 09:08:56 +05:30
Rahul Tank 4e8b48e677 fix(nimble): Added code to handle sending indicate 2025-09-22 21:48:51 +05:30
Rahul Tank d84d8ab1e1 Merge branch 'fix/connect_gap_event_status_handling' into 'master'
fix(nimble): Fixed incorrect HCI status in connect event

See merge request espressif/esp-idf!41847
2025-09-17 13:47:03 +05:30
Rahul Tank d1b3fd17db Merge branch 'bugfix/fix_periodic_reattempt' into 'master'
fix(nimble): Fixed reattempt count handling for perdiodic adv

Closes BLERP-2217, BLERP-2218, BLERP-2219, and BLERP-2220

See merge request espressif/esp-idf!41735
2025-09-12 16:21:46 +05:30
Rahul Tank b72bbfdec9 Merge branch 'bugfix/set_tx_power_in_example' into 'master'
fix(nimble): Add Tx power information in adv data

Closes BLERP-2235

See merge request espressif/esp-idf!41797
2025-09-11 14:25:09 +05:30
Rahul Tank 0c9e215685 fix(nimble): Fixed reattempt count handling for perdiodic adv 2025-09-11 12:46:54 +05:30
Rahul Tank 035735ea2d fix(nimble): Add Tx power information in adv data 2025-09-10 15:40:24 +05:30
Rahul Tank 7ef3215011 Merge branch 'fix/table_structure' into 'master'
fix(nimble): Restructure the table in README.md file

See merge request espressif/esp-idf!41647
2025-09-01 17:14:22 +05:30
Rahul Tank 4dd2694760 Merge branch 'bugfix/post_conn_failure' into 'master'
fix(nimble): Add code to post connection failure

See merge request espressif/esp-idf!41062
2025-08-25 16:49:45 +05:30
Rahul Tank e6456654de fix(nimble): Add code to post connection failure
In event of a corner case, where connection is not completed,
connection reattempt is disabled, so need to post connection
failure event to application to make it aware of the failure
2025-08-22 14:22:56 +05:30
Rahul Tank a3808c928a Merge branch 'fix/adding_missing_apis_nimble' into 'master'
fix(nimble): Added helper APIs in NimBLE

Closes BLERP-2126 and BLERP-2138

See merge request espressif/esp-idf!40223
2025-08-20 16:01:46 +05:30
Rahul Tank 92c125d1c2 Merge branch 'fix/update_ble_gatts_show_local_with_cpfd' into 'master'
fix(nimble): Update ble_gatts_show_local with CPFDs and CAFDs

Closes BLERP-2151 and BLERP-2139

See merge request espressif/esp-idf!41028
2025-08-12 14:52:37 +05:30
Rahul Tank 4f84ba0ae7 Merge branch 'feat/add_vsc_specify_scan_chan' into 'master'
fix(nimble): Add VSC for Set Scan Channel Bitmap

Closes BLERP-2131

See merge request espressif/esp-idf!40933
2025-08-11 11:23:32 +05:30
Rahul Tank b821dfabaa fix(nimble): Add VSC for Set Scan Channel Bitmap 2025-08-08 11:27:59 +05:30
Rahul Tank 6fbc17c945 Merge branch 'bugfix/correct_attr_count_in_get_db_api' into 'master'
fix(nimble): Updating the count parameter when fetching the gatt db

Closes BLERP-2125 and BLERP-2137

See merge request espressif/esp-idf!40771
2025-08-08 11:14:30 +05:30
Rahul Tank 72a678da84 Merge branch 'bugfix/minor_update_readme' into 'master'
fix(nimble): Documentation update in btsnoop script README

See merge request espressif/esp-idf!40857
2025-07-29 16:15:58 +05:30
Rahul Tank aa1c21fa44 Merge branch 'bugfix/fix_compilation_issue' into 'master'
fix(nimble): Fixed compilation issue with BLE_GATTS flag

See merge request espressif/esp-idf!40725
2025-07-29 11:26:15 +05:30
Rahul Tank 1aa93c5522 fix(nimble): Minor documentation update in btsnoop script usage 2025-07-28 16:12:44 +05:30
Rahul Tank b9659277c9 fix(nimble): Added code under correct flags to fix compilation warnings 2025-07-28 10:20:02 +05:30
Rahul Tank d1ea45202e Merge branch 'fix/clear_gatt_svc_len' into 'master'
fix(nimble): Clear GATT service entries counter upon GATT deinit

Closes BLERP-2063

See merge request espressif/esp-idf!40351
2025-07-25 16:32:34 +05:30
Rahul Tank d67bc8a5ad Merge branch 'bugfix/retry_packet_alloc' into 'master'
fix(nimble): Add packet allocation retry for limited iteration

Closes BT-4049

See merge request espressif/esp-idf!40677
2025-07-24 10:12:47 +05:30
Rahul Tank 346870a304 Merge branch 'bugfix/add_old_btsnoop_hci_py' into 'master'
fix(nimble): Updated parser script for HCI log creation

See merge request espressif/esp-idf!40726
2025-07-23 16:21:20 +05:30
Rahul Tank d2799fa657 fix(nimble): Add packet allocation retry for limited iteration 2025-07-22 11:47:41 +05:30
Rahul Tank 54e65df985 fix(nimble): Add support to parser script to parse logs with/without ts
Introduced a new "--has-ts" input parameter to script to detect if logs
has timestamp information or not
2025-07-21 12:10:21 +05:30
Rahul Tank 635169fdd8 Merge branch 'feat/add_timestamp' into 'master'
fix(nimble): Enhanced HCI logging by adding timestamp information

See merge request espressif/esp-idf!40620
2025-07-17 10:14:14 +05:30
Rahul Tank 2a1a76d6a6 Merge branch 'bugfix/make_blufi_adv_custom' into 'master'
feat(nimble): Add a way to make blufi advertising customizable

See merge request espressif/esp-idf!40453
2025-07-17 10:12:58 +05:30
Rahul Tank 2823aac1a7 fix(nimble): Enhanced HCI logging by adding timestamp information 2025-07-16 15:31:39 +05:30
Rahul Tank 798a559f81 fix(nimble): Add a way to make blufi advertising customizable
Based on changes in https://github.com/espressif/esp-idf/pull/8958
2025-07-10 11:26:22 +05:30
Rahul Tank f03521b4f3 Merge branch 'fix/ble_ancs_adding_entry_for_chip' into 'master'
fix(nimble): Add ble_ancs example to build-test-rules.yml

See merge request espressif/esp-idf!40439
2025-07-09 10:06:13 +05:30
Rahul Tank dffb03f00f Merge branch 'bugfix/fix_gatt_cache_server_compile' into 'master'
fix(nimble): Fix compilation issues when gatt caching is enabled in peripheral only mode

See merge request espressif/esp-idf!40343
2025-07-08 16:04:25 +05:30
Rahul Tank 9df0cb7150 fix(nimble): Fix compilation issues when gatt caching is enabled in server only mode 2025-07-05 15:28:28 +05:30
Rahul Tank c513e95845 Merge branch 'bugfix/handle_3e_rem_feat_read_name' into 'master'
fix(nimble): Handle 0x3e disconnect during rem feat/ read version

See merge request espressif/esp-idf!38871
2025-07-05 14:52:06 +05:30