Commit Graph

105 Commits

Author SHA1 Message Date
Zhou Xiao 9ac3dcf07d feat(ble): support ble log simple output via SPI interface 2025-03-20 09:48:35 +08:00
Shen Weilong 32370b047e feat(bt): support hardware ecc acceleration for bt tinycrypt 2025-03-13 17:35:20 +08:00
Shen Weilong 8ab6cc3bf3 change(bt): moved porting/ext/tinycrypt into common 2025-03-10 09:21:58 +08:00
Jiang Jiang Jian cae81c6d0b Merge branch 'bugfix/ifdef_cplusplus_bracket_v5.0' into 'release/v5.0'
bugfix(wifi): Add missing brackets in the C++ guard (Backport v5.0)

See merge request espressif/esp-idf!36849
2025-02-28 11:50:17 +08:00
akshat 8cb861890a bugfix(wifi): Add missing brackets in the C++ guard
Closes https://github.com/espressif/esp-idf/issues/14991
2025-02-27 13:56:17 +08:00
Zhou Xiao 02e415448e fix(ble): fix flushout and sync issues 2025-02-27 13:13:59 +08:00
zhanghaipeng ae24c6e9b2 fix(ble/bluedroid): Added SPI output support for Bluedroid host log 2025-02-27 13:13:51 +08:00
zhanghaipeng 3cebdc731a fix(ble/bluedroid): Support SPI log output options for HCI 2025-02-27 13:13:43 +08:00
Zhou Xiao 91d8d8ed11 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-02-21 11:53:31 +08:00
Zhou Xiao 09eef742ea feat(ble): improved ble log spi output interface to support multisource log 2025-02-20 10:34:27 +08:00
Zhou Xiao 22bec7a569 feat(ble): add spi output interface for esp ble controller log 2025-02-14 12:18:31 +08:00
zhanghaipeng a4c4601e59 fix(ble/blufi): Fixed blufi example security issue 2025-02-11 14:16:43 +08:00
Astha Verma fadd347a41 fix(nimble): fix memory leak issue in Blufi example 2025-01-23 11:23:34 +05:30
Zhang Hai Peng 1db0eddb97 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:23 +08:00
Island e991d160c7 Merge branch 'bugfix/fix_ble_build_fail_v5.0' into 'release/v5.0'
fix(ble/bluedroid): Fixed BLE build fail when enable dynamic memory and BLE5.0 (v5.0)

See merge request espressif/esp-idf!34661
2024-11-06 16:37:04 +08:00
Zhang Hai Peng dff7650b6c 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:27 +08:00
chenjianhua 1c877b9157 fix(bt/bluedroid): Fixed error when memory debug enabled 2024-10-29 21:53:29 +08:00
Zhang Hai Peng eb8f790f3f feat(ble/bluedroid): Support enable BLE hci log by API
(cherry picked from commit 15c895fc6a)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-24 20:13:12 +08:00
Rahul Tank 54e4297346 fix(nimble): Fixed deinit sequence in blufi 2024-09-24 12:21:47 +05:30
liqigan bfd1ea82bd change(bt/bluedroid): Limited SDP service discovery operation 2024-09-18 16:43:46 +08:00
chenjianhua 08b30f0e89 fix(bt/bluedroid): Fixed work queue delete when create thread failed 2024-08-23 16:57:55 +08:00
chenjianhua cbb637515f feat(bt/bluedroid): Add print and assert when failed to alloc memory 2024-08-23 16:57:46 +08:00
Rahul Tank f5d916d512 fix(nimble) Added change to handle linked om data at blufi layer 2024-08-13 16:56:31 +05:30
zhiweijian 1c834a6e6e feat(bt/nimble): support hci log for nimble 2024-06-03 09:53:15 +08:00
Alexey Lapshin ef4a5fda2d fix(bt): fix gcc 13.1.0 warnings 2024-05-28 15:57:46 +08:00
wangjialiang 7d0cfb74bb feat(ble_mesh): Make alarm number configurable 2024-04-30 16:09:47 +08:00
zhiweijian c755433922 feat(bt/common): Add bluerooth hci layer data stream record 2024-04-13 15:44:27 +08:00
Jin Cheng baf45b004e feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module 2024-03-14 10:53:48 +08:00
Joshua c3aa6c6700 fix(bt/blufi): Fixed BluFi module link error(C++ hybrid compilation) 2024-03-08 09:29:55 +08:00
gongyantao dc85f670aa fix(bt/bluedroid): update the newest active device in bluetooth
1: update the newest active device when an ACL link is established and
   the remote device info is not in bond list. This updates will not stored
   into NVRAM until a new device is paired.
