Commit Graph

1514 Commits

Author SHA1 Message Date
xiongweichao
f11f52b72f modify E8192 ELx200 ELx40 log level to LOGD 2021-04-25 10:33:47 +00:00
Jiang Jiang Jian
13a069f276 Merge branch 'component_bt/optimize_spp_stop_server_v3.3' into 'release/v3.3'
component_bt/Optimize SPP Stop Server API[backport v3.3]

See merge request espressif/esp-idf!13164
2021-04-22 05:59:52 +00:00
Jiang Jiang Jian
aa8f1bef1e Merge branch 'bugfix/btdm_backport_ble_bugs_21_01_29_v3.3' into 'release/v3.3'
Bugfix/btdm backport ble bugs v3.3

See merge request espressif/esp-idf!12440
2021-04-22 05:59:38 +00:00
Jiang Jiang Jian
65b494567b Merge branch 'bugfix/ble_mesh_server_model_deinit_v3.3' into 'release/v3.3'
ble_mesh: stack: Fix deinit server models with no matching id (v3.3)

See merge request espressif/esp-idf!12317
2021-04-22 05:53:25 +00:00
Jiang Jiang Jian
22502bbd38 Merge branch 'bugfix/fix_tx_issue_after_esp_restart_v3.3' into 'release/v3.3'
components/bt: Shutdown Bluetooth before esp_restart.(V3.3)

See merge request espressif/esp-idf!11758
2021-04-22 05:52:18 +00:00
Jiang Jiang Jian
067f73d4ea Merge branch 'bugfix/btdm_assert_without_sw_coex_enable_v3.3' into 'release/v3.3'
components/bt: Fix assert without sw coexist enabled

See merge request espressif/esp-idf!12529
2021-04-22 05:51:39 +00:00
Jiang Jiang Jian
a943d21126 Merge branch 'feature/add_a2dp_init_deinit_comp_evt' into 'release/v3.3'
feature/ Add A2DP Init and Deinit Complete Evt [backport v3.3]

See merge request espressif/esp-idf!10151
2021-04-22 05:51:24 +00:00
Jiang Jiang Jian
eaa02c0ef8 Merge branch 'feat/ble_mesh_multiple_nvs_namespace_v3.3' into 'release/v3.3'
ble_mesh: stack: Provisioner supports multiple nvs namespaces (v3.3)

See merge request espressif/esp-idf!11950
2021-04-22 05:48:44 +00:00
Jiang Jiang Jian
5f03326833 Merge branch 'bugfix/fix_a2dp_underrun_issue_3_3' into 'release/v3.3'
Fix a2dp underrun issue [backport v3.3]

See merge request espressif/esp-idf!12280
2021-04-22 05:47:51 +00:00
liqigan
85be396cd3 add API esp_spp_stop_srv_scn to stop a specific server 2021-04-16 09:52:27 +08:00
Marius Vikhammer
9a338bc8c3 docs: fix doxygen compile warnings for doxygen 1.9.1
Newer versions of doxygen will give warnings for comments in
INPUT lists

Delete all comment lines to fix these warnings, our folder structure
stil gives an OK overview of what we are including
2021-04-12 08:43:57 +08:00
“YangZhao”
8eb75313d4 Fix the bug of modem sleep which may lead to the crash issue "assert(-218959118,0)" 2021-03-23 21:29:33 +08:00
baohongde
a10dac936c components/bt: Fix crash in Bluetooth when esp_restart 2021-03-05 21:54:47 +08:00
baohongde
2ad908f71e components/bt: Shutdown Bluetooth before esp_restart. 2021-03-05 21:54:20 +08:00
Jiang Jiang Jian
c8915cd157 Merge branch 'bugfix/fix_spp_can_not_connect_twice' into 'release/v3.3'
Bugfix/Fix SPP Reconnect Failed after Disconnet

