Commit Graph

136 Commits

Author SHA1 Message Date
Rahul Tank
837eecabca Merge branch 'bugfix/blufi_add_missing_adv_stop_v5.4' into 'release/v5.4'
fix(nimble): Added code for missing adv stop in blufi (v5.4)

See merge request espressif/esp-idf!38718
2025-04-28 19:19:18 +08:00
Zhou Xiao
1771685866 feat(ble): Improved SPI BLE Log functionality
* Added checksum for every frame
* Added SPI slave transaction interval workaround
* Added SPI tx done isr issue workaround
* Turned buffer flush to a menuconfig and disabled by default
* Modified packet loss write operation and trigger condition
* Optimized buffer append efficiency for controller ISR


(cherry picked from commit 243705c143)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-25 14:53:46 +08:00
Rahul Tank
cb29590a70 fix(nimble): Added code for missing adv stop in blufi 2025-04-24 14:17:39 +05:30
Island
26b9ba6b63 Merge branch 'bugfix/fix_some_ble_bugs_2503_v5.4' into 'release/v5.4'
Bugfix/fix some ble bugs 2503 (v5.4)

See merge request espressif/esp-idf!38291
2025-04-22 11:49:13 +08:00
Zhou Xiao
75343d25d0 change(ble): bugs fixed on spi ble log
* removed spi master in iram select for flash only firmware
* fixed memory issue in transaction init function
* fixed memory issue in transaction deinit function


(cherry picked from commit 7c3b9fa56f)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-17 10:54:54 +08:00
xiongweichao
ecf646cefc feat(bt): Add API to get profile status 2025-04-14 15:43:22 +08:00
Zhang Hai Peng
d7e8cfadca fix(ble/bluedroid): Fixed BLE crash when disable bluedroid host
(cherry picked from commit 9dfa6ab0e9)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-04-07 21:14:12 +08:00
Island
4e61ce24d6 Merge branch 'feat/support_bluedroid_host_iso_feature_master_v5.4' into 'release/v5.4'
Support bluedroid host new  features (v5.4)

See merge request espressif/esp-idf!38163
2025-04-07 16:01:16 +08:00
Zhou Xiao
94480cc0c0 feat(ble): support ble log simple output via SPI interface 2025-04-02 15:18:18 +08:00
Zhou Xiao
3051078939 fix(ble): fix flushout and sync issues 2025-04-02 15:18:17 +08:00
zhanghaipeng
e323d22353 fix(ble/bluedroid): Added SPI output support for Bluedroid host log 2025-04-02 15:18:17 +08:00
zhanghaipeng
231bf742b0 fix(ble/bluedroid): Support SPI log output options for HCI 2025-04-02 15:18:17 +08:00
Zhou Xiao
41a33fcd46 feat(ble): add printf and write with timestamp interface for ble log spi out
(cherry picked from commit f8efa4cd80)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-02 15:18:17 +08:00
zhiweijian
b47a6003a1 feat(bt/bluedroid): Support BLE CTE in bluedroid host 2025-04-02 10:31:14 +08:00
zhiweijian
e3bf21b31a feat(bt/bluedroid): Support BLE iso in bluedroid host 2025-04-02 10:31:04 +08:00
Island
b641411c06 Merge branch 'feat/add_save_debug_context_250226_v5.4' into 'release/v5.4'
Feat/add save debug context 250226 (v5.4)

See merge request espressif/esp-idf!37297
2025-04-01 19:33:51 +08:00
Rahul Tank
4d749ee5b0 Merge branch 'fix/ble_issue_10032025_v5.4' into 'release/v5.4'
fix(nimble): Fix some nimble issues ble_issue_10032025_v5.4

See merge request espressif/esp-idf!37625
2025-04-01 12:47:00 +08:00
Shen Weilong
15262e37a8 feat(bt): support hardware ecc acceleration for bt tinycrypt 2025-03-27 10:01:17 +05:30
Shen Weilong
6ea8cd1c0f change(bt): moved porting/ext/tinycrypt into common 2025-03-27 10:01:17 +05:30
zhiweijian
7f5af25348 feat(ble/bluedroid): reduce bluedrois host bin size and disable BLE_HOST_BG_CONNECT_EN 2025-03-14 18:03:31 +08:00
zhiweijian
694ed47dbb feat(bt/bluedroid): optimize bluedroid menuconfig 2025-03-14 18:03:31 +08:00
zhiweijian
388626019e feat(bt/bluedroid): delete unused host congest check 2025-03-14 18:03:31 +08:00
Zhao Wei Liang
907e11c880 fix(ble): fixed common kconfig error when controller enable only
(cherry picked from commit 5b8ac71ace)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-02-26 15:03:44 +08:00
Zhou Xiao
21f7a2b152 feat(ble): improved ble log spi output interface to support multisource log
(cherry picked from commit 2221133ba8)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:54:24 +08:00
Jiang Jiang Jian
30307f6977 Merge branch 'bugfix/ifdef_cplusplus_bracket_v5.4' into 'release/v5.4'
bugfix(wifi): Add missing brackets in the C++ guard (Backport v5.4)

