lly
dd6de08bea
ble_mesh: stack: Update some fast prov functions
2020-07-03 08:53:16 +08:00
lly
661e1f2500
ble_mesh: stack: Move fast prov functions to a single file
2020-07-03 08:53:16 +08:00
lly
76baeba6b7
ble_mesh: ci: Fix failing to compile when using make
2020-07-02 03:53:50 +00:00
lly
7e7d2ae401
ble_mesh: Mark platform related default RNG as 0
2020-07-02 03:53:50 +00:00
lly
d9e8508981
ble_mesh: Remove the previously added redundant aes files
2020-07-02 03:53:50 +00:00
lly
11406d7ee8
ble_mesh: Update CMake and make files for tinycrypt
2020-07-02 03:53:50 +00:00
lly
80837bd936
ble_mesh: Update tinycrypt header file include guards
...
Add BLE_MESH in the macro to make it specific for BLE Mesh.
2020-07-02 03:53:50 +00:00
lly
3c0584f013
ble_mesh: Format source and header files of tinycrypt
2020-07-02 03:53:50 +00:00
lly
f1f3c7afd6
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-07-02 03:53:50 +00:00
Island
fcef568c70
Merge branch 'bugfix/ble_mesh_compile_error_v4.2' into 'release/v4.2'
...
Bugfix/ble mesh compile error (v4.2)
See merge request espressif/esp-idf!9430
2020-07-02 11:28:55 +08:00
Jiang Jiang Jian
655772ec23
Merge branch 'feature/bt_secure_conn_downgrade_check_v4.2' into 'release/v4.2'
...
Bluedroid: Authentication fixes in Legacy and Secure Connection.
See merge request espressif/esp-idf!9336
2020-07-01 13:48:46 +08:00
lly
b239677c97
ble_mesh: stack: Fix compile error when only proxy enabled
...
Also remove some redundant CONFIG_BLE_MESH_PROXY checks, because
when the following options are satisfied, the CONFIG_BLE_MESH_PROXY
option will be selected mandatorily.
2020-07-01 11:54:32 +08:00
Island
f1642bfaaf
Merge branch 'bugfix/ble_mesh_set_recv_rssi_v4.2' into 'release/v4.2'
...
Bugfix/ble mesh set recv rssi (v4.2)
See merge request espressif/esp-idf!9390
2020-07-01 11:31:47 +08:00
Island
e9f21b096f
Merge branch 'bugfix/ble_mesh_check_subnet_before_update_beacon_sent_v4.2' into 'release/v4.2'
...
ble_mesh: Check if subnet exists before updating beacon_sent (v4.2)
See merge request espressif/esp-idf!9395
2020-07-01 11:16:16 +08:00
Chinmay Chhajed
ec043aac06
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-30 14:41:46 +05:30
Jiang Jiang Jian
6938c615d8
Merge branch 'bugfix/connect_param_check_and_channel_map_bugs_v4.2' into 'release/v4.2'
...
components/bt:Fix channel map instant reverse and add ble connect paramter check.(backport 4.2)
See merge request espressif/esp-idf!9236
2020-06-30 15:11:56 +08:00
lly
6f715c4472
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-30 09:22:21 +08:00
lly
3fa5daf0ba
ble_mesh: stack: Copy recv_rssi for other received messages
...
Follow the commit: 2b80cb6883
,
copy the recv_rssi for other mesh messages.
2020-06-30 09:05:23 +08:00
mbroek
4b3bb6c8fd
When a generic mesh model message is received "bt_mesh_generic_server_cb_evt_to_btc" copies the
...
ctx values to cb_params for the mesh stack.
recv_rssi was not copied.
This means the rssi could not be read when receiving generic server messages using ble_mesh.
2020-06-30 09:05:23 +08:00
Island
00148cd0c6
Merge branch 'bugfix/ble_mesh_get_node_with_name_v4.2' into 'release/v4.2'
...
ble_mesh: Get node info with pre-configured node name (v4.2)
See merge request espressif/esp-idf!9302
2020-06-28 20:25:32 +08:00
Island
3c92395170
Merge branch 'bugfix/ble_mesh_bt_hex_v4.2' into 'release/v4.2'
...
ble_mesh: Fix wrong log output with bt_hex (v4.2)
See merge request espressif/esp-idf!9309
2020-06-28 20:24:31 +08:00
Island
257384ea75
Merge branch 'bugfix/ble_mesh_not_define_bool_v4.2' into 'release/v4.2'
...
Bugfix/ble mesh not define bool (v4.2)
See merge request espressif/esp-idf!9316
2020-06-28 20:23:21 +08:00
lly
698fe7dd99
ble_mesh: stack: Check model status with variable length
2020-06-24 14:12:53 +08:00
lly
bd5ef62253
ble_mesh: Remove boolean type definitions
2020-06-24 14:05:58 +08:00
Nikolaos Strikos
5bacf6b23d
ble_mesh: Do not #define bool when compiling in C++
2020-06-24 14:05:58 +08:00
lly
55f48877a4
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-24 12:29:33 +08:00
lly
b4b2cd19f7
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-24 10:58:36 +08:00
Island
aaeb2ba733
Merge branch 'bugfix/att_buffer_count_fixed_v4.2' into 'release/v4.2'
...
Bugfix/att buffer count fixed v4.2
See merge request espressif/esp-idf!9161
2020-06-22 11:44:54 +08:00
wangcheng
12d39f9faa
components/bt:Fix instant reverse and add ble connect paramter check.
2020-06-18 15:54:53 +08:00
Island
710249c86a
Merge branch 'bugfix/blufi_buffer_overflow_report_v4.2' into 'release/v4.2'
...
blufi: When the format of the received data packet is wrong, reply with an error response(backport 4.2)
See merge request espressif/esp-idf!9201
2020-06-18 13:44:52 +08:00
baohongde
783cd1bb08
components/bt: Fix ble disconnect due to instant of channel map update is too small
2020-06-17 07:15:46 +00:00
baohongde
d4b232590a
Set AFH in time(075dd35)
...
Send LMP_channelClassification immediately
Fix first LMP_set_AFH not using host value
2020-06-17 07:15:46 +00:00
baohongde
ef92a22b0c
components/coex: Fix ble connecting fail in coexist
2020-06-17 07:15:46 +00:00
Wang Cheng
21ff2f84ce
components/bt: Add a detailed description for the user to distinguish the function of the query buffer api.
2020-06-17 12:52:28 +08:00
Geng Yu Chao
02cd178115
Update the limited of function esp_ble_get_sendable_packets_num.
2020-06-17 12:52:18 +08:00
wangcheng
17609cbb02
blufi: When the format of the received data packet is wrong, reply with an error response
2020-06-17 12:19:00 +08:00
liqigan
4dd29dac94
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-06-16 22:18:21 +08:00
wangcheng
7f299d9d60
components/bt: Consider link_xmit_data_q in congest events to prevent excessive memory usage
2020-06-13 15:10:30 +08:00
wangcheng
d53a2719b9
components/bt: Fixed the problem of incomplete data packets caused by disordered acl data packets
2020-06-13 15:09:45 +08:00
wangcheng
f9b0cd1847
components/bt: Add api to query the number of available buffers for the current connection
2020-06-13 15:09:36 +08:00
Island
a8f40b7095
Merge branch 'bugfix/ble_mesh_remove_relay_dependency_v4.2' into 'release/v4.2'
...
ble_mesh: Remove relay option dependency (v4.2)
See merge request espressif/esp-idf!9025
2020-06-03 15:20:35 +08:00
Island
9bdaa64d80
Merge branch 'bugfix/ble_mesh_example_nvs_store_v4.2' into 'release/v4.2'
...
Bugfix/ble mesh example nvs store (v4.2)
See merge request espressif/esp-idf!9015
2020-06-03 15:11:54 +08:00
Island
55cd09578f
Merge branch 'bugfix/ble_mesh_model_recv_fix_v4.2' into 'release/v4.2'
...
Bugfix/ble mesh model recv fix (v4.2)
See merge request espressif/esp-idf!9006
2020-06-03 15:11:15 +08:00
Island
118b69ce0d
Merge branch 'bugfix/ble_mesh_rework_prov_pdu_len_check_v4.2' into 'release/v4.2'
...
ble_mesh: Rework prov pdu length check (v4.2)
See merge request espressif/esp-idf!9002
2020-06-03 15:10:33 +08:00
lly
eeb44e7dd6
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:18:18 +08:00
lly
adf785a1b0
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-06-02 14:02:54 +08:00
lly
b25cffd4d5
ble_mesh: Add more checks of net_idx & app_idx
2020-06-02 14:02:54 +08:00
lly
4919d17ad1
ble_mesh: Optimize some send & recv logs
2020-06-02 14:02:53 +08:00
lly
1a3c315d2f
ble_mesh: correct the return type [Zephyr]
2020-06-02 10:31:08 +08:00
lly
8271ae4a1e
ble_mesh: Add net_buf_simple_init_with_data [Zephyr]
2020-06-02 10:31:08 +08:00