2023-10-26 19:33:06 +08:00
Rahul Tank 4377ba639b Blufi: use blufi_env.conn_id instead of local variable 2023-05-31 20:10:19 +05:30
zhiweijian 61c3b96957 Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing 2023-02-27 13:01:13 +00:00
isha.pardikar@espressif.com 049cffcb2a BluFi : Fixed hdr getting free twice
Closes IDFGH-9378
2023-02-21 11:44:12 +05:30
xiongweichao 6fdd8552da Fixed incorrect parameters in switching to BTC context 2022-12-12 11:26:39 +08:00
xiongweichao c0392d3dd9 bt:Modify the member variable *arg in struct btc_msg to arg[0] 2022-12-12 11:26:34 +08:00
xiongweichao f9732cb65f bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails 2022-12-12 11:26:26 +08:00
isha.pardikar@espressif.com b1d87a41d2 NimBLE : Change GATT notify/indicate from gattc to gatts 2022-12-07 14:41:51 +05:30
Mathis 7a72210157 Blufi: Add function for blufi management inside custom gap event handler 2022-12-06 10:53:09 +05:30
liuning 497b45186e blufi: update version to 1.3
record connecting status, got ip status, maximum retry, connection end info (reason code, rssi) and provide greater information to phone
2022-12-05 11:23:29 +08:00
Jiang Jiang Jian fb1ee6b468 Merge branch 'bugfix/blufi_add_host_deinit_api_v5.0' into 'release/v5.0'
Blufi: Added an API to stop Bluetooth / Blufi profile (v5.0)

See merge request espressif/esp-idf!20863
2022-12-02 20:27:15 +08:00
Roshan Bangar ab2dee9439 Nimble/blufi: Added an API to stop Bluetooth / Blufi 2022-10-31 09:49:13 +05:30
tgotic 11b6c25641 [bt] fix if allocation fails
If osi_malloc fails for work_queues or osi_work_queue_create fails, osi_work_queue_delete in _err may release unallocated memory.
2022-10-21 14:44:39 +08:00
tgotic cd5e85aa19 update code to use osi_free() 2022-08-22 15:37:16 +08:00
tgotic 40addb8faa local copy of btc_msg_t
No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post().
2022-08-22 15:37:08 +08:00
Jiang Jiang Jian 373524cec2 Merge branch 'opt/bluedroid_adv_report_datapath' into 'master'
component/bt: optimize BLE adv report datapath and adv report flow control mechanism

Closes BT-2561

See merge request espressif/esp-idf!19171
2022-08-03 16:31:23 +08:00
wangmengyang 9a5f854760 component/bt: use the OSI utility "osi_event" to handle adv report in btc_layer 2022-08-02 14:14:07 +08:00
wangmengyang 578bfa3600 component/bt: use the OSI utility "osi_event" to handle A2DP sink data Rx processing 2022-08-02 14:14:07 +08:00
wangmengyang c0b86fefc6 component/bt: add new OSI utility "fixed_pkt_queue", which has same functionality with "fixed_queue" 2022-08-02 14:14:07 +08:00
Karl Wang eea8a285e3 component/bt: add new OSI utility "pkt_queue" which acts as a mutex-protected linked list, to be used as data queue between tasks 2022-08-02 14:14:07 +08:00
wangmengyang 7c1ee339bc component/bt: add new OSI utility "osi_event" to support the scenario that event need only to be handle once. 2022-08-02 14:14:07 +08:00