Commit Graph

105 Commits

Author SHA1 Message Date
Jiang Jiang Jian
cfc64c7299 Merge branch 'bugfix/ifdef_cplusplus_bracket_v5.1' into 'release/v5.1'
bugfix(wifi): Add missing brackets in the C++ guard (Backport v5.1)

See merge request espressif/esp-idf!36848
2025-02-28 11:53:00 +08:00
Island
392c30314f Merge branch 'feat/add_ble_spi_log_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Support SPI log output options for HCI (v5.1)

See merge request espressif/esp-idf!37338
2025-02-27 20:18:02 +08:00
akshat
e4ed53d412 bugfix(wifi): Add missing brackets in the C++ guard
Closes https://github.com/espressif/esp-idf/issues/14991
2025-02-27 15:52:10 +08:00
Zhou Xiao
84a7fe240c fix(ble): fix flushout and sync issues 2025-02-27 13:12:02 +08:00
zhanghaipeng
899140216b fix(ble/bluedroid): Added SPI output support for Bluedroid host log 2025-02-27 13:11:38 +08:00
zhanghaipeng
45580bb73e fix(ble/bluedroid): Support SPI log output options for HCI 2025-02-27 13:10:32 +08:00
zwl
65037d3831 fix(ble): fixed common kconfig error when controller enable only 2025-02-26 15:26:49 +08:00
Zhou Xiao
9e7144d171 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:39 +08:00
Zhou Xiao
5cea16e9e7 feat(ble): improved ble log spi output interface to support multisource log 2025-02-20 10:36:41 +08:00
Zhou Xiao
1fd53ccc33 feat(ble): add spi output interface for esp ble controller log 2025-02-14 12:23:38 +08:00
Zhang Hai Peng
288b66e9f0 fix(ble/blufi): Fixed blufi example security issue
(cherry picked from commit 3cb2d9c3c6)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-01-10 21:03:41 +08:00
Astha Verma
f6c4b1c4b5 fix(nimble): fix memory leak issue in Blufi example 2024-12-24 22:20:05 +05:30
Zhang Hai Peng
f4cf1ee0da 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:28 +08:00
Island
26dabfd177 Merge branch 'bugfix/fix_ble_build_fail_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fixed BLE build fail when enable dynamic memory and BLE5.0 (v5.1)

See merge request espressif/esp-idf!34662
2024-11-06 16:36:58 +08:00
Zhang Hai Peng
0d56d39b0d 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:34 +08:00
chenjianhua
1bfee38a09 fix(bt/bluedroid): Fixed error when memory debug enabled 2024-11-03 06:04:26 +08:00
Zhang Hai Peng
4dc96c1616 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:17 +08:00
Rahul Tank
d0bc721a78 fix(nimble): Fixed deinit sequence in blufi 2024-09-24 12:21:24 +05:30
liqigan
3ee6b9e051 change(bt/bluedroid): Limited SDP service discovery operation 2024-09-18 16:42:07 +08:00
chenjianhua
1743d22f08 fix(bt/bluedroid): Fixed work queue delete when create thread failed 2024-08-23 16:56:54 +08:00
chenjianhua
f8ad2871e6 feat(bt/bluedroid): Add print and assert when failed to alloc memory 2024-08-23 16:56:45 +08:00
Rahul Tank
9481ed111f fix(nimble) Added change to handle linked om data at blufi layer 2024-08-13 16:54:42 +05:30
wangjialiang
410a02acf0 feat(ble_mesh): Make alarm number configurable 2024-06-04 16:36:10 +08:00
zhiweijian
42aa1be457 feat(bt/nimble): support hci log for nimble 2024-06-03 09:48:51 +08:00
zhiweijian
cc2e293d7c feat(bt/common): Add bluerooth hci layer data stream record 2024-04-13 15:41:15 +08:00
Alexey Lapshin
4325d5c9c5 fix(bt): fix gcc 13.1.0 warnings 2024-03-18 14:55:22 +05:30
Jin Cheng
0fcd6a7c73 feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module 2024-03-14 10:53:11 +08:00
Joshua
dc63404d06 fix(bt/blufi): Fixed BluFi module link error(C++ hybrid compilation) 2024-03-11 18:03:26 +08:00
gongyantao
f54e3ebea4 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-20 14:44:54 +08:00
isha.pardikar@espressif.com
14aa55b353 BluFi : Fixed hdr getting free twice
Closes IDFGH-9378
2023-02-20 11:02:30 +05:30
zhiweijian
7c9d47b702 Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing 2022-12-28 14:59:38 +08:00
xiongweichao
592675fd5b Fixed incorrect parameters in switching to BTC context 2022-11-30 10:41:54 +08:00
xiongweichao
3268075231 bt:Modify the member variable *arg in struct btc_msg to arg[0] 2022-11-30 10:41:54 +08:00
xiongweichao
40f6239fd7 bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails 2022-11-30 10:41:52 +08:00
isha.pardikar@espressif.com
b950ddb0fd NimBLE : Change GATT notify/indicate from gattc to gatts 2022-11-08 14:02:54 +05:30
liuning
785248b3c7 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-11-07 13:11:20 +08:00
Rahul Tank
4641f84998 Nimble: Corrected macro used in memcpy to copy address 2022-11-03 15:59:16 +05:30
Rahul Tank
6f806e126b Merge branch 'feat/NimBLE-Blufi-custom-use' into 'master'
Nimble: Add support to expose blufi handler for external BLE application

See merge request espressif/esp-idf!20424
2022-11-01 16:20:28 +08:00
tgotic
cd2492f98b [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:43:12 +08:00
Mathis
ca024c119d Blufi: Add function for blufi management inside custom gap event handler 2022-10-19 09:24:40 +05:30
Mathis
140f40a1d9 Blufi: use blufi_env.conn_id instead of local variable 2022-10-19 09:21:45 +05:30
Roshan Bangar
aa03ffdc1b Nimble/blufi: Added an API to stop Bluetooth / Blufi 2022-10-10 04:43:21 +00:00
tgotic
60bdc4a023 update code to use osi_free() 2022-08-11 18:14:35 +02:00
tgotic
f78298b04a 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-08 16:18:16 +02: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