Jiang Jiang Jian
33087e3f27
Merge branch 'component_bt/optimize_spp_stop_server_v4.0' into 'release/v4.0'
...
component_bt/Optimize SPP Stop Server API[backport v4.0]
See merge request espressif/esp-idf!12622
2021-03-22 12:59:10 +00:00
Jiang Jiang Jian
05e3e58ebb
Merge branch 'feature/add_init_and_deinit_evt_for_a2dp_4_0' into 'release/v4.0'
...
feature/ Add A2DP Init and Deinit Complete Evt [backport v4.0]
See merge request espressif/esp-idf!12152
2021-03-05 12:20:11 +00:00
Jiang Jiang Jian
3118147dc7
Merge branch 'bugfix/fix_a2dp_underrun_issue_4_0' into 'release/v4.0'
...
Fix A2DP Underrun Issue [backport v4.0]
See merge request espressif/esp-idf!12279
2021-03-05 12:17:53 +00:00
liqigan
75d4004ce6
add API esp_spp_stop_srv_scn
to stop a specific server
2021-03-04 15:46:10 +08:00
Chinmay Chhajed
3c7594f1ff
component/bt: Added check for NULL valued combination key.
2021-02-10 15:44:12 +05:30
Chinmay Chhajed
ce21340dc5
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 15:41:40 +05:30
Chinmay Chhajed
c98b72326e
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 15:41:31 +05:30
lly
dbe997ce1b
ble_mesh: stack: Fix deinit server models with no matching id
2021-02-07 11:18:49 +08:00
lly
d94289c83a
ble_mesh: stack: Fix mbedtls aes ctx not deallocated
2021-02-05 03:26:49 +00:00
lly
574958367f
ble_mesh: stack: Fix mbedtls aes ctx not initialized
2021-02-05 03:26:49 +00:00
weitianhua
ebe344f852
Fix A2DP Underrun Issue
2021-02-04 19:35:19 +08:00
weitianhua
1ae261dcdd
Add init & deinit event for a2dp
2021-01-26 10:54:15 +08:00
Island
38ea44faaf
Merge branch 'bugfix/ble_mesh_node_set_name_status_check_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Remove node set device name return status check (v4.0)
See merge request espressif/esp-idf!12082
2021-01-21 11:08:02 +08:00
Island
9f78bcc36d
Merge branch 'bugfix/ble_mesh_proxy_client_net_resend_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Fix proxy client may fail to resend msg (v4.0)
See merge request espressif/esp-idf!12080
2021-01-21 11:07:41 +08:00
lly
9d4abeb907
ble_mesh: stack: Remove node set device name return status check
2021-01-20 21:11:33 +08:00
lly
4c86bec0e9
ble_mesh: stack: Fix proxy client may fail to resend msg
2021-01-20 21:10:30 +08:00
lly
8737392af0
ble_mesh: stack: Use different random for each provisioning
2021-01-20 21:09:28 +08:00
Jiang Jiang Jian
a61ec41740
Merge branch 'bugfix/btdm_blufi_send_custom_data_will_congested_after_connection_is_broken_v4.0' into 'release/v4.0'
...
component/bt: fix Blufi sends customer data will congested when connection is broken(backport v4.0)
See merge request espressif/esp-idf!11849
2021-01-19 21:44:35 +08:00
lly
421f044eea
ble_mesh: stack: Fix compile warning when log is disabled
2021-01-19 14:05:25 +08:00
lly
f9152550d2
ble_mesh: stack: Add prefix BLE_MESH_ for log related macros
2021-01-19 14:05:25 +08:00
Island
ff7db0cdc4
Merge branch 'update/ble_mesh_set_hsl_states_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Enable updating lighting hsl state (v4.0)
See merge request espressif/esp-idf!12037
2021-01-18 19:10:26 +08:00
lly
7134ef67cf
ble_mesh: stack: Fix compile warning with BIT macro
2021-01-18 14:08:49 +08:00
lly
d42f39dcb4
ble_mesh: stack: Update mesh max conn macro when using bluedroid
2021-01-18 14:08:12 +08:00
lly
5c1e3eabc1
ble_mesh: stack: Enable updating lighting hsl state
2021-01-18 14:02:01 +08:00
Island
3a56233a4d
Merge branch 'bugfix/bluedroid_avoid_same_bdaddr_conn_v4.0' into 'release/v4.0'
...
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR. (v4.0)
See merge request espressif/esp-idf!11992
2021-01-18 14:01:19 +08:00
lly
4902b2745b
ble_mesh: stack: Fix using wrong | for OR between macros
2021-01-14 15:59:46 +08:00
Island
a47099b028
Merge branch 'feat/ble_mesh_support_ble_scan_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Add BLE scan callback when mesh is enabled (v4.0)
See merge request espressif/esp-idf!11965
2021-01-14 15:47:52 +08:00
Chinmay Chhajed
c4fe4dbf67
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR.
2021-01-14 12:23:04 +05:30
Jiang Jiang Jian
f2038b959a
Merge branch 'bugfix/fix_spp_vfs_dynamic_memory_bugs_v4.0' into 'release/v4.0'
...
component_bt/fix spp vfs demo crash when use dynamic memory[backport v4.0]
See merge request espressif/esp-idf!11729
2021-01-14 11:19:34 +08:00
lly
f9b53a909b
ble_mesh: stack: Support reporting normal ble adv packets
2021-01-12 19:15:36 +08:00
lly
34b5c1cf72
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).
2021-01-12 19:15:36 +08:00
lly
88b550ba75
ble_mesh: stack: Move ble scan funcitons to a single file
2021-01-12 19:15:35 +08:00
lly
d1553311a2
ble_mesh: stack: Optimize handling received mesh adv packets
2021-01-12 19:15:35 +08:00
lly
73dee43e55
ble_mesh: stack: Move bt_mesh_rand to mesh_common.c
2021-01-11 19:28:36 +08:00
lly
decd6956f3
ble_mesh: stack: Remove useless BT_DBG_ENABLED in a few files
2021-01-11 19:28:31 +08:00
lly
93991bda4a
ble_mesh: Replace zephyr integer types with C99 types [Zephyr]
2021-01-11 19:28:25 +08:00
lly
866b6b439c
ble_mesh: stack: Update ARRAY_SIZE definition
2021-01-11 19:27:55 +08:00
lly
8c883fd410
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-01-11 10:08:23 +08:00
lly
f0af8858da
ble_mesh: stack: Provisioner supports receiving heartbeat
2021-01-08 09:33:04 +08:00
lly
726225c5f3
ble_mesh: stack: Fix Node ID adv with wrong timeout
2021-01-05 20:15:16 +08:00
XieWenxiang
f81bdd933e
component/bt: fix Blufi sends customer data will congested when connection is broken
2020-12-31 15:54:09 +08:00
Chinmay Chhajed
b3d5ed3a03
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:01:47 +05:30
liqigan
d64a19b73c
fix spp vfs demo crash when use dynamic memory
2020-12-23 15:26:58 +08:00
baohongde
711184762b
components/bt: Fix waking up fail while sleeping
2020-12-22 21:28:44 +08:00
baohongde
998a1f9ebb
components/bt: Make sleep avaliable in hli(for future use)
2020-12-22 21:23:09 +08:00
wangcheng
b9f79249b8
components/bt: backport need commit to release/v4.0
2020-12-22 19:54:53 +08:00
wangcheng
0f4592eea0
components/bt: fixed memory damage caused by bluetooth memory release
2020-12-22 19:54:53 +08:00
weitianhua
ca66b50481
collection of bugfix backport for release/v4.0
2020-12-22 19:54:53 +08:00
wangcheng
e11820cd5b
components/bt: Fixed the problem of early release of pointer(p_ccb) in funcion
2020-12-22 19:54:53 +08:00
Jiang Jiang Jian
ef7aca1a66
Merge branch 'nimble/fix_misc_coverity_issue_v4.0' into 'release/v4.0'
...
Nimble: Fix misc issues in NimBLE NVS, `ble_eddystone`, recursive call and L2CAP CoC (v4.0)
See merge request espressif/esp-idf!11392
2020-12-22 15:01:25 +08:00