Commit Graph

1829 Commits

Author SHA1 Message Date
wangjialiang
bbaf8c5277 ble_mesh: stack: Fix crash for net_key_del when subnet is NULL 2021-07-22 11:40:22 +08:00
wangjialiang
d6b0a84b5d ble_mesh: stack: Make unprovisioned beacon interval configurable.
Closes https://github.com/espressif/esp-idf/issues/6722
2021-07-22 11:40:22 +08:00
Zim Kalinowski
ba059149aa Merge branch 'bugfix/a2dp_deint_crash_v4.0' into 'release/v4.0'
component_bt: fix a2dp deinit crash(v4.0)

See merge request espressif/esp-idf!14419
2021-07-21 05:32:36 +00:00
xiongweichao
573b660797 Not initialized or in the process of de-initialization, calling API will return ERR 2021-07-19 20:22:22 +08:00
xiongweichao
d7fb0c1f07 fix a2dp deinit crash 2021-07-19 20:22:14 +08:00
xiongweichao
d21da1f61a Add remove sniff when peer not accepted sniff mode 2021-07-16 20:21:50 +08:00
Yang Zhao
75b387d7e7 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.Remove duplicate events in r_lld_evt_end
2021-07-16 20:14:32 +08:00
Yang Zhao
5abd645cce 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-07-16 20:11:53 +08:00
Chinmay Chhajed
27e5498524 bt/controller: Fix for BLE ACL tx flush issue during reset. 2021-07-16 20:06:17 +08:00
Prasad Alatkar
817de5bee1 NimBLE: Fix build error for broadcaster role and bug in peer_dev_record (v4.0)
* Fix bug in nvs deletion of `ble_dev_record`.
* Update NimBLE submodule to nimble-1.1.0-idf
2021-07-13 13:56:03 +08:00
Wang Meng Yang
4a181c7872 Merge branch 'bugfix/invalid_feat_page_exec_v4.0' into 'release/v4.0'
bt controller: Fixed handling for invalid feature page. (v4.0)

See merge request espressif/esp-idf!13574
2021-07-02 13:01:33 +00:00
Wang Meng Yang
06ee358a09 Merge branch 'bugfix/fix_data_length_callback_param_err_v4.0' into 'release/v4.0'
Fixed data length update callback parameters error (back port v4.0)

See merge request espressif/esp-idf!14183
2021-07-02 12:16:31 +00:00
zwj
16e5b25c98 - fix data length update failed
- fix no callback when the value being used is the same as the value to be set
2021-06-29 14:16:03 +08:00
xiongweichao
8a45db1a7a fix spp acceptor deadlock 2021-06-23 11:12:59 +08:00
wangjialiang
6ba3ae339b ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth Mesh Provisioning Leads to MITM 2021-06-17 16:53:07 +08:00
wangjialiang
f9b2bba5a4 ble_mesh: stack: Add check the value of Provisioning Random & Confirmation sent and received by provisioner 2021-06-16 21:28:52 +08:00
Island
577aef29ad Merge branch 'bugfix/btdm_enable_gattc_cache_will_crash_v4.0' into 'release/v4.0'
component/bt: fix enable gattc nvs cache lead to crash

See merge request espressif/esp-idf!13916
2021-06-10 02:56:25 +00:00
Chinmay Chhajed
e42479e129 Bluedroid: Check only x component of passkey to avoid passkey impersonation attack. 2021-06-08 10:09:21 +05:30
xiewenxiang
3892a92d80 component/bt: fix enable gattc nvs cache lead to crash 2021-06-07 18:03:19 +08:00
liaowenhao
ac190b6a01 bugfix/fix crash when lmp flooding 2021-06-02 17:25:45 +08:00
baohongde
cff9332ddd components/bt: Delete BLE ADV priority high 2021-06-02 11:35:56 +08:00
Prasad Alatkar
fc9f2e8782 NimBLE: Fix MITM vulnerability and free AES context (v4.0) 2021-05-25 14:57:37 +05:30
Chinmay Chhajed
805f30fda9 bt controller: Fixed handling for invalid feature page. 2021-05-25 05:09:36 +00:00
Prasad Alatkar
e123d89625 NimBLE: Update submodule to fix host flow control bugs. 2021-05-18 19:01:28 +05:30
Prasad Alatkar
b57b6f1adb NimBLE: Fix host flow control in NimBLE porting layer.
- Register `ble_hs_flow_acl_free` callback in NimBLE porting layer.
2021-05-17 20:01:17 +05:30
Jiang Jiang Jian
b89b1ec022 Merge branch 'bugfix/ble_timeout_disconnected_no_report_v4.0' into 'release/v4.0'
Fix the issue that the controller do not report the timeout disconnect event