See merge request espressif/esp-idf!12241
2021-03-04 03:37:21 +00:00
baohongde
716edebbbd components/bt: Fix assert without sw coexist enabled 2021-02-26 14:44:57 +08:00
zhiweijian
47c0ce6fca add connection parameter check 2021-02-22 15:14:32 +08:00
zhiweijian
c02d5a4d85 fix ble connection maximum latency is 499 2021-02-22 15:11:03 +08:00
zhiweijian
7ffe2c3136 disable bluedroid congest error log print 2021-02-22 14:58:59 +08:00
zhiweijian
208c2fb0fb fix read multi char failed(GATT_27001) 2021-02-22 14:56:10 +08:00
zhiweijian
1f4d3ac30a fix bluedroid repair faild if the two most significant bits of public address is '01' 2021-02-22 14:54:01 +08:00
zhiweijian
928e004208 fix ble read multi char err when the number of handles is more than 10 2021-02-22 14:51:33 +08:00
zhiweijian
db72885f15 fix scan rsp length err 2021-02-22 14:45:05 +08:00
Chinmay Chhajed
dcaaddae37 component/bt: Added check for NULL valued combination key. 2021-02-10 17:19:20 +05:30
Chinmay Chhajed
4936e8f86c Bluedroid: Do not initiate/accept connection with device having same BDADDR.
Added BD_ADDR comparison in l2cu_lcp_allocate and removed check from
security connection request handler as it's handled in l2cu_lcp_allocate
for both connection request and create connection.
2021-02-10 17:16:47 +05:30
Chinmay Chhajed
6a4e69f442 bt: removed esp_bt_get_mac()
There was no need for this function as there is already a way present to
fetch own mac address. Own mac addr can be fetched by calling
controller_get_interface().
2021-02-10 17:12:27 +05:30
lly
19a578c2e0 ble_mesh: stack: Fix deinit server models with no matching id 2021-02-07 11:20:44 +08:00
weitianhua
94e84e6c0c Fix audio underrun issue with oppo x20 2021-02-04 19:39:39 +08:00
lly
98e17de350 ble_mesh: stack: Provisioner supports multiple nvs namespaces
Now Provisioner can use different NVS namespaces to store
different instances of mesh information, for example, for
different user accounts.
2021-02-04 07:16:35 +00:00
liqigan
539718735b fix spp connect failed or discovery failed after the first connection release 2021-02-03 17:23:45 +08:00
weitianhua
33ad4b6f84 Add A2DP Init and Deinit Complete Evt 2021-01-26 11:15:35 +08:00
Chinmay Chhajed
092dc133cc Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR. 2021-01-14 14:32:58 +05:30
Jiang Jiang Jian
cd59d107b2 Merge branch 'bugfix/ble_mesh_node_id_adv_v3.3' into 'release/v3.3'
ble_mesh: stack: Fix Node ID adv with wrong timeout (v3.3)

See merge request espressif/esp-idf!11880
2021-01-11 11:46:41 +08:00
Jiang Jiang Jian
66a1b39814 Merge branch 'bugfix/add_macro_to_blufi' into 'release/v3.3'
component/bt: Add a macro to control the compilation of blufi.(backport v3.3)

See merge request espressif/esp-idf!11891
2021-01-11 11:45:14 +08:00
lly
e9caf68d6e ble_mesh: stack: Provisioner supports receiving heartbeat 2021-01-08 09:35:03 +08:00
wangcheng
e9d28837ec component/bt: Add a macro to control the compilation of blufi. 2021-01-06 18:04:30 +08:00
lly
6c6ad3f772 ble_mesh: stack: Fix Node ID adv with wrong timeout 2021-01-05 20:16:42 +08:00
XieWenxiang
d8b42e565c component/bt: fix Blufi sends data after disconnect the seq still increase(backport v3.3) 2021-01-05 01:53:33 +00:00
Jiang Jiang Jian
f3aaa39c43 Merge branch 'bugfix/btdm_blufi_send_longer_custom_data_will_congested_v3.3' into 'release/v3.3'
component/bt: fix Blufi sends longer customer data will will lead congested(backport v3.3)

See merge request espressif/esp-idf!11724
2021-01-05 09:51:39 +08:00
Chinmay Chhajed
0b84a1242e Bluedroid: Fixes for some vulnerabilities.
This commit fixes 'Impersonation in Passkey entry protocol'
(CVE-2020-26558) and suggests fixes for other vulnerabilites like
'Impersonation in the Pin Pairing Protocol' (CVE-2020-26555) and
'Authentication of the LE Legacy Pairing Protocol'

CVE-2020-26558 can be easily implemented if the peer device can
impersonate our public key. This commit adds a check by comparing our
and received public key and returns failed pairing if keys are same.

This commit also adds comments suggesting to use secure connection when
supported by all devices.
2020-12-25 16:03:33 +05:30
XieWenxiang
b0719d3fc6 component/bt: fix Blufi sends longer customer data will will lead congested 2020-12-24 09:37:35 +08:00
liqigan
46fa26b56f fix spp vfs demo crash when use dynamic memory 2020-12-23 14:44:48 +08:00
Jiang Jiang Jian
896180ec73 Merge branch 'bugfix/collection_bugfix_backport_for_3_3' into 'release/v3.3'
Bugfix/collection bugfix backport for 3 3

See merge request espressif/esp-idf!11708
2020-12-23 11:23:14 +08:00
wangcheng
929ad413cb component/bt: Fix a potential double free error. 2020-12-22 19:09:15 +08:00
weitianhua
282d234ea5 components/bt: Fixed the problem of early release of pointer(p_ccb) in funcion 2020-12-22 15:12:55 +08:00
weitianhua
86de405578 Collection of bugfix backport for release/v3.3 2020-12-22 15:08:59 +08:00
Xia Xiaotian
3cf6f36765 esp_wifi: decouple Wi-Fi and bluetooth with coexist to reduce binary file size 2020-12-17 14:21:59 +08:00
Jiang Jiang Jian
c2f5fc0c88 Merge branch 'optimize/ble_mesh_provision_dev_uuid_check_v3.3' into 'release/v3.3'
ble_mesh: stack: Need uuid when adding device for provisioning (v3.3)

See merge request espressif/esp-idf!11582
2020-12-12 17:57:37 +08:00
lly
bff66d7653 ble_mesh: stack: Need uuid when adding device for provisioning 2020-12-11 20:10:57 +08:00
baohongde
a36ed1c60b components/bt: insert the llcp packet to the top of the tx_prog linked list 2020-12-11 11:28:12 +08:00