See merge request espressif/esp-idf!36830
2025-02-17 15:50:16 +08:00
Zhou Xiao
2acf21413c feat(ble): add spi output interface for esp ble controller log
(cherry picked from commit 52106c9895)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-14 11:54:13 +08:00
akshat
22382490ab bugfix(wifi): Add missing brackets in the C++ guard
Closes https://github.com/espressif/esp-idf/issues/14991
2025-02-10 18:51:31 +05:30
Jiang Jiang Jian
5747e16f74 Merge branch 'fix/blufi_example_mem_access_v5.4' into 'release/v5.4'
fix(ble/blufi): Fixed blufi example security issue (v5.4)

See merge request espressif/esp-idf!36164
2025-01-09 11:38:08 +08:00
Rahul Tank
8163aa8496 fix(nimble): Address few coverity reported issues
1. Overflowed constant (INTEGER_OVERFLOW): Added change to typecast
value
2. Structurally dead code: Removed dead code
3. Resource leak: Added a free for allocated memory, in case of failure
4. too_few_printf_args: Corrected print statement to pass arguments
5. Fixed nesting levels
6. Fixed unused value warnings
7. Illegal memory access fix
2025-01-07 16:27:18 +05:30
Astha Verma
53744fe62c fix(nimble): fix memory leak issue in Blufi example 2025-01-07 16:23:19 +05:30
Zhang Hai Peng
4d7cd8f23b fix(ble/blufi): Fixed blufi example security issue
(cherry picked from commit 3cb2d9c3c6)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-01-06 11:14:02 +08:00
Zhang Hai Peng
e09ef803d6 fix(blufi): Fixed crash issue in Blufi example during prepare write operation
(cherry picked from commit 5acb9c9b5f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-12-17 16:13:44 +08:00
Island
7f42ed38fd Merge branch 'bugfix/fix_ble_build_fail_v5.4' into 'release/v5.4'
fix(ble/bluedroid): Fixed BLE build fail when enable dynamic memory and BLE5.0 (v5.4)

See merge request espressif/esp-idf!34665
2024-11-06 16:36:46 +08:00
Zhang Hai Peng
9685b3b4ca fix(ble/bluedroid): Fixed BLE build fail when enable dynamic memory and BLE5.0
(cherry picked from commit 94d1a4f1c0)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-11-05 16:13:51 +08:00
chenjianhua
c6810a102b fix(bt/bluedroid): Fixed error when memory debug enabled 2024-10-31 19:12:47 +08:00
zhanghaipeng
15c895fc6a feat(ble/bluedroid): Support enable BLE hci log by API 2024-10-16 20:25:40 +08:00
luoxu
aa022b14ce feat(ble_mesh): esp ble mesh v1.1 features enable/disable supported 2024-10-08 15:02:08 +08:00
Rahul Tank
f8dc0ba89d fix(nimble): Fixed deinit sequence in blufi 2024-09-23 19:00:38 +05:30
liqigan
c564817862 feat(bt/bluedroid): Add API to create Device ID Service record 2024-09-05 15:32:56 +08:00
chenjianhua
ec0277d833 fix(bt/bluedroid): Fixed work queue delete when create thread failed 2024-08-23 16:31:12 +08:00
Rahul Tank
a02a2a2d34 fix(nimble) Added change to handle linked om data at blufi layer 2024-08-13 16:39:18 +05:30
chenjianhua
800f360cc3 feat(bt/bluedroid): Add print and assert when failed to alloc memory 2024-08-05 16:18:41 +08:00
zhiweijian
9946315a5f feat(bt/nimble): support hci log for nimble 2024-05-24 14:51:06 +08:00
zhiweijian
b9a1756202 fix(ble/bluedroid): Remove BLE functions discard declaration
fix(nt/bluedroid): Split the device name set functions

feat(bt/bluedroid): added APIs to get/set device name on BT GAP side

change(bt/common): Marked some APIs in device module as deprecated

1. esp_bt_dev_set_device_name
2. esp_bt_dev_get_device_name

change(bt/bluedroid): use BT GAP APIs to set/get device name in bluetooth classic examples

change(bt/bluedroid): use BT/BLE GAP APIs to set/get device name in coexist examples
2024-04-18 15:53:54 +08:00
zhiweijian
0b4695435f feat(bt/common): Add bluerooth hci layer data stream record 2024-04-10 14:17:31 +08:00
wangjialiang
6df1997db5 feat(ble_mesh): Make alarm number configurable 2024-04-01 11:57:07 +08:00
Jiang Jiang Jian
63db118bcc Merge branch 'feat/move_ag_cb_malloc_to_btc' into 'master'
feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module

Closes BTQABR2023-208

See merge request espressif/esp-idf!29310
2024-03-14 10:46:01 +08:00
Jin Cheng
f4f26e94bd feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module 2024-02-28 20:30:38 +08:00
Joshua
09503600f2 fix(bt/blufi): Fixed BluFi module link error(C++ hybrid compilation) 2024-02-27 22:32:14 +08:00
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