xiongweichao
433767f97a
bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails
2022-12-07 10:22:29 +08:00
zwj
098465ff74
Fixed errors reported by CI clang_tidy_check
2022-11-21 11:11:52 +08:00
Jin Cheng
60e281805c
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-11-14 09:50:22 +08:00
zwj
38945f54e1
allow bluedroid host to report adv_ind separately
2022-10-24 19:36:47 +08:00
Jin Cheng
b5996dd051
Revert "fixed the issue iOS devices cannot initiate connection"
...
This reverts commit da44fc9cbe
.
2022-10-18 19:45:00 +08:00
chenjianhua
b904278330
fix ble adv tx power map
2022-10-09 15:28:39 +08:00
chenjianhua
7a324e2984
bluedroid: fix ble rpa generate and update by host
2022-10-09 15:28:39 +08:00
chenjianhua
0446de4429
Revert "component/bt: add local irk to controller"
...
This reverts commit 032f6d34d1
.
2022-10-09 15:28:39 +08:00
chenjianhua
fb20a1be8e
Revert "Fixed ESP32 BLE can't resolve the peer address when enable white list"
...
This reverts commit 192aa18c31
.
2022-10-09 15:28:39 +08:00
Jiang Jiang Jian
9e863ecdb8
Merge branch 'bugfix/fix_some_ble_bugs_on_esp32c3_v4.3' into 'release/v4.3'
...
Fixed some BLE controller bugs on ESP32-C3 (backport v4.3)
See merge request espressif/esp-idf!19990
2022-09-29 13:59:20 +08:00
Jin Cheng
f2000d8925
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-09-28 16:12:11 +08:00
zwj
f635a2f2a1
fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
2022-09-27 21:38:11 +08:00
zwj
157acb3086
Fixed extend adv tx power range error
2022-09-27 21:37:04 +08:00
cjin
ebb23ff4fe
fix err using rpa for confirmation calculation
2022-09-27 21:35:49 +08:00
cjin
78a08e9ca7
fix on data len change cmd malfunction
2022-09-27 21:35:33 +08:00
wangmengyang
73cc09b118
components/bt: fixed the invalid workqueue number for BTU thread in Bluedroid
...
There should be only one workqueue for BTU task. The queue length for the second workqueue of BTU can be uninitialized and caused memory overflow and corruption.
Closes https://github.com/espressif/esp-idf/issues/9507
2022-08-11 16:18:12 +08:00
wangmengyang
6ffe0a5262
component/bt: consider to handle HCI LE Direct Advertising Report
2022-08-04 14:27:33 +08:00
Karl Wang
ca945e8211
component/bt: allocate and use one static buffer for HCI adv flow control command
2022-08-04 14:27:33 +08:00
wangmengyang
20705588b2
component/bt: use fixed_pkt_queue instead of fixed_queue for hci commands
...
some fixes after modifications:
1. removed the use of waiting_command_t
2. fix assert for HCI write_eir command
3. fixed the crash upon handling command status event when trying to free to the HCI command buffer
4. fixed the issue in transmitting HCI vendor specific commands
5. fixed the lost command complete callbacks for HCI commands LE_RAND and LE_ENCRYPT
2022-08-04 14:27:32 +08:00
wangmengyang
2da8b2c78b
component/bt: fix adv report flow control logic, give ADV report credits every 10 packets
2022-08-04 14:27:32 +08:00
wangmengyang
64572b7ff2
component/bt: add simple ADV flow control mechanism -- drop the packets when the adv report queues are considered full
2022-08-04 14:27:31 +08:00
wangmengyang
f16e5df27f
component/bt: use the OSI utility "pkt_queue" to store ADV report packet in btu layer
...
# Conflicts:
# components/bt/host/bluedroid/hci/hci_hal_h4.c
2022-08-04 14:27:30 +08:00
wangmengyang
26d2011442
component/bt: make OSI thread workqueue length configurable through API
...
reduce the length of workqueue1 for BTC and HCI task
# Conflicts:
# components/bt/common/osi/thread.c
2022-08-04 14:25:02 +08:00
zhiweijian@espressif.com
197371d085
Fixed bluedroid host memory overflow
2022-07-20 09:12:46 +00:00
Jiang Jiang Jian
0df62cf49a
Merge branch 'bugfix/ble_50_sync_periodic_adv_lost_data_v4.3' into 'release/v4.3'
...
components/bt: Fix ble sync periodic adv report will lost data(backport release/v4.3)
See merge request espressif/esp-idf!18959
2022-07-13 11:01:05 +08:00
Rahul Tank
e28ec880a3
Bluedroid: Fixed compilation error due to incorrect macro name
2022-07-12 09:44:23 +05:30
xiewenxiang
730094a3ef
components/bt: Fix ble sync periodic adv report lost data issue
2022-07-11 16:49:26 +08:00
xiongweichao
21fbc7355a
Fix AVDTP general reject format error.
2022-06-17 10:21:10 +08:00
keymoon
8aa0f77863
assign value to uninitialized bt_addr
field
2022-05-29 18:06:45 -07:00
xiongweichao
30b2cad3b7
Fix CI failure when disable bluetooth debug log
2022-04-26 15:14:26 +08:00
xiongweichao
b729bf804d
Add some bluetooth debug log
2022-03-28 11:13:10 +08:00
Wang Meng Yang
f68da60831
Merge branch 'bugfix/fix_bluedroid_compile_issue_v4.3' into 'release/v4.3'
...
components/bt: Fix bluedroid compile issue(backport release/v4.3)
See merge request espressif/esp-idf!16593
2022-01-11 09:52:16 +00:00
Wang Meng Yang
06f2f1c6b2
Merge branch 'bugfix/fix_null_pointer_deference_issue_4.3_mr' into 'release/v4.3'
...
Fix the null pointer deference issue via Reconnection Spamming
See merge request espressif/esp-idf!16638
2022-01-10 08:44:25 +00:00
Wang Meng Yang
b9c5ef1717
Merge branch 'bugfix/fix_spp_open_err_bda_v4.3' into 'release/v4.3'
...
Component_bt/Fix SPP acceptor open with wrong remote address[backport 4.3]
See merge request espressif/esp-idf!16614
2022-01-06 04:06:42 +00:00
“YangZhao”
74f4d07c3b
There is an issue that if the the btm_cb.p_sec_dev_rec_list is full,but at the same
...
time we can't find old device to be replaced,then this can cause crash. So we need
to change the way to malloc the new device or replace the old in the list.
2022-01-04 11:09:44 +08:00
liqigan
04bea91b38
fix SPP open with wrong remote bd_addr
2021-12-30 16:36:51 +08:00
xiewenxiang
abacbb1d12
components/bt: Fix bluedroid compile issue
2021-12-30 11:58:21 +08:00
xiewenxiang
ab2148a390
component/bt: fix periodic adv parameters detection issue
2021-12-29 15:03:28 +08:00
Jiang Jiang Jian
31d1156c6d
Merge branch 'bugfix/fix_can_not_find_mac_addr_error_mr_4.3' into 'release/v4.3'
...
fix can not find mac addr error
See merge request espressif/esp-idf!16146
2021-12-22 13:33:29 +00:00
Wang Meng Yang
450b05a64a
Merge branch 'bugfix/fix_spp_listen_err_v4.3' into 'release/v4.3'
...
Component_bt/Fix SPP cannot malloc slot bugs[backport v4.3]
See merge request espressif/esp-idf!16384
2021-12-21 04:35:07 +00:00
Wang Meng Yang
91d7557579
Merge branch 'feature/support_ble_direct_ind_low_adv_v4.3' into 'release/v4.3'
...
components/bt: Support low duty cycle directed advertising(backport release/v4.3)
See merge request espressif/esp-idf!16378
2021-12-21 03:27:09 +00:00
liqigan
a269df84e9
fix SPP server bugs when the BTC layer can not allocate a slot for the listen port
2021-12-14 11:07:29 +08:00
xiewenxiang
a7900f871f
components/bt: Fix high duty cycle directed advertising will not be stopped when timeout
2021-12-14 09:33:24 +08:00
xiewenxiang
d4cc192782
components/bt: Support low duty cycle directed advertising
2021-12-14 09:33:17 +08:00
Yang Zhao
f2d6cb7298
Add the feature that switch random address to origin mac addr in the ADV
...
report data.
2021-11-30 14:27:32 +08:00
Jiang Jiang Jian
0c77b89e13
Merge branch 'feature/add_coex_hci_command_v4.3' into 'release/v4.3'
...
Add hci command to set coexistence status (4.3)
See merge request espressif/esp-idf!16054
2021-11-25 08:02:14 +00:00
Jiang Jiang Jian
96b284bcd3
Merge branch 'bugfix/fix_static_check_error_mr_4.3' into 'release/v4.3'
...
Fix the high-impact issues from the code analysis report from customer.
See merge request espressif/esp-idf!16045
2021-11-23 06:36:23 +00:00
xiongweichao
8a9ca26d61
Add hci command to set coexistence status
2021-11-23 11:40:17 +08:00
“YangZhao”
911847e3ea
Fix the high-impact issues from the code analysis report from customer.
...
For the CID10564,10384,10280,10098,10038,The memory was released in other place.
For the CID10365,it release the memory in the function when sent successfully.
For the CID10268,10011, we need not change the code.
2021-11-22 19:46:14 +08:00
xiongweichao
97e728a9aa
Dereference null return value
2021-11-22 10:47:23 +08:00