Commit Graph

54 Commits

Author SHA1 Message Date
Sumeet Singh
9f34e4e9d9 feat(nimble): read multiple variable length characteristics 2024-03-07 19:46:54 +05:30
Rahul Tank
b2c9d7a834 fix(nimble): Add support for esp_timer_get_expiry_time to nimble porting layer 2024-03-05 14:28:24 +05:30
fl0wl0w
90d1dcfd76 feat(freertos): Introduced new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES
This commit replaces the use of portNUM_PROCESSORS and configNUM_CORES
macros in all of ESP-IDF. These macros are needed to realize an SMP
scenario by fetching the number of active cores FreeRTOS is running on.
Instead, a new Kconfig option, CONFIG_FREERTOS_NUMBER_OF_CORES, has been
added as a proxy for the FreeRTOS config option, configNUMBER_OF_CORES.
This new commit is now used to realize an SMP scenario in various places
in ESP-IDF.

[Sudeep Mohanty: Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES]

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2024-02-09 09:11:28 +01:00
Rahul Tank
6c614a50ab fix(nimble): Merge hci_common.h file for all chips 2024-01-31 13:41:31 +05:30
Roshan Bangar
51efb20516 feat(nimble): Nimble Host only mode over uart 2024-01-31 09:49:21 +05:30
SumeetSingh19
0bd8301755 feat(nimble): signed write support 2024-01-25 18:34:55 +05:30
luomanruo
dededd1267 change(ble): npl count is zero if nimble host is not used
change(ble): added npl eventq put to front

change(ble): added cache safe check in ble power save example

ble(update):
    Update c2 lib to 91b81332
    Update h2 lib to 620fbe79
    Update c6 lib to 620fbe79

fix(ble): fix stack overflow disable at sleep

Revert "change(ble): added ble cca en and thresh option"

This reverts commit 71901499b9.
2024-01-19 16:13:12 +08:00
Rahul Tank
df796b3ed9 feat(nimble): Add VSC support for setting chan select algo 2023-12-18 17:46:52 +05:30
luomanruo
ca4f9ccedb ble(fix): Fixed crash issue when reset event queue 2023-12-06 14:13:23 +08:00
luomanruo
bf44a9e9c6 ble(fix): clear event queue when init event queue
ble: update log module on ESP32C2, ESP32H2 and ESP32C6
2023-12-05 16:12:09 +08:00
Rahul Tank
6b5d5698cf fix(nimble): Add support for VSC to clear legacy adv memory
Legacy adv does not have an API for clear adv memory in controller.
 Added VSC for same.
2023-11-28 18:13:51 +05:30
luomanruo
ec119aa694 ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
2023-11-21 15:00:55 +08:00
cjin
43b53a1885 change(ble): added option for msys buffer source 2023-10-27 16:03:05 +08:00
cjin
926695b000 change: changed ble msys init for controller 2023-09-05 20:40:04 +08:00
Rahul Tank
db996617d3 feat(nimble): Add support for LE Data Set Related Address Change command 2023-08-25 10:41:46 +05:30
Rahul Tank
9dafd9f778 feat(mesh): Add support for Duplicate Exception list update VSC for
Nimble
2023-08-01 19:27:29 +05:30
Rahul Tank
027c43e148 fix(nimble): Increase BLE_HOST_SEM_COUNT to allow more semaphore allocation 2023-07-11 17:14:12 +05:30
Rahul Tank
b926bf5048 fix (nimble): Fix data type of power level and delta to handle negative values 2023-07-10 15:50:01 +05:30
Rahul Tank
6eb1a8f51f fix (Nimble): Add PCL Set RSSI VSC and example code for its usage
This adds API to send a vs hci command and an event to handle vs hci events
Also added information for Set RSSI VSC for Power control.
2023-06-30 12:26:56 +05:30
Song Ruo Jing
921713fff4 uart: Support LP_UART port with UART driver on esp32c6 2023-06-16 07:31:40 +00:00
Roshan Bangar
27dc6d95f6 NimBLE : Sync porting files 2023-06-07 13:03:53 +05:30
Rahul Tank
ed30c4a106 Nimble: Removed the extra status field in the enh read transmit power level 2023-05-22 10:17:01 +05:30
zwl
45d207572b Add hci uart pin reconfig API 2023-03-09 20:03:08 +08:00
Roshan Bangar
ba1119a725 Nimble: Migrate to nimble 1.5 2023-02-15 04:55:26 +00:00
Island
c8de3e54c7 Merge branch 'bugfix/esp32c6_ble_adv_issues' into 'master'
Bugfix/esp32c6 ble adv issues

