Commit Graph

1534 Commits

Author SHA1 Message Date
Yang Zhao
af8e81d18e 1.If the scan window set as 4 slots and the scan interval set as 5 slots,
then the device will crash when starting scanning.This commit is to fix this bug.
2.Remove duplicate events in r_lld_evt_end
2021-07-19 10:53:23 +08:00
Wang Meng Yang
26d8690525 Merge branch 'bugfix/ble_set_scan_param_error_v3.3' into 'release/v3.3'
Fix the bug when ble setting scan param

See merge request espressif/esp-idf!13980
2021-06-23 09:11:59 +00:00
wangjialiang
411abfd70f ble_mesh: stack: Fix crash for net_key_del when subnet is NULL 2021-06-21 14:57:17 +08:00
wangjialiang
84dd05439d ble_mesh: stack: Make unprovisioned beacon interval configurable.
Closes https://github.com/espressif/esp-idf/issues/6722
2021-06-21 14:55:10 +08:00
wangjialiang
35bbd1ba26 ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth Mesh Provisioning Leads to MITM 2021-06-17 17:21:01 +08:00
wangjialiang
78676e7a02 ble_mesh: stack: Add check the value of Provisioning Random & Confirmation sent and received by provisioner 2021-06-16 21:28:10 +08:00
Yang Zhao
77c7d3be1c bugfix:Set address resolution enable. If not set enable and the filter
policy is 2 or 3, the controller will reply with invalid param error.
2021-06-15 20:08:04 +08:00
lly
9590db4cb6 ble_mesh: stack: Move bt_mesh_rand to mesh_common.c 2021-06-10 09:52:26 +08:00
lly
b2bcbd5559 ble_mesh: stack: Remove useless BT_DBG_ENABLED in a few files 2021-06-10 09:52:09 +08:00
lly
94ca8b8917 ble_mesh: Replace zephyr integer types with C99 types [Zephyr] 2021-06-10 09:51:52 +08:00
lly
85ec75b970 ble_mesh: stack: Update ARRAY_SIZE definition 2021-06-10 09:50:27 +08:00
Island
cce139e5bd Merge branch 'bugfix/bt_impersonation_passkey_fix_v3.3' into 'release/v3.3'
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack. (v3.3)

See merge request espressif/esp-idf!13762
2021-06-07 06:41:48 +00:00
baohongde
bb824d7a4b bugfix/fix crash when lmp flooding 2021-06-02 17:34:45 +08:00
baohongde
62a4a0dcaf Delete the option BLE ADV priority high
Fix controller task watchdog in Wi-Fi test
2021-06-02 14:44:09 +08:00
gengyuchao
906dbd262e Backport: Fixed handling for invalid feature page. Add missing IRAM_ATTR in coex mode. 2021-06-02 11:55:42 +08:00
Yang Zhao
ea14555cf9 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 interrupt will never come.
2021-05-31 09:54:10 +00:00
Chinmay Chhajed
fb55f9f397 Bluedroid: Check only x component of passkey to avoid passkey impersonation attack. 2021-05-31 07:12:57 +00:00
Jiang Jiang Jian
61a1e0d5c9 Merge branch 'bugfix/generate_value_0_when_prov_auth_v3.3' into 'release/v3.3'
ble_mesh: stack: Fix provisioning input or output count number should be at least 1 (v3.3)

See merge request espressif/esp-idf!13483
2021-05-08 12:53:48 +00:00
wangjialiang
f24f7ab97b 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-08 13:19:03 +08:00
wangjialiang
e5f496149e ble_mesh: stack: Fix endianness error in output or input oob data of number
Closes https://github.com/espressif/esp-idf/issues/6862
2021-05-07 17:03:00 +08:00
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