Commit Graph

5335 Commits

Author SHA1 Message Date
Geng Yuchao d47cb44f24 (feat) nimble : Add cte service for Bluetooth LE 5.1 Direction Finding feature. 2024-08-09 12:30:25 +08:00
Geng Yuchao b41bf59204 (feat) nimble : Add hci event and startup for Bluetooth LE 5.1 Direction Finding feature. 2024-08-09 12:30:25 +08:00
Geng Yuchao 3929e9e0a1 (feat) nimble : Add gap api for Bluetooth LE 5.1 Direction Finding feature. 2024-08-09 12:30:25 +08:00
Geng Yuchao c32cb5c6cd (feat) nimble : Add 5.1 CTE function-related hci command definitions. 2024-08-08 16:07:06 +08:00
Rahul Tank 8373c4afb3 feat/nimble: Add extra handling for set data len packet event 2024-08-05 11:04:15 +05:30
Rahul Tank 2cf7edde63 nimble/host: Modify Advertising Tx power levels
Spec ver 5.4 , Vol 4, Part E, section 7.8.6 mentions the range value for
Tx power level.

Different BLE spec version have modified the range values that Tx Power level
can have. Update the min / max macros to reflect the same
2024-08-02 11:24:11 +05:30
Rahul Tank 3126e6c561 fix(nimble): Add return value to RPA Timeout API 2024-07-31 14:41:29 +05:30
Rahul Tank c0363f26cf fix(nimble): Zero initialize variable to avoid garbage value 2024-07-26 09:38:14 +05:30
Rahul Tank 9372de75de Add host callback to provide security key 2024-07-18 20:52:24 +05:30
Rahul Tank 46ae586555 fix(nimble): Fixed BLE security vulnerability when using fixed IRK 2024-07-15 17:29:40 +05:30
Shen Weilong ec9f21253a 1. Always invoke ble_transport_ll_init in esp_nimble_init().
2. Add ble_transport_ll_init for legacy vhci
2024-07-09 20:39:39 +08:00
Shen Weilong 97793f4889 add hci driver for esp_ipc 2024-07-09 20:39:39 +08:00
zhiweijian 9e10a234ab split hci log in nimble 2024-07-08 10:04:22 +08:00
Abhinav Kudnar 74f81e10d8 fix(nimble): Fix the sequence of pairing complete event 2024-07-01 12:41:26 +05:30
Rahul Tank 4486eee186 Pass the correct cb arg during reconnection attempt 2024-06-20 12:43:00 +05:30
Rahul Tank 73112f9b40 fix(nimble): Clear resource before starting advertising 2024-06-17 14:09:00 +05:30
Rahul Tank a1f5999ee8 fix(nimble) Allocated memory by default for ext adv 2024-06-11 17:24:52 +05:30
Abhinav Kudnar 794fb12e75 fix(nimble): Added return code in ble_gap_unpair error logs 2024-06-04 12:24:26 +05:30
Rahul Tank d53c988a93 fix(nimble) Explicitly NULL assign adv data 2024-06-03 18:07:55 +05:30
Rahul Tank df505acaa0 fix(nimble) Use appendfrom to duplicate adv data 2024-05-31 11:54:17 +05:30
Rahul Tank 41e9765a06 Added change to free memory in case of failure 2024-05-29 14:55:24 +05:30
Rahul Tank 74c95610a2 Revert "feat(nimble): Added support for Enhanced ATT or ATT over Enhanced L2CAP Credit Based Flow Control Mode"
This reverts commit 1be1f55eaa.
2024-05-29 12:38:21 +05:30
Abhinav Kudnar a147a4ec7b feat(nimble): Added API to get resolve ADV data 2024-05-27 16:45:51 +05:30
zhiweijian 040b56ba3b support hci log for nimble 2024-05-24 14:46:50 +08:00
Rahul Tank 4e63dba9c3 fix(nimble) Start advertising if disconnect due to 0x3E in slave 2024-05-22 12:52:56 +05:30
Sumeet Singh 1be1f55eaa feat(nimble): Added support for Enhanced ATT or ATT over Enhanced L2CAP Credit Based Flow Control Mode 2024-05-17 12:24:51 +05:30
Abhinav Kudnar 5a1245bcaa feat(nimble): Added API to get local used address 2024-05-15 12:11:47 +05:30
Rahul Tank 0a482da982 nimble/host: Create separate API to only extract cb info 2024-05-14 17:14:53 +05:30
Rahul Tank fdc3526193 fix(nimble) Free controller memory if init fails 2024-05-08 09:55:12 +05:30
Rahul Tank 5adfd2d3c4 Expose API to set RPA Timeout 2024-04-19 15:20:06 +05:30
Rahul Tank cc997ecc33 Add check for return value of hex2val 2024-04-17 18:07:34 +05:30
Sumeet Singh 21cebe56e8 fix(nimble): Removed code for termination upon signed write operation failure 2024-04-12 17:38:24 +05:30
Rahul Tank 8d5c871596 nimble: Fix compilation issues when CCCD is set to 0 2024-04-12 11:01:25 +05:30
Szymon Janc 1c1b07ec41 nimble/host: Fix disconnect on host connection timeout
We don't need to have double loop and lock-unlock host lock when
issuing disconnect. ble_gap_terminate_with_conn() can be used
to disconnect and it can be called with already provided conn object
under host lock.
2024-04-11 19:28:17 +05:30
Rahul Tank 2107460209 Add support to handle Data Length change event 2024-04-11 10:59:26 +05:30
Rahul Tank 5b99e0eb72 fix(nimble): Fix the size of num_packets in dtm event 2024-04-09 18:54:13 +05:30
Rahul Tank 54eef74cd5 fix(nimble): Remove extra code in reattempt connection 2024-04-05 21:32:24 +05:30
Rahul Tank 98ac398698 nimble: Simplify the connection reconnection method 2024-04-01 16:05:26 +05:30
Rahul Tank 323e6c4730 Delete upstream .github folder 2024-03-26 10:49:14 +05:30
Rahul Tank e38c53b15d fix(nimble): Handle auto connection flag for extended connect 2024-03-22 17:28:39 +05:30
Darshan Dobariya 72265e0a5b fix(nimble): Added support for deleting the oldest bonded device across reboot 2024-03-22 17:28:25 +05:30
Rahul Tank bbeb0ae79a fix(nimble): Fix compilation issues observed during ci testing 2024-03-22 17:28:13 +05:30
Roshan Bangar b3c550b13b Fixed the compilation issue due to redeclaration after disabling ble_sm_feature 2024-03-22 17:27:59 +05:30
Darshan Dobariya 66b301dbcd fix(nimble): Added ble_host_rpa_enabled flag for address resoultion for esp32 2024-03-14 13:48:15 +05:30
Rahul Tank 9e83a31d76 fix(nimble) Address compilation errors when strict-prototype is enabled 2024-03-14 13:48:09 +05:30
Sumeet Singh 2795cb8849 feat(nimble): read multiple variable length characteristics 2024-03-11 10:48:23 +05:30
Rahul Tank 02ef2e088f Handle memory leak in callout deinit 2024-03-11 10:48:12 +05:30
Abhinav Kudnar c100086bde fix(nimble): Added the check to prevent address resolution in case of identity addr for esp32 2024-03-11 10:48:02 +05:30
Darshan Dobariya c9ec20dabe fix(nimble): Change 'move_count' to uint8_t type 2024-02-29 16:23:47 +05:30
Rahul Tank a42e1469fe update variable name to avoid using keyword 2024-02-29 16:23:47 +05:30