Jiang Jiang Jian
f84ddd983d
Merge branch 'feature/bt_secure_conn_downgrade_check' into 'master'
...
Bluedroid: Authentication fixes in Legacy and Secure Connection.
Closes BLE-60
See merge request espressif/esp-idf!8541
2020-06-30 11:24:55 +08:00
Chinmay Chhajed
e3350e7861
Bluedroid: Authentication fixes in Legacy and Secure Connection.
...
Prevent a remote device from doing a Bluetooth Impersonation Attack
(BIAS) by:
- Preventing remote device to downgrade secure connection
feature mask. Secure connection feature mask should remain same or
increase to enabled in link key generation and authentication.
- Doing a mutual authentication during Legacy Authentication.
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-06-25 15:37:01 +05:30
lly
973f2481ec
ble_mesh: ci: Fix failing to compile when using make
2020-06-24 09:43:33 +08:00
Island
3266511582
Merge branch 'bugfix/ble_mesh_split_tinycrypt' into 'master'
...
Bugfix/ble mesh split tinycrypt
See merge request espressif/esp-idf!9098
2020-06-23 19:07:31 +08:00
Island
07b15b0d36
Merge branch 'bugfix/ble_mesh_get_node_with_name' into 'master'
...
ble_mesh: Get node info with pre-configured node name
Closes BMCI-88
See merge request espressif/esp-idf!9089
2020-06-23 19:04:06 +08:00
Island
33282d9c94
Merge branch 'bugfix/ble_mesh_check_subnet_before_update_beacon_sent' into 'master'
...
ble_mesh: Check if subnet exists before updating beacon_sent
Closes BLEMESH-198
See merge request espressif/esp-idf!8709
2020-06-23 19:03:50 +08:00
Island
1420b6dd89
Merge branch 'bugfix/ble_mesh_bt_hex' into 'master'
...
ble_mesh: Fix wrong log output with bt_hex
See merge request espressif/esp-idf!9119
2020-06-23 19:02:58 +08:00
Island
371d590ca7
Merge branch 'bugfix/ble_mesh_not_define_bool' into 'master'
...
Bugfix/ble mesh not define bool
Closes IDFGH-3078 and BMCI-71
See merge request espressif/esp-idf!9135
2020-06-23 19:02:05 +08:00
Island
b73101d436
Merge branch 'bugfix/ble_mesh_check_model_status' into 'master'
...
ble_mesh: stack: Check model status with variable length
See merge request espressif/esp-idf!9257
2020-06-23 19:01:52 +08:00
lly
9e293b2e1f
ble_mesh: Mark platform related default RNG as 0
2020-06-23 06:19:08 +00:00
lly
763f3ace61
ble_mesh: Remove the previously added redundant aes files
2020-06-23 06:19:08 +00:00
lly
d08425fdd1
ble_mesh: Update CMake and make files for tinycrypt
2020-06-23 06:19:08 +00:00
lly
eecf9cc595
ble_mesh: Update tinycrypt header file include guards
...
Add BLE_MESH in the macro to make it specific for BLE Mesh.
2020-06-23 06:19:08 +00:00
lly
eb7b2b5ae0
ble_mesh: Format source and header files of tinycrypt
2020-06-23 06:19:08 +00:00
lly
ff7f088ebb
ble_mesh: Port full implementation of tinycrypt [Zephyr]
...
- Original code is here: https://github.com/zephyrproject-rtos/tinycrypt
- Also this fixes the compile error when NimBLE and ESP BLE Mesh
both uses the tinycrypt.
2020-06-23 06:19:08 +00:00
lly
4ae7efb4c0
ble_mesh: Get node info with pre-configured node name
...
Also add a function to get the entry of the nodes table.
Closes https://github.com/espressif/esp-idf/issues/5397
2020-06-20 05:47:19 +00:00
lly
8bfccba598
ble_mesh: Check if subnet exists before updating beacon_sent
...
- Before updating the "beacon_sent" of a subnet, we need to check
if the subnet still exists, especially for a Provisioner.
- Fix a bug which will cause Provisioner failed to send Secure
Network Beacon if no device is provisioned
2020-06-20 05:32:13 +00:00
lly
ba5da8b086
ble_mesh: stack: Check model status with variable length
2020-06-19 21:30:55 +08:00
wangcheng
7bad9b77cc
components/bt:Fix instant reverse and add ble connect paramter check.
2020-06-18 11:21:46 +08:00
baohongde
140b696009
components/bt: Fix ble disconnect due to instant of channel map update is too small
2020-06-17 03:52:32 +00:00
baohongde
75ca740d04
Set AFH in time(075dd35)
...
Send LMP_channelClassification immediately
Fix first LMP_set_AFH not using host value
2020-06-17 03:52:32 +00:00
baohongde
fd8f2c1a32
components/coex: Fix ble connecting fail in coexist
2020-06-17 03:52:32 +00:00
Jiang Jiang Jian
8c7c3ff899
Merge branch 'bugfix/btdm_ESP_BT_GAP_DISCOVERY_STOPPED_evt_come_twice' into 'master'
...
Bugfix/fix event bug in GAP API
Closes BT-594 and BT-595
See merge request espressif/esp-idf!8808
2020-06-16 21:22:40 +08:00
Jiang Jiang Jian
d93b8b2939
Merge branch 'bugfix/blufi_buffer_overflow_report' into 'master'
...
Bugfix/blufi buffer overflow report
See merge request espressif/esp-idf!9177
2020-06-16 15:58:25 +08:00
lly
d7bd5c002e
ble_mesh: Fix wrong log output with bt_hex
...
- This issue was introduced in the commit: a788e7cd3d
which updated the bt_hex() function incorrectly.
- And in bt_hex(), we use 2 for the two-dimensional array, because currently
at most two bt_hex() will be used at the same time. Also this will save
some DRAM compared with using 4.
2020-06-16 06:32:12 +00:00
wangcheng
999ca60657
blufi: When the format of the received data packet is wrong, reply with an error response
2020-06-15 19:33:28 +08:00
Wang Cheng
c65bd02d87
components/bt: Add a detailed description for the user to distinguish the function of the query buffer api.
2020-06-15 18:52:48 +08:00
Geng Yu Chao
c453c2b919
Update the limited of function esp_ble_get_sendable_packets_num.
2020-06-15 18:02:34 +08:00
wangcheng
e87a42f46c
components/bt: Add api to query the number of available buffers for the current connection
2020-06-13 14:27:48 +08:00
wangcheng
9c7896f2c2
components/bt: Fixed the problem of incomplete data packets caused by disordered acl data packets
2020-06-13 14:25:51 +08:00
wangcheng
d767adcbfa
components/bt: Consider link_xmit_data_q in congest events to prevent excessive memory usage
2020-06-13 14:22:30 +08:00
lly
a0f1a43edc
ble_mesh: Remove boolean type definitions
2020-06-11 16:17:49 +08:00
Nikolaos Strikos
c04cfc2545
ble_mesh: Do not #define bool when compiling in C++
2020-06-11 16:13:26 +08:00
Island
b2a0e63ca8
Merge branch 'bugfix/ble_mesh_remove_relay_dependency' into 'master'
...
ble_mesh: Remove relay option dependency
See merge request espressif/esp-idf!9024
2020-06-03 15:20:24 +08:00
Island
ae2898f12e
Merge branch 'bugfix/ble_mesh_rework_prov_pdu_len_check' into 'master'
...
ble_mesh: Rework prov pdu length check
See merge request espressif/esp-idf!8993
2020-06-03 15:10:14 +08:00
lly
5ced2206b4
ble_mesh: Remove relay option dependency
...
When the relay functionality of a node is not enabled, this
issue will cause the node failing to send messages to fixed
group.
2020-06-02 19:05:16 +08:00
Jiang Jiang Jian
702f768814
Merge branch 'feature/btdm_add_clear_white_list_API' into 'master'
...
component/bt: add clear white list API
See merge request espressif/esp-idf!8845
2020-06-02 14:53:30 +08:00
zhiweijian
6d593eb6fc
component/bt: add clear white list API
2020-06-02 11:29:51 +08:00
Island
bcbf2f2275
Merge branch 'bugfix/ble_mesh_model_recv_fix' into 'master'
...
Bugfix/ble mesh model recv fix
See merge request espressif/esp-idf!8988
2020-06-02 11:00:07 +08:00
lly
c6e9d789b7
ble_mesh: Rework prov pdu length check
2020-06-01 20:44:52 +08:00
lly
e41eae1b07
ble_mesh: correct the return type [Zephyr]
2020-06-01 14:08:21 +08:00
lly
1e29d86dd3
ble_mesh: Add net_buf_simple_init_with_data [Zephyr]
2020-06-01 13:57:41 +08:00
lly
8a8caebf51
ble_mesh: Optimize model recv operations [Zephyr]
...
Previously the model recv operation is a littl fuzzy.
With the changes, the model recv operation is splitted into:
- find op
- check app_idx
- check dst
- check length
- update info & handle message
2020-06-01 13:57:33 +08:00
lly
9063821f01
ble_mesh: Config and health client btc fixes
...
Fix an issue which may cause no error code is returned
when sending config client or health client messages
with invalid parameters.
2020-05-29 21:10:13 +08:00
lly
409ea309f9
ble_mesh: Add more checks of net_idx & app_idx
2020-05-29 21:10:13 +08:00
lly
47609970db
ble_mesh: Optimize some send & recv logs
2020-05-29 21:10:13 +08:00
lly
9aae4d3ba3
ble_mesh: Local model (un)subscribes group address
2020-05-29 09:40:19 +00:00
lly
2190c2c368
ble_mesh: Define a macro for invalid company id
2020-05-29 09:40:19 +00:00
liqigan
6cf659f293
components/bt: Adjust the description of esp_bt_gap_start_discovery
and esp_bt_gap_cancel_discovery
.
...
Add some comments to explain why `ESP_BT_GAP_DISC_STATE_CHANGED_EVT` is not reported.
2020-05-28 14:47:51 +08:00
Jiang Jiang Jian
8f2d1e7f92
Merge branch 'bugfix/collection_of_confirmed_fixes_from_baidu_project' into 'master'
...
Bugfix/collection of confirmed fixes from baidu project
Closes BT-826, BT-542, BCI-31, BCI-34, BT-840, and AUD-1857
See merge request espressif/esp-idf!8675
2020-05-28 12:23:58 +08:00