Commit Graph
532 Commits
Author SHA1 Message Date
Sumeet Singh 44d956cf6a fix(nimble): Fix GATTC temp-list crash (v6.0) 2026-09-23 17:51:29 +05:30
Zhou Xiao f4ec0e19b6 fix(bt): initialize BLE Log in host-only mode
Initialize and deinitialize BLE Log from the Bluedroid host lifecycle when the local
controller is disabled. Guard controller mbuf handling with BLE_LOG_LL_ENABLED so host-
only builds do not depend on controller headers.

Update NimBLE to b6e2f93db269ad2bba8715953cb56f93bae4fc2f to provide the corresponding
host-only initialization. Combine the host initialization fix and the final NimBLE
revision into one prerequisite commit.
2026-09-22 14:46:50 +08:00
Astha Verma 8946ea2d7a fix(nimble): Connect with OTA address for host based privacy 2026-09-18 17:22:25 +05:30
Astha Verma 1da5d70034 fix(nimble): fix l2cap_coc throughput disconnect on esp32c2 2026-09-16 10:26:51 +05:30
Shreeyash Bhakare ec250befd6 fix(nimble): Send Prepare Write Request before Execute Write in write long with zero-length data 2026-09-11 14:57:16 +05:30
Rahul Tank 8da0b7af1f Merge branch 'bugfix/nimble_issues_08092026_v6.0' into 'release/v6.0'
fix few nimble issues 08092026 (v6.0)

See merge request espressif/esp-idf!52601
2026-09-11 14:20:57 +05:30
Rahul Tank 768198540a Merge branch 'bugfix/hardware_error_assert_v6.0' into 'release/v6.0'
fix(nimble): Add hardware error event handling as normal event (v6.0)

See merge request espressif/esp-idf!52553
2026-09-10 17:33:50 +05:30
Astha Verma 5048d40e1b fix(nimble): Fix nimble HID service discovery 2026-09-09 14:09:04 +05:30
Rahul Tank 4cb6a3f218 fix(nimble): Prevent crash in deinit when host init was not completed 2026-09-08 15:35:29 +05:30
Rahul Tank 1e8fd755ad fix(nimble): Add hardware error event handling as normal event 2026-09-08 12:10:53 +05:30
Rahul Tank 454b29f257 fix(nimble): Fix for BLERP attack 2026-09-07 12:29:32 +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 a64ac3a8f6 fix(nimble): fix crash on disconnect due to stale per-connection CCCD pool 2026-09-04 12:17:48 +05:30
ShenWeilong 3dbbafbbb3 fix(bt): fixed mempool deinit crash issue 2026-09-04 11:00:59 +08:00
Rahul Tank 938ce4f4d1 fix(nimble): bound PAwR synced connect retries in the example 2026-09-03 21:27:16 +05:30
Astha Verma c525108495 fix(nimble): Fixed gatt caching crash on disconnect 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
chenjianhuaandCursor 9bd7168fa1 feat(bt): Add host-agnostic BT OSAL and shared BLE profile task
- Add bt_osal: event queues, mutexes, semaphores, callouts, etc.
- Add the shared BLE profile task and event queue
- Bring both up and tear them down in the host init/deinit paths
- Add unit tests for the OSAL and the profile task

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 21:27:15 +05:30
Shreeyash Bhakare a2739c9ee1 fix(nimble): Added security related fixes 2026-09-03 21:27:15 +05:30
Jiang Jiang Jian 5be7fb669a Merge branch 'bugfix/l2cap_throughput_degrading_v6.0' into 'release/v6.0'
Preserve throughput when switching from LE Coded to 1M/2M PHY (v6.0)

See merge request espressif/esp-idf!50830
2026-09-03 19:48:35 +08:00
Jan BeranandCursor aa81a64417 fix(kconfig): use 'n' instead of '0'/'false' for bool defaults
Bool symbols in nimble, BTDM, and two examples used invalid default
literals. The parser already falls back to 'n'; set that explicitly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 09:43:39 +02:00
Astha Verma d4c0686061 fix(nimble): Restore throughput after switching from LE Coded PHY 2026-07-24 18:03:04 +05:30
Astha Verma b338ecaead fix(nimble): Handle Read Remote Supported Features failure correctly 2026-07-22 12:14:58 +05:30
Sumeet Singh 73ef4148a8 fix(nimble): Add option to disable IEEE and UDI Characteristic in DIS (v6.0) 2026-07-17 14:57:20 +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 732c19d77a fix(nimble): Fix bond-store overflow when IRK is enabled 2026-07-10 13:23:41 +05:30
Rahul Tank 38f4edb16e fix(nimble): Fixes for AI reported issues 2026-07-07 16:18:32 +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
Sumeet Singh 5dfb38a6d3 fix(nimble): Add npl locks to avoid race condition (v6.0) 2026-06-29 15:45:00 +05:30
Astha Verma b0f278ec19 fix(nimble): Added l2cap_coc throughput examples 2026-06-29 15:41:54 +05:30
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
Sumeet Singh dbe2e860da fix(nimble): Change remaining vars from Static to Dynamic (v6.0) 2026-06-29 15:25:37 +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
Mayank Tyagi 562a32ba46 fix(nimble): Avoid deadlock caused by local writes taking s_hidd_mutex 2026-06-29 15:25:36 +05:30
Mayank Tyagi 842941b488 fix(nimble): Forward HID report/control/protocol writes as HIDD events 2026-06-29 15:25:36 +05:30
Mayank Tyagi 0a90976237 feat(nimble): ADD BLE HCI logging support for ESP Insights 2026-06-29 15:25:36 +05:30
ShenWeilong d8c912eb4d change(bt): Separated bt/cmakelist to bt/controller/cmakelist and bt/porting/cmakelist 2026-05-25 21:01:21 +08:00
Rahul Tank 1d52e24b59 fix(nimble): Replace sensitive vsprintf with hex character 2026-05-13 12:22:11 +05:30