See merge request espressif/esp-idf!13468
2021-05-10 03:03:58 +00:00
Jiang Jiang Jian
763aa66036 Merge branch 'bugfix/generate_value_0_when_prov_auth_v4.0' into 'release/v4.0'
ble_mesh: stack: Fix provisioning input or output count number should be at least 1 (v4.0)

See merge request espressif/esp-idf!13482
2021-05-08 12:54:53 +00:00
Jiang Jiang Jian
9ee19a35b8 Merge branch 'bugfix/spp_data_send_delay_v4.0' into 'release/v4.0'
Bugfix/spp data send delay v4.0

See merge request espressif/esp-idf!11774
2021-05-08 09:47:23 +00:00
Jiang Jiang Jian
3907e8a067 Merge branch 'bugfix/bta_hf_client_sco_co_out_data_v4.0' into 'release/v4.0'
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected [backport v4.0]

See merge request espressif/esp-idf!12558
2021-05-08 07:28:38 +00:00
baohongde
09e665770f components/bt: Add API to config QoS 2021-05-08 06:05:50 +00:00
baohongde
e1c9aafd46 components/bt: Add QOS for SPP, to decrease the delay from slave to master 2021-05-08 06:05:50 +00:00
wangjialiang
6826f9dbba 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:13:58 +08:00
zwj
eb9841e769 update con state when getting connection cancle complete 2021-05-08 03:42:02 +00:00
zwj
84df41cdf0 fix multi-connection pair failed 2021-05-08 03:42:02 +00:00
liaowenhao
acbcf13ee5 bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected 2021-05-07 23:23:38 +00:00
wangjialiang
c0a397e0a2 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 13:32:20 +00:00
Yang Zhao
269e903f8c 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-05-07 20:29:32 +08:00
XieWenxiang
1d1368858c component/bt: Modify some ambiguous descriptions (release v4.0) 2021-05-07 08:08:39 +00:00
Jiang Jiang Jian
b2bcb609ad Merge branch 'nimble/add_error_prints_acl_buf_v4.0' into 'release/v4.0'
NimBLE: Add error prints for ACL buffer exhaustion in NPL (v4.0)

See merge request espressif/esp-idf!12971
2021-04-22 06:04:33 +00:00
zwj
911ce08722 add connection parameter check 2021-04-21 12:21:57 +00:00
zwj
f637a0792d fix ble connection maximum latency is 499 2021-04-21 12:21:57 +00:00
zwj
d0b8d53410 disable bluedroid congest error log print 2021-04-21 12:21:57 +00:00
zhiweijian
722035b846 fix read multi char failed(GATT_27001) 2021-04-21 12:21:57 +00:00
zhiweijian
fcf36466cd fix add white list failed 2021-04-21 12:21:57 +00:00
zwj
47e5793c73 fix bluedroid repair faild if the two most significant bits of public address is '01' 2021-04-21 12:21:57 +00:00
zwj
d321ee69d5 - fix congest return value
- fix system no rsp when doing disconnect
- fix no congest event when ssc do writing performance
2021-04-21 12:21:57 +00:00
zwj
e0362061a5 fix ble read multi char err when the number of handles is more than 10 2021-04-21 12:21:57 +00:00
zwj
0776318c56 fix scan rsp length err 2021-04-21 12:21:57 +00:00
zwj
712feb1e81 fix vendor hci memory leak 2021-04-21 12:21:57 +00:00
Marius Vikhammer
531cab5fc4 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:44:04 +08:00