Commit Graph

2070 Commits

Author SHA1 Message Date
wangmengyang
a024de7cac component/bt: fixed the assert in checking hardware sleep state during wake-up
The hardware sleep state change can take some time after wake-up interrupt. Use busy waiting instead of directly assert
2021-06-24 10:35:40 +08:00
wangmengyang
aff1696c4e components/bt: fixed two bugs
1. Use correct addresses of Bluetooth Low Power Clock registers on Chip 7.2.8 ESP32-S3
2. Disabled CS-RXDONEMSK to avoid RX interrupt flooding during scan event in coexistence scenario
2021-06-23 07:06:28 +08:00
Wang Meng Yang
d685e85ff4 Merge branch 'bugfix/spp_connect_20_fail' into 'master'
component_bt: fix spp acceptor deadlock

Closes IDFGH-5172

See merge request espressif/esp-idf!13940
2021-06-22 12:21:10 +00:00
Wang Meng Yang
9ee25986a8 Merge branch 'bugfix/fix_a2dp_sink_blocked' into 'master'
Bugfix/Fix a2dp Sink Blocked Bugs

Closes IDFGH-4920, IDFGH-5348, and BT-1740

See merge request espressif/esp-idf!12776
2021-06-22 11:33:31 +00:00
xiongweichao
96aff16dd3 fix spp acceptor deadlock
Closes: https://github.com/espressif/esp-idf/issues/6948
2021-06-22 15:05:27 +08:00
liqigan
fd83938f39 fix a2dp sink RxSbcQ bugs
Closes https://github.com/espressif/esp-idf/issues/6712
Closes https://github.com/espressif/esp-idf/issues/7100
2021-06-21 20:02:36 +08:00
sushant.chougule
8f7ed33ba3 bt/component: Fix MIC error issue during start_encryption procedure in esp32c3 ble controller 2021-06-21 17:03:02 +05:30
Island
cdad1eaa9c Merge branch 'feat/ble_mesh_make_unprov_beacon_interval_configurable' into 'master'
ble_mesh: stack: Make unprovisioned beacon interval configurable

Closes IDFGH-4930

See merge request espressif/esp-idf!12811
2021-06-18 11:57:45 +00:00
Wang Meng Yang
e245d4c9cd Merge branch 'bugfix/bta_hf_client_co_cb_ptr_macro' into 'master'
bugfix/bta_hf_client_co_cb_ptr requires HFP_DYNAMIC_MEMORY macro to be used

See merge request espressif/esp-idf!12335
2021-06-18 09:03:33 +00:00
wangjialiang
fbacede604 ble_mesh: stack: Fix crash for net_key_del when subnet is NULL 2021-06-18 11:52:00 +08:00
wangjialiang
7bfae982e4 ble_mesh: stack: Make unprovisioned beacon interval configurable.
Closes https://github.com/espressif/esp-idf/issues/6722
2021-06-18 11:52:00 +08:00
wangjialiang
d4232ee8f9 ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth Mesh Provisioning Leads to MITM 2021-06-17 17:05:01 +08:00
Wang Meng Yang
0ee043a8a7 Merge branch 'bugfix/active_ext_scan_performance_in_coex' into 'master'
bugfix/active_ext_scan_performance_in_coex

See merge request espressif/esp-idf!13543
2021-06-17 01:32:16 +00:00
wangjialiang
48979803e8 ble_mesh: stack: Add check the value of Provisioning Random & Confirmation sent and received by provisioner 2021-06-09 03:24:35 +00:00
xiewenxiang
96811de932 component/bt: fix enable gattc nvs cache lead to crash 2021-06-07 17:28:12 +08:00
wangmengyang
775465c140 components/bt: fixed performance issue for extended active scan in coexistence scenario: use the same priority for Rx of AUX_ADV_IND and AUX_SCAN_RSP 2021-06-07 11:31:15 +08:00
Jiang Jiang Jian
5cbea220b0 Merge branch 'feature/decouple_esp_phy' into 'master'
esp_phy: decouple esp_phy component from esp_wifi and bt

See merge request espressif/esp-idf!13742
2021-06-04 05:20:17 +00:00
Shu Chen
6061a547e5 esp_phy: decouple esp_phy component from esp_wifi and bt
* add esp-phy-lib submodule
* move libphy.a and phy_init.c from esp_wifi to esp_phy
* move librtc.a from esp_wifi to esp_phy
* move libbtbb.a from bt to esp_phy
* corresponding updates to build system
2021-06-03 16:17:31 +08:00
Angus Gratton
dc6b950257 doc: Add performance guides for execuion speed, binary size, RAM usage
Closes https://github.com/espressif/esp-idf/issues/7007
Closes https://github.com/espressif/esp-idf/issues/6715
Closes https://github.com/espressif/esp-idf/issues/3781
Closes https://github.com/espressif/esp-idf/issues/2566
2021-06-03 13:55:34 +10:00
zhiweijian
a85890dd9d Fixed ANON_ADV address error 2021-06-01 11:43:40 +08:00
Chinmay Chhajed
b75e034b3c Bluedroid: Check only x component of passkey to avoid passkey impersonation attack. 2021-05-28 14:28:54 +05:30
zwj
8919322c76 Fixed BLE reconnect failed when using rpa public address 2021-05-27 14:08:47 +08:00
liaowenhao
6bd7f30199 bugfix/fix crash when lmp flooding 2021-05-24 12:08:03 +08:00
Jiang Jiang Jian
da988bed0f Merge branch 'bugfix/btdm_delete_adv_priority_high' into 'master'
components/bt: Delete BLE ADV priority high

