Jiang Jiang Jian
e784469966
Merge branch 'bugfix/spp_data_send_delay' into 'master'
...
Add API to config QoS
See merge request espressif/esp-idf!9493
2021-01-05 10:32:51 +08:00
Bao Hong De
64d30fa6c4
Add API to config QoS
2021-01-05 10:32:47 +08:00
Angus Gratton
db4fb49432
esp_common: Fix issue with SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY not visible on c3
...
Create a common symbol name to use from linker.lf fragments
2020-12-31 15:20:05 +11:00
Chinmay Chhajed
d73ebb570b
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-24 10:52:12 +00:00
Jiang Jiang Jian
52e66cb143
Merge branch 'bugfix/fix_spp_vfs_dynamic_memory_bugs' into 'master'
...
component_bt/fix spp vfs demo crash when use dynamic memory
See merge request espressif/esp-idf!11502
2020-12-23 12:36:44 +08:00
lly
ac93a38990
ble_mesh: stack: Support reporting normal ble adv packets
2020-12-21 09:08:25 +00:00
lly
a6ebe48e6e
ble_mesh: stack: Add a btc file for ble coex functions
...
Previously if starting/stopping BLE advertising when BLE Mesh
is enabled, the corresponding events will be notified through
the callback registered by esp_ble_mesh_register_prov_callback().
With this commit, the func esp_ble_mesh_register_ble_callback()
needs to be invoked for resgitering the callback used for BLE
coexistence related functionalities (i.e. ADV/SCAN).
2020-12-21 09:08:25 +00:00
lly
1bb3f693d5
ble_mesh: stack: Move ble scan funcitons to a single file
2020-12-21 09:08:25 +00:00
lly
9be0120d94
ble_mesh: stack: Optimize handling received mesh adv packets
2020-12-21 09:08:25 +00:00
gengyuchao
247484c454
bugfix: clear the timer after remote reject when respond the parameters update
2020-12-17 22:19:44 +08:00
wangcheng
386a8e37f1
components/bt:fix exl200, add btdm_disable_adv_delay, fix RPA addr update error.
2020-12-17 10:57:54 +08:00
wangcheng
cc7dbc6177
components/bt: Fixed the problem of early release of pointer(p_ccb) in funcion
2020-12-17 10:54:56 +08:00
Wei Tian Hua
6b7c878581
Free ACL RX Buf in EM when disconnection
2020-12-16 18:02:39 +08:00
liqigan
478cef9b75
fix spp vfs demo crash when use dynamic memory
2020-12-09 19:46:43 +08:00
lly
fb531815b0
ble_mesh: stack: Move bt_mesh_rand to mesh_common.c
2020-12-08 15:13:04 +08:00
lly
19c3f38b36
ble_mesh: stack: Remove useless BT_DBG_ENABLED in a few files
2020-12-08 15:13:04 +08:00
lly
b77563abb0
ble_mesh: Replace zephyr integer types with C99 types [Zephyr]
2020-12-08 15:13:04 +08:00
lly
162e11cff3
ble_mesh: stack: Update ARRAY_SIZE definition
2020-12-08 15:13:04 +08:00
Island
4f082154e0
Merge branch 'feat/ble_mesh_multiple_nvs_namespace' into 'master'
...
ble_mesh: stack: Provisioner supports multiple nvs namespaces
Closes BLEMESH-260
See merge request espressif/esp-idf!11355
2020-12-07 14:43:04 +08:00
lly
a90e3cdf95
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.
2020-12-04 20:31:25 +08:00
Sachin Parekh
be5563207d
esp32: Provision to redirect .bss to external ram through linker fragments
...
Include external ram section in the linker template to process it
through linker script generation mechanism. This enables redirection of .bss section to external memory using linker fragments
libnet80211, libpp, libbt, liblwip: Redirect .bss through fragments
2020-12-04 06:32:38 +00:00
xiewenxiang
945606b658
component/bt: support BLE Read Attribute value by UUID
2020-12-02 20:04:36 +08:00
xiewenxiang
7e5e0ba7de
component/bt: refactor ble random address setting
2020-12-02 09:08:31 +08:00
XieWenxiang
e840191a0c
component/bt: support BLE Application Layer Encryption key size check
2020-12-02 09:08:03 +08:00
XieWenxiang
366b036ba5
component/bt: support BLE Authorization
2020-12-02 09:07:24 +08:00
xiewenxiang
3d8eb26fe1
component/bt: fix incorrect encryption flag setting
2020-12-02 09:06:44 +08:00
Artem Godlevskyi
3caa9699ae
Added missing MYNEWT_VAL_BLE_L2CAP_COC_MPS definition
...
Signed-off-by: Prasad Alatkar <prasad.alatkar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5825
2020-11-27 11:50:03 +00:00
Prasad Alatkar
922a994896
NimBLE: Fix misc coverity issues in NimBLE host
...
- NimBLE NVS : Additional check to account for NVS operation failure
- NimBLE host: Fix minor bug in ble_eddystone_set_adv_data_gen
- NimBLE host: remove recursive call, upstream PR: https://github.com/apache/mynewt-nimble/pull/857
2020-11-27 11:50:03 +00:00
Jiang Jiang Jian
079247b42a
Merge branch 'bugfix/blufi_config_potential_double_free' into 'master'
...
Bugfix/blufi config potential double free
Closes BCI-249, BCI-241, BCI-244, and BT-1174
See merge request espressif/esp-idf!9980
2020-11-27 13:44:37 +08:00
Jiang Jiang Jian
4985310b29
Merge branch 'bugfix/fix_crash_of_divide_zero' into 'master'
...
Fix crash caused by dividing zero
Closes AUD-2450
See merge request espressif/esp-idf!11100
2020-11-27 12:01:13 +08:00
lly
992ceca71b
ble_mesh: stack: Need uuid when adding device for provisioning
2020-11-25 20:51:23 +08:00
wangcheng
d1bf93e055
component/bt: Add a macro to control the compilation of blufi.
2020-11-24 10:43:18 +08:00
wangcheng
714d88e426
component/bt: Fix a potential double free error.
2020-11-24 10:22:40 +08:00
wangcheng
709ad66d44
blufi: fix an error caused by incorrect conn_id parameters.
2020-11-24 10:22:32 +08:00
lly
db4b87a771
ble_mesh: stack: Provisioner supports receiving heartbeat
2020-11-23 01:28:28 +00:00
weitianhua
56f0978caa
Add protection for interval_min when it comes to zero
2020-11-19 11:05:40 +08:00
lly
2e13e618b5
ble_mesh: stack: Update connection interval to 15ms
2020-11-17 11:58:23 +00:00
lly
6169636769
ble_mesh: stack: Update connection parameters used by Central
2020-11-17 11:58:23 +00:00
Angus Gratton
66fb5a29bb
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
Angus Gratton
e82eac4354
cmake: Apply cmakelint fixes
2020-11-11 07:36:35 +00:00
Jiang Jiang Jian
5f49ad24a9
Merge branch 'bugfix/fix_assert_in_passkey_reply' into 'master'
...
Bugfix/fix assert in passkey reply
Closes BT-1090
See merge request espressif/esp-idf!10962
2020-11-11 11:35:35 +08:00
Jiang Jiang Jian
b9ca112d56
Merge branch 'bugfix/fix_crash_caused_by_calling_deinit_directly' into 'master'
...
Fix crash caused by calling a2dp_deinit directly
Closes BT-1129
See merge request espressif/esp-idf!11129
2020-11-11 11:35:03 +08:00
Island
a885a13582
Merge branch 'bugfix/ble_mesh_wrong_func_declaration' into 'master'
...
ble_mesh: stack: Fix wrong declaration of node bind AppKey func
See merge request espressif/esp-idf!11175
2020-11-11 10:59:57 +08:00
weitianhua
ed2654bdf3
Remove dummy assert when receive passkey requst
2020-11-10 15:58:24 +08:00
weitianhua
08eace5a26
Fix crash cause by calling a2dp deinit when connected
2020-11-10 07:25:57 +00:00
lly
e543dc9a3b
ble_mesh: stack: Fix wrong declaration of node bind AppKey func
2020-11-10 14:05:19 +08:00
gengyuchao
5aecf71021
Fix two bugs:
...
1.Fix supervision timeout in LLC DISC busy statue can not disconnect issue.
2.Solve the problem that the ble terminate ack packet may lose with a high probability in coex mode.
2020-11-10 03:02:57 +00:00
wangcheng
e5af56db41
components/bt: fix hci timeout, add timer to monitor scan evt.
2020-11-06 14:04:17 +08:00
Jiang Jiang Jian
a88989fee8
Merge branch 'bugfix/fix_clkn_overflow_issue' into 'master'
...
Fix BT controller dead issue caused by clk overflow
See merge request espressif/esp-idf!11012
2020-11-05 23:08:46 +08:00
lly
549dc2a411
ble_mesh: stack: Add node local netkey/appkey func
2020-11-04 03:25:02 +00:00