Commit Graph

286 Commits

Author SHA1 Message Date
Abhinav Kudnar fd287cbafe fix(nimble): Resolved watchdog due to memory exceed prints 2024-11-27 13:53:38 +08:00
Abhinav Kudnar da900069fb fix(nimble): Nimble Error logs in case of memory overflow/failure 2024-11-18 17:33:19 +08:00
timoxd7 ca6c6173fc Moved min/max macros from global scope in header file to translation unit exlusice c files 2024-11-07 15:26:32 +08:00
Abhinav Kudnar 87dd8bdc03 fix(nimble): Fix the sequence of ll and host transport init 2024-10-01 20:01:32 +08:00
Rahul Tank 81a116a815 fix(nimble): De-register host cb in stack deinit 2024-09-16 10:35:20 +05:30
Astha Verma 071575038c change BT_HCI_LOG_INCLUDED macros into nimble nomenclature style. 2024-08-23 11:41:27 +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
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
zhiweijian 040b56ba3b support hci log for nimble 2024-05-24 14:46:50 +08:00
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
Rahul Tank fdc3526193 fix(nimble) Free controller memory if init fails 2024-05-08 09:55:12 +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
Roshan Bangar bb07639d41 nimble/porting: Added missing #if guard 2024-02-29 16:23:47 +05:30
Roshan Bangar 0a0eeb985f Nimble/transport: HAL Support for UART transport 2024-02-29 16:23:47 +05:30
Roshan Bangar a6c1180ea2 feature : Gatt Caching 2024-02-20 18:48:54 +05:30
Roshan Bangar dd288f2b76 Feature : HID service support 2024-02-20 18:48:53 +05:30
Rahul Tank d0ad889f56 Remove IRAM_ATTR from npl_os_freertos.c file 2024-02-20 12:22:49 +05:30
Rahul Tank c6ee8dee30 nimble_port.c: Removed unused coex header inclusion 2024-02-20 12:22:49 +05:30
isha.pardikar@espressif.com 066bfccb8b NimBLE: Added support of encrypted advertising data 2024-02-20 12:22:49 +05:30
isha.pardikar@espressif.com 4f635e7331 fix(nimble): Added checks before accessing event pointers 2024-02-20 12:22:49 +05:30
Rahul Tank 3a1db72f83 Add checks for sem_init / mutex_init 2024-02-20 12:22:49 +05:30
Roshan Bangar be1f0e7fb2 Introduced BLE_LL_ASSERT instead of void return on callout handle being NULL 2024-02-20 11:18:11 +05:30
Roshan Bangar 4012844c28 Sync porting files 2024-02-20 11:18:11 +05:30
Rahul Tank 768dbeb83c Fixes for memory leak / optimization 2024-02-20 11:18:11 +05:30
isha.pardikar@espressif.com 67bf2ca800 NimBLE: Added support for writing data more than BLE_ATT_ATTR_MAX_LEN 2024-02-20 11:18:11 +05:30
Roshan Bangar cd5a88be94 Nimble: Migration changes for nimble-1.5 2024-02-20 11:18:09 +05:30
Rahul Tank 6336a6de85 Added return value (success / failure ) to nimble_port_init 2024-02-14 18:51:52 +05:30
Rahul Tank e5c16b09eb Fixed esprv_intc_int_set_type() usage . 2024-02-14 17:49:02 +05:30
Roshan Bangar 2dd0a02c3a NimBLE: Updated debug level for a print to avoid unwanted console log. 2024-02-14 17:48:21 +05:30
GengYuchao 8f53979963 adapt remove esp_nimble_hci_and_controller_init with IDF 2024-02-14 17:47:56 +05:30
Rahul Tank 72e3d6f6d5 Fixed compilation error for esp32c2 and esp32h2 when os_mbuf_free is called 2024-02-14 17:47:46 +05:30
GengYuchao 3d0022adcd remove breaking change 2024-02-14 17:47:06 +05:30
GengYuchao 238b96d3f7 Optimize the nimble host interface function and divide the host
interface into init and enable functions.

Init is responsible for initializing the function pointer and memory,
and enable is responsible for starting the task;
The corresponding deinit is responsible for releasing the function
pointer and memory, and disable is responsible for ending the task.
2024-02-14 17:38:40 +05:30
GengYuchao 63c97f3d5f Remove useless code 2024-02-14 17:09:13 +05:30
Geng Yuchao fedb821df5 Fix co_count is too small issue 2024-02-14 17:08:36 +05:30
GengYuchao 85f6f2177a Sync change with c2 bt component change 2024-02-14 17:08:29 +05:30
Geng Yuchao 5e95030c7a Fix npl use esp timer issues 2024-02-14 17:08:22 +05:30
Rahul Tank 60cb126055 Revert "Fix crash due to less co count"
This reverts commit db24d7c82f.

co value should be correctly calculated rather than configured.
2024-02-14 17:08:12 +05:30
Rahul Tank a3b8e2495a Fix crash due to less co count 2024-02-14 17:02:23 +05:30
Geng Yuchao 1ef04fcc68 Fix macro issue for c2 controller 2024-02-14 17:02:10 +05:30
Geng Yuchao 7d823768bf Fix macro with idf 2024-02-14 17:01:40 +05:30
Geng Yuchao d6f86493a4 Change Kconfig name because ci test 2024-02-14 17:01:32 +05:30
Geng Yuchao 4dd7e81109 Separate Host and controller Use macros. Fix uart hci driver. 2024-02-14 17:01:24 +05:30
Geng Yuchao cd72ab3e32 Add support for esp32c2 2024-02-14 16:59:57 +05:30
Rahul Tank 13a8bcb7cd Nimble/host: Resolved crash of esp_timer on esp32h2
Per new architecture, event structure elements need to be initialized before
assigning to callout. Modified the existing sequence to fix this.
2024-02-14 16:59:05 +05:30
Ivan Grokhotkov b45540a599 porting: add missing esp_timer.h include
porting/npl/freertos/include/nimble/npl_freertos.h uses the
esp_timer_handle_t type without including esp_timer.h. Previously this
used to work because esp_timer.h was included by FreeRTOS headers.
This transitive include will be removed in IDF v5.0. Add an explicit
include to fix this.
2024-02-14 16:58:49 +05:30
Onkar cc618abc5a Nimble: Add check for null callout
Added change to handle the case when callout deinit / stop is invoked
for a already NULL callout
2024-02-14 16:58:38 +05:30
Rahul Tank 43357fdaee H2 chip support 2024-02-14 16:57:51 +05:30