Commit Graph
100 Commits
Author SHA1 Message Date
Rahul Tank bf93402138 Merge branch 'bugfix/nimble_issues_26082026_v6.1' into 'release/v6.1'
fix(nimble): Fix few nimble issues 26082026 (v6.1)

See merge request espressif/esp-idf!52075
2026-08-29 21:17:04 +05:30
Rahul Tank 81e47e108b fix(nimble): bound PAwR synced connect retries in the example 2026-08-27 13:59:05 +05:30
Rahul Tank 841cf8fab0 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-08-27 13:54:02 +05:30
Rahul Tank 0cb936f5f4 fix(nimble): Add separate helper functions to register notification/indication 2026-08-27 13:54:02 +05:30
Rahul Tank ecd57b6bd3 fix(nimble): Add fix to handle service reset during server start 2026-08-27 13:54:02 +05:30
Rahul Tank b1b49057a3 fix(nimble): Fix adding device to resolving list when defer connection 2026-08-27 13:54:02 +05:30
Rahul Tank e98e1f72af fix(nimble): Added change to stop adv before starting new adv 2026-08-27 13:54:02 +05:30
Rahul Tank e485c6afbd fix(nimble): Remove extra free to avoid double free 2026-08-27 13:54:02 +05:30
Rahul Tank 6c4edb1ceb fix(nimble): Fixes for various NimBLE CVEs 2026-08-27 13:54:02 +05:30
Rahul Tank a60e3528c5 fix(nimble): Deliver PAwR peripheral CONNECT via sync callback 2026-08-27 13:54:02 +05:30
Rahul Tank 4e7ff99606 fix(nimble): update sbom file with cve details 2026-08-27 13:54:01 +05:30
Rahul Tank 01a4bf4374 fix(nimble): Fix bond-store overflow when IRK is enabled 2026-08-27 11:33:56 +05:30
Rahul Tank 4b4b7a22a1 fix(nimble): Fixes for AI reported issues 2026-08-27 11:33:56 +05:30
Rahul Tank 03599155dc 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-08-27 11:33:56 +05:30
Rahul Tank 17c167767a fix(nimble): Add npl locks to avoid race condition 2026-08-27 11:33:56 +05:30
Rahul Tank a41a481fdc fix(nimble): Gaurd ble_hs_log_mbuf/flat_buf against non-DEBUG log level 2026-08-27 11:33:56 +05:30
Rahul Tank d744e88589 feat(protocomm): Add support for BLE 5 for bluedroid 2026-07-29 16:50:45 +05:30
Rahul Tank e44969a390 fix(nimble): Fix ble_chan_sound_reflector compilation issue 2026-07-06 07:52:43 +05:30
Rahul Tank f503a42b5a Merge branch 'bugfix/fix_security_proto_nimble_v6.1' into 'release/v6.1'
fix(protocomm): harden nimble/bluedroid transport size handling (v6.1)

See merge request espressif/esp-idf!49179
2026-06-03 11:08:41 +05:30
Rahul Tank cf82961257 fix(nimble): Remove extra/unwanted prints 2026-06-03 10:55:47 +05:30
Rahul Tank 908cdfda71 Merge branch 'bugfix/nimble_hid_fixes_lock_v6.1' into 'release/v6.1'
fix(nimble): Avoid deadlock caused by local writes taking s_hidd_mutex (v6.1)

See merge request espressif/esp-idf!48916
2026-06-03 10:50:59 +05:30
Rahul Tank 44d8a68bbd fix(protocomm): harden nimble transport size handling 2026-06-02 15:59:09 +05:30
Rahul Tank ab2ec6f2e6 Merge branch 'bugfix/nimble_hid_fixes' into 'master'
fix(nimble): Always read initial BAS level and forward HID report/control/protocol writes as HIDD events

Closes BLERP-2806

See merge request espressif/esp-idf!48598
2026-05-22 13:39:27 +05:30
Rahul Tank b5770ee1ff Merge branch 'feat/esp_insight_read_log_master' into 'master'
feat(nimble): ADD BLE HCI logging support for ESP Insights