Closes EBLE50Y23-19

See merge request espressif/esp-idf!22179
2023-02-02 16:37:05 +08:00
zwl
423c43f3e3 Fixed hci uart tx long data error 2023-02-01 09:41:04 +08:00
Rahul Tank
826495a145 Nimble: Added return value (success / failure ) to nimble_port_init 2023-01-31 12:01:02 +05:30
Shen Weilong
45aaeda1e3 modify bt sdkconfig to support bluedroid examples for esp32c6 2023-01-13 15:05:34 +08:00
zwl
06937271bb Optimized NPL Freertos API 2023-01-06 15:10:18 +08:00
Island
e58181b3f9 Merge branch 'bugfix/fixed_hci_uart_flow_ctrl_error_on_esp32c2' into 'master'
Bugfix/fixed hci uart flow ctrl error on esp32c2

Closes BLE-460, BLE-471, and IDF-6530

See merge request espressif/esp-idf!21882
2023-01-05 10:06:16 +08:00
zhaoweiliang
98c487233c Fixed task watchdog trigger issue when closed hci uart 2023-01-04 15:27:31 +08:00
shenweilong
93fc1bd05f support ble on esp32c6 2023-01-04 11:10:10 +08:00
zhaoweiliang
2819f9a4c3 Fixed hci uart flow ctrl error on ESP32-C2 and ESP32-H4 2023-01-03 20:48:32 +08:00
Rahul Tank
f3012849e8 Merge branch 'feature/add_periodic_helper_macros' into 'master'
Nimble: Add helper macros to set interval min / max for periodic adv

See merge request espressif/esp-idf!21575
2022-12-14 22:07:00 +08:00
zwl
0b3490acd8 Optimized the number of npl on ESP32C2 2022-12-13 17:47:28 +08:00
Rahul Tank
4e43694b7c Nimble: Add helper macros to set interval min / max for periodic adv 2022-12-13 13:44:30 +05:30
zwl
46127774fa Unify controller internal error code on ESP32-C2 2022-12-09 15:23:44 +08:00
zwl
81d6b8f011 Fixed interrupt latency when cache is disable on ESP32-C2 2022-11-29 16:29:32 +08:00
zwl
1732a6d044 Fixed memory leak when RAM free size is insufficient or setting ext scan parameters failed on ESP32-C2 2022-11-29 16:29:26 +08:00
Omar Chebib
cd21058097 C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT
Closes https://github.com/espressif/esp-idf/issues/9938
2022-11-21 16:18:08 +08:00
laokaiyao
8677216576 esp32h2: renaming esp32h2 to esp32h4 2022-11-08 17:05:33 +08:00
Rahul Tank
fe5d4e0f39 Nimble: Add LE Power CTRL changes 2022-10-27 16:30:44 +05:30
Rahul Tank
a6251da049 Merge branch 'feature/LE_Conn_Subrating' into 'master'
Nimble: Stack support for Connection subrating

See merge request espressif/esp-idf!20377
2022-10-26 21:18:33 +08:00
zwl
76cd979dbb Reduced the RAM size of npl_os_freertos.c file 2022-10-25 16:28:38 +08:00
Rahul Tank
5a08ba15b5 Nimble: Stack support for Connection subrating feature 2022-10-25 10:21:46 +05:30
Roshan Bangar
c401efa7bb Nimble : updated debug level for a print to avoid unwanted console log. 2022-09-01 05:03:40 +00:00
zwl
30e47072f9 add set/get txpwr api and fix issues such as disconnect and abnormal tx behavior for esp32c2 2022-08-29 11:32:18 +08:00
Isha Pardikar
183100fc28 Nimble: Fixed compilation error for esp32c2 and esp32h2 when os_mbuf_free is called. 2022-07-14 09:41:05 +05:30
GengYuchao
ee13e58b16 update head files for nimble
Remove some useless error printing display
2022-07-05 02:40:49 +00:00
Onkar
731a8d357f feature/added read-write sugg default datalen cmds 2022-07-03 13:50:12 +05:30