Closes BT-1573

See merge request espressif/esp-idf!13054
2021-05-24 03:58:32 +00:00
Mahavir Jain
f339506324 bt: use generic SPIRAM config option for memory alloc policy 2021-05-17 10:43:42 +00:00
baohongde
721a0c3415 components/bt: Delete BLE ADV priority high 2021-05-17 17:07:14 +08:00
Prasad Alatkar
03634ea64b NimBLE: Update NimBLE submodule to reattempt conn and to fix vulnerability
* Add workaround to overcome connection establishment failure error.

* Fix vulnerability during public key exchange in secure connection
2021-05-13 19:10:19 +05:30
Jiang Jiang Jian
95dfdf7680 Merge branch 'nimble/fix_broadcaster_role' into 'master'
NimBLE: Add custom logging support, fix build error for broadcaster role, NVS peer_dev_records fix

See merge request espressif/esp-idf!13204
2021-05-13 10:01:12 +00:00
Prasad Alatkar
3dfcaee9bd NimBLE: Add custom logging support and fix build error for broadcaster role
* Fix bug in nvs deletion of `ble_dev_record`.
2021-05-13 18:01:01 +08:00
Jiang Jiang Jian
71325aaa46 Merge branch 'bugfix/invalid_feat_page_exec' into 'master'
bt controller: Fixed handling for invalid feature page.

See merge request espressif/esp-idf!13292
2021-05-13 09:02:42 +00:00
Jiang Jiang Jian
7b2f2c2a86 Merge branch 'bugfix/ag_use_dynamic_memory_error' into 'master'
Fix ag use dynamic memory error

Closes BT-1574

See merge request espressif/esp-idf!13094
2021-05-13 07:56:45 +00:00
Chinmay Chhajed
ce4743d9d3 bt controller: Fixed handling for invalid feature page. 2021-05-11 09:00:37 +00:00
zwj
22f429f5bc fix C3/S3 ble multi-connection failed when device acts as master and slave 2021-05-10 21:06:44 +08:00
xiongweichao
d38a91ee95 Remove btc_hf_idx_by_bdaddr in both btc_hf_init and btc_hf_deinit functions 2021-05-10 11:11:02 +08:00
xiongweichao
be6b25b9d9 fix ag use dynamic memory error 2021-05-10 10:56:46 +08:00
wangjialiang
a5e12d9b63 ble_mesh: stack: Fix provisioning input or output count number should be at least 1
Closes https://github.com/espressif/esp-idf/issues/6863
2021-05-06 06:49:04 +00:00
wangmengyang
59c0825ed8 Added example(ESP32-C3), to use Bluetooth Controller through HCI UART transport 2021-04-30 15:25:10 +00:00
wangmengyang
666a73d79c components/bt: bug-fixes in BLE controller and BLE baseband
1. Removed the interrupt lock operation during controller enable/disable/reset, to avoid trigger interrupt watchdog time-out due to use of mutex/semaphore in coex_st_set

2. update libbtbb.a to fix the Rx performance issue for CODED PHY, especially in coexistence scenario
2021-04-28 12:05:49 +00:00
wangmengyang
d2324c162a components/bt: Minor fix for the range of GATTC number of reconnections. 2021-04-28 12:05:49 +00:00
zwj
3c06fea8a1 fix esp32c3 and esp32s3 ble disconnect due to connection paramters update 2021-04-25 20:18:21 +08:00
wangmengyang
d703424ef7 component/bt: add another bt-lib submodule and refactor the directories 2021-04-22 07:41:46 +08:00
wangmengyang
b81c687327 remove original esp32-bt-lib submodule 2021-04-21 19:51:32 +08:00
“YangZhao”
1def09cc99 bugfix: Fix the issue that the controller do not report the timeout
disconnect event. This issue is caused by modem sleep.The sleep interrupt
will come the second time before the CLKN interrupt. If we disable the sleep
interrupt when it comes in the first time, the CLKN will never come.
2021-04-21 14:49:44 +08:00
Wang Meng Yang
c94916de8f Merge branch 'bugfix/optimize_c3_multi_con_and_add_connection_retry' into 'master'
optimize c3 multi con and add connection retry

See merge request espressif/esp-idf!12983
2021-04-20 14:48:11 +00:00
Island
3e05abe7bb Merge branch 'bugfix/endianness_in_output_or_input_oob' into 'master'
ble_mesh: stack: Fix endianness error in output or input oob data of number

See merge request espressif/esp-idf!13160
2021-04-20 13:09:01 +00:00
wangjialiang
dd0fbb2f5e ble_mesh: stack: Fix endianness error in output or input oob data of number
Closes https://github.com/espressif/esp-idf/issues/6862
2021-04-20 06:25:52 +00:00
Prasad Alatkar
7d4cfb6d53 NimBLE: Add max connection config option for ESP32C3 2021-04-20 02:41:58 +00:00
zwj
58cd231895 optimize C3 and s3 multi-connection 2021-04-20 02:41:14 +00:00
zwj
077722696a add option to enable multi-connection 2021-04-20 02:41:14 +00:00
zwj
6fff69390e update con state when getting connection cancle complete 2021-04-20 02:41:14 +00:00