See merge request espressif/esp-idf!46706
2026-05-21 11:28:44 +05:30
Rahul Tank 556b26d6f2 Merge branch 'bugfix/fix_bdtm_compilation_issue' into 'master'
fix(nimble): Fix compilation issues while using bdtm porting files

See merge request espressif/esp-idf!48655
2026-05-20 11:30:03 +05:30
Rahul Tank 74aa38f563 fix(nimble): Fix compilation issues while using bdtm porting files 2026-05-19 18:30:25 +08:00
Rahul Tank 0b87521334 Merge branch 'bugfix/fix_vsprintf_crash' into 'master'
fix(nimble): Replace sensitive snprintf with hex character

Closes BLERP-2785

See merge request espressif/esp-idf!48448
2026-05-14 14:43:26 +05:30
Rahul Tank 429afbe329 fix(nimble): Replace sensitive vsprintf with hex character 2026-05-12 16:23:13 +05:30
Rahul Tank f0cd3949c3 Merge branch 'bugfix/ble_revert_file' into 'master'
fix(nimble): Reverted unwanted script files

See merge request espressif/esp-idf!48079
2026-05-01 19:24:00 +05:30
Rahul Tank 48bf490d48 fix(nimble): cleanup: remove extraneous script file
Removed files that were unintentionally included in an earlier commit
2026-04-29 14:46:42 +05:30
Rahul Tank c4efd82c25 Merge branch 'bugfix/gap_name_appearance_clobber' into 'master'
fix(nimble): Fix few nimble issues 21042026

Closes BLERP-2719

See merge request espressif/esp-idf!47782
2026-04-28 11:57:16 +05:30
Rahul Tank 131f86a917 fix(nimble): Move ble_log_init/deinit to esp_nimble_init/deinit 2026-04-27 16:23:21 +05:30
Rahul Tank 730366b020 fix(nimble): Fix blufi compilation issue for esp32s31 2026-04-27 11:47:23 +08:00
Rahul Tank 13f01aedcb Merge branch 'bugfix/remove_extra_error' into 'master'
fix(nimble): Remove extra error prints added in previous commit

Closes IDFCI-10696

See merge request espressif/esp-idf!47844
2026-04-24 10:49:41 +05:30
Rahul Tank 688d541da5 fix(nimble): Fixed extra error prints introduced in previous commit 2026-04-23 15:43:29 +05:30
Rahul Tank 8e4f6c56be Merge branch 'feat/nimble_logs_compression' into 'master'
feat(nimble): Support NimBLE log compression and decompression over SPI

See merge request espressif/esp-idf!46967
2026-04-22 08:02:05 +05:30
Rahul Tank 55185d8406 Merge branch 'bugfix/fix_software_ecc' into 'master'
fix(nimble): Fix Software ecc issue in tinycrpyt

See merge request espressif/esp-idf!47708
2026-04-21 10:31:55 +05:30
Rahul Tank 258cd36a44 fix(nimble): Fix Software ecc issue in tinycrpyt 2026-04-20 10:51:21 +05:30
Rahul Tank a87de1d5c5 Merge branch 'bugfix/nimble_cve_fixes' into 'master'
fix(nimble): Fixes for various CVEs

See merge request espressif/esp-idf!47709
2026-04-18 21:42:02 +05:30
Rahul Tank 5a134e1ccc fix(nimble): Fixes for various CVEs
*CVE-2025-62235
   *CVE-2025-53477
   *CVE-2025-53470
2026-04-17 14:18:16 +05:30
Rahul Tank c0ccef9f9c Merge branch 'feat/fsu_hci_cmd_evt' into 'master'
feat(nimble): Add support to 6.2 BLE HCI Command Event(FSU, UTP over OTA)

See merge request espressif/esp-idf!45914
2026-04-17 10:49:12 +05:30
Rahul Tank 2e6e41f615 Merge branch 'bugfix/ai_fixes_common_components' into 'master'
Bugfix/ai fixes common components

See merge request espressif/esp-idf!47272
2026-04-16 17:03:46 +05:30
Rahul Tank 035227d252 Merge branch 'bugfix/proximity_example_issue' into 'master'
fix(nimble): Fix prox service to handle negative values

Closes BLERP-2689

See merge request espressif/esp-idf!47363
2026-04-15 09:23:12 +05:30
Rahul Tank 0f8f88492b Merge branch 'bugfix/fix_nimble_eg_readme' into 'master'
fix(nimble): Update example READMEs with correct console log information

See merge request espressif/esp-idf!47531
2026-04-14 21:41:44 +05:30
Rahul Tank 541065755d fix(nimble): Address review comments for hidd / hidh code 2026-04-14 15:40:18 +05:30
Rahul Tank 9a5f644134 fix(nimble): Update example READMEs with correct console log information 2026-04-14 17:48:22 +08:00
Rahul Tank d5bf44c5fe fix(nimble): Fix prox service to handle negative values 2026-04-14 14:25:06 +05:30
Rahul Tank eb178af05a Merge branch 'bugfix/fix_debug_assert_lock' into 'master'
fix(nimble): Resolve host lock assert in DEBUG mode

See merge request espressif/esp-idf!47185
2026-04-14 14:13:33 +05:30
Rahul Tank 02b57e7e77 fix(nimble): Address review fixes for tinycrypt / and blufi code 2026-04-14 11:22:10 +05:30
Rahul Tank ca5ce089a8 fix(nimble): Resolve host lock assert in DEBUG mode 2026-04-13 16:09:44 +05:30
Rahul Tank 1d1f05bdbe Merge branch 'bugfix/fix_blufi_watchdog' into 'master'
fix(blufi): Support DH negotiation on SoCs without hardware MPI

See merge request espressif/esp-idf!47215
2026-04-13 14:09:34 +05:30
Rahul Tank fb4ba7c453 fix(blufi): support DH negotiation on SoCs without hardware MPI 2026-04-10 10:31:13 +05:30
Rahul Tank 25d8f3c269 Merge branch 'bugfix/fix_dtm_end_test' into 'master'
fix(nimble): Fix DTM test end packet count parsing

Closes BLERP-2687

See merge request espressif/esp-idf!47327
2026-04-08 12:14:06 +05:30
Rahul Tank b1050c5a9e fix(nimble): Fix DTM test end packet count parsing 2026-04-07 14:56:00 +05:30
Rahul Tank 57102610a0 Merge branch 'bugfix/gatts_stop_null_conn_aware_states' into 'master'
fix(nimble): fix null dereference of ble_gatts_conn_aware_states after gatts stop

Closes BLERP-2624

See merge request espressif/esp-idf!46454
2026-04-03 12:37:38 +05:30
Rahul Tank 1bd4980ff4 Merge branch 'feat/add_eatt_documentation' into 'master'
feat(nimble): Add EATT documentation

See merge request espressif/esp-idf!46676
2026-04-02 11:44:09 +05:30
Rahul Tank 49c770cf85 Merge branch 'bugfix/nimble_example_fixes' into 'master'
fix(nimble): Address nimble example issues

Closes BLERP-2628, BLERP-2631, BLERP-2635, and BLERP-2657

See merge request espressif/esp-idf!46697
2026-04-01 15:31:34 +05:30
Rahul Tank d73e4c611b fix(nimble): Correct adv_list_init / deinit during nimble init / deinit 2026-03-26 10:55:43 +05:30
Rahul Tank b7bff02998 Merge branch 'bugfix/send_conn_cancel_simul' into 'master'
fix(nimble): Issue connect cancel in case of outstanding master connection

See merge request espressif/esp-idf!46565
2026-03-24 12:34:03 +05:30
Rahul Tank caf917e6c2 fix(nimble): Issue connect cancel in case of outstanding master connection 2026-03-23 07:15:28 +05:30
Rahul Tank d158eb534b Merge branch 'bugfix/fix_compilation_issue_example' into 'master'
feat(nimble): Added changes in examples to have code under flags

See merge request espressif/esp-idf!46507
2026-03-13 08:31:25 +05:30
Rahul Tank 9c39a58acc Merge branch 'bugfix/mbuf_log_crash' into 'master'
fix(nimble): modify logic to print mbuf in ble_hs_log_mbuf

Closes BT-4267

See merge request espressif/esp-idf!46490
2026-03-12 17:35:08 +05:30
Rahul Tank 200ecc17a5 Merge branch 'bugfix/ble_ancs_ext_adv_scan_rsp_fix' into 'master'
fix(nimble): Remove scan response and use ble_gap_ext_adv_set_data in ble_ancs demo

See merge request espressif/esp-idf!46458
2026-03-12 10:35:37 +05:30
Rahul Tank 9036880677 feat(nimble): Added changes in examples to have code under flags 2026-03-11 19:12:26 +05:30
Rahul Tank e9d33797d7 Merge branch 'bugfix/fix_blufi_nimble_gatt_pkt' into 'master'
fix(blufi): Handle flattened ATT write payloads correctly in NimBLE BLUFI host

Closes BT-4264

See merge request espressif/esp-idf!46250
2026-03-06 20:59:59 +05:30
Rahul Tank 0caaa3d260 fix(blufi): Handle flattened ATT write payloads correctly in NimBLE BLUFI host 2026-03-04 11:42:16 +05:30
Rahul Tank 6f470bdbb9 fix(nimble): Add header file to expose macros 2026-03-03 14:03:45 +05:30
Rahul Tank 70b2ece581 Merge branch 'bugfix/gatt_memory_leak' into 'master'
fix(nimble): Fixed memory leak when dynamic services are disabled

Closes BLERP-2612

See merge request espressif/esp-idf!46094
2026-03-03 14:00:08 +05:30
Rahul Tank b10fa80961 Merge branch 'fix/skip_mbedtls_tls_for_bt_examples' into 'master'
fix(nimble): skip using tls configs for bt examples

See merge request espressif/esp-idf!46167
2026-03-02 22:09:16 +05:30
Rahul Tank 6088c47365 fix(nimble): Fixed memory leak when dynamic services are disabled 2026-02-27 11:14:45 +05:30
Rahul Tank 8ce95c270a Merge branch 'bugfix/improve_nimble_examples' into 'master'
fix(nimble): Improve safety, fix bugs, and update docs across NimBLE examples

See merge request espressif/esp-idf!45964
2026-02-25 17:28:43 +05:30
Rahul Tank 432cd1ebdd 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 12:59:48 +05:30
Rahul Tank 273bc6a0db Merge branch 'bugfix/fix_host_nimble_fixes' into 'master'
fix(nimble): Fix various issues for security/vulnerability in host

See merge request espressif/esp-idf!45987
2026-02-25 12:45:09 +05:30
Rahul Tank 684a81b4f3 fix(nimble): Fix various issues for security/vulnerability in host 2026-02-23 14:04:11 +05:30
Rahul Tank b6eab8cac8 Merge branch 'bugfix/fix_nimble_issues_11022026' into 'master'
fix(nimble): Bugfix/fix nimble issues 11022026

Closes BLERP-2589, BLERP-2509, BLERP-2234, BCI-599, BLERP-2579, and BLERP-2576

See merge request espressif/esp-idf!45830
2026-02-18 09:20:22 +05:30
Rahul Tank a440f62fb4 fix(nimble): Fix tinycrypt compilation issues when enabled 2026-02-16 10:57:03 +05:30
Rahul Tank 379943f60f fix(nimble): Fix to not send legacy command incorrectly 2026-02-16 10:55:31 +05:30
Rahul Tank c3c99ef135 fix(nimble): Handle scenario of simultaneous connect 2026-02-16 10:54:54 +05:30
Rahul Tank 919aa3d450 fix(nimble): Add support to allow multiple ext adv 2026-02-16 10:54:19 +05:30
Rahul Tank 9e581d7d68 fix(nimble): Bugfixes for various issues 2026-02-16 10:53:34 +05:30
Rahul Tank 19269c9d8f Merge branch 'bugfix/fix_ble_multi_adv' into 'master'
fix(nimble): Fix ble_multi_adv example to show correct UUIDs information

Closes BLERP-2604

See merge request espressif/esp-idf!45809
2026-02-12 15:45:23 +05:30
Rahul Tank 183d768ee4 Merge branch 'docs/update_protocomm_vulnerability' into 'master'
docs(protocomm): add advisory for 2 new CVE

See merge request espressif/esp-idf!45808
2026-02-11 14:40:37 +05:30
Rahul Tank 8abbd1b6c8 fix(nimble): Fix ble_multi_adv example to show correct UUIDs information 2026-02-11 12:18:28 +05:30
Rahul Tank d3c1584238 docs(protocomm): add advisory for 2 new CVE 2026-02-11 12:06:03 +05:30
Rahul Tank 0df16a8085 Merge branch 'fix/mbedtls-esp-random' into 'master'
fix(nimble): Replace use of CTR DRBG with mbedtls_esp_random

See merge request espressif/esp-idf!45000
2026-02-10 14:53:46 +05:30
Rahul Tank 5e832ee36a Merge branch 'bugfix/security_fixes_for_examples' into 'master'
fix(nimble): Fix vulnerabilities in NimBLE examples

Closes BLERP-2465 and BLERP-2466

See merge request espressif/esp-idf!44747
2026-02-09 14:23:35 +05:30
Rahul Tank 4362612554 Merge branch 'bugfix/fix_nimble_issues' into 'master'
Fix few nimble issues related to different functionalities

Closes BLERP-2545, BLERP-2567, BLERP-2575, BLERP-2583, BLERP-2587, and BLERP-2588

See merge request espressif/esp-idf!45435
2026-02-05 14:30:09 +05:30
Rahul Tank 0323a02118 fix(nimble): Added change to copy adv params to be reused during reattempt adv 2026-02-03 12:41:59 +05:30
Rahul Tank d5d6675068 fix(nimble) Add EXT_ADV dependancy flag for EXT_SCAN in menuconfig 2026-02-03 12:41:17 +05:30
Rahul Tank f69a4bd2b6 fix(nimble): Fixed duplication of HCI record entry HCI logging 2026-02-03 12:41:05 +05:30
Rahul Tank ba328dac3f fix(nimble): Rework L2CAP Rx for L2CAP SDU reassembly 2026-02-03 12:40:27 +05:30
Rahul Tank 1a878d0d55 fix(nimble): Address security vulnerabilties and NVS corruption issues 2026-02-03 12:35:24 +05:30
Rahul Tank c531627845 fix(nimble): Add extra logs to track critical failures 2026-02-03 12:34:49 +05:30
Rahul Tank 61bcc15559 fix(nimble): Fix coverity reported issue
Handled unchecked return value in ble_hs_pvcy.c
2026-02-03 12:34:09 +05:30
Rahul Tank 1fa8e40b58 Merge branch 'fix/esp_hid_device_deint_reset' into 'master'
fix(nimble): Reset HID service during deinit

Closes BLERP-2229, BLERP-2521, and BLERP-2541

See merge request espressif/esp-idf!41695
2026-01-27 12:13:55 +05:30
Rahul Tank 89d3051b53 Merge branch 'bugfix/fix_memory_leak_in_deinit' into 'master'
fix(nimble): Fixed invalid access to already freed memory in deinit sequence

Closes BT-4225

See merge request espressif/esp-idf!45217
2026-01-21 15:26:27 +05:30
Rahul Tank f7cb4f77c8 fix(nimble): Fix memory leak in controller/stack deinit sequence 2026-01-19 21:30:45 +05:30
Rahul Tank ce53c17985 Merge branch 'bugfix/periodic_adv_sync_lost_psync_handle' into 'master'
fix(nimble): Handling of psync during sync lost

Closes BLERP-2499

See merge request espressif/esp-idf!44689
2026-01-16 12:24:53 +05:30
Rahul Tank 20fd3c99a3 Merge branch 'bugfix/ad_type_example' into 'master'
fix(nimble): Add AD type macros in example

See merge request espressif/esp-idf!44916
2026-01-14 12:01:48 +05:30
Rahul Tank 5b01ed8100 fix(nimble): Add AD type macros in example 2026-01-14 09:59:38 +05:30