lly
df1c6fd95c
ble_mesh: stack: Rename cfg & health client status recv func
2020-08-31 17:33:11 +08:00
lly
bbe75af7a3
ble_mesh: stack: Check client msg result in common func
2020-08-31 17:33:11 +08:00
lly
4634ad6fa4
ble_mesh: stack: Fix no events for some error conditions
2020-08-31 17:33:10 +08:00
lly
5ccf6cd381
ble_mesh: stack: Move client role set to the msg function
2020-08-31 17:33:10 +08:00
lly
259d1924cb
ble_mesh: stack: Remove some not used client parameters
2020-08-31 17:33:09 +08:00
lly
1bd4fe1f50
ble_mesh: stack: Remove some not used variables & functions
2020-08-31 17:33:09 +08:00
lly
62458dbb90
ble_mesh: stack: Update client model msg send
2020-08-31 17:33:08 +08:00
lly
5704b13bc9
ble_mesh: stack: Fix recv health current status incorrectly
2020-08-31 13:57:12 +08:00
lly
c3b300064b
ble_mesh: stack: Only keep func pointer for very common log
...
Currently only keep func pointer for the followings:
- Invalid parameter (mesh btc & mesh stack)
- Out of memory (mesh btc & mesh stack)
- Unknown act (mesh btc)
- Invalid model user data (mesh stack)
- BT_DBG("%s", __func__) (mesh btc & mesh stack)
- A few other specific situations (buf ref debug, send status check)
2020-08-31 11:23:35 +08:00
lly
bbd9a8a44d
ble_mesh: stack: Make proxy server & client functions clear
2020-08-31 11:23:34 +08:00
lly
72ce618f9a
ble_mesh: stack: Add proxy cfg pdu length check
2020-08-28 17:45:09 +08:00
lly
36dc7ae71e
ble_mesh: stack: Rework using dev flag to check scan status
...
Different bluetooth host has different behaviors, so it's better
to maintain a scan check mechanism of BLE Mesh itself.
Fixes an issue when only PB-GATT is enabled for node, which will
output a scan error log when the device is provisioned.
2020-08-28 17:45:08 +08:00
lly
7b57311a0e
ble_mesh: stack: Add more checks about input prov bearers
2020-08-28 17:45:07 +08:00
lly
ad412850d0
ble_mesh: stack: Rename mesh adv queue and relay queue
2020-08-28 06:07:17 +00:00
lly
20d33f27d6
ble_mesh: stack: Use macros for adv task name & prio
2020-08-28 06:07:17 +00:00
lly
84012fa82f
ble_mesh: stack: Make freertos static allocation visible
2020-08-28 06:07:17 +00:00
lly
ffcd55bbf2
ble_mesh: stack: Update option of using DRAM/SPIRAM for memory allocation
2020-08-28 06:07:17 +00:00
Island
e1e082072c
Merge branch 'bugfix/ble_mesh_fast_prov_misc_update_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh fast prov misc update (v4.1)
See merge request espressif/esp-idf!9465
2020-08-28 14:03:10 +08:00
Island
329f7f8210
Merge branch 'bugfix/btdm_blufi_send_longer_custom_data_will_congested_v4.1' into 'release/v4.1'
...
component/bt: fix Blufi sends longer customer data will will lead congested(backport v4.1)
See merge request espressif/esp-idf!9947
2020-08-28 13:55:28 +08:00
Island
0cc8639e2f
Merge branch 'bugfix/ble_mesh_update_send_ttl_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh update send ttl (v4.1)
See merge request espressif/esp-idf!10159
2020-08-28 10:43:43 +08:00
XieWenxiang
a88420c860
component/bt: fix Blufi sends longer customer data will will lead congested(backport v4.1)
2020-08-28 07:10:11 +08:00
lly
ce4a8af3c7
ble_mesh: stack: Update some fast prov functions
2020-08-27 14:36:58 +00:00
lly
e3a7fb2fd4
ble_mesh: stack: Move fast prov functions to a single file
2020-08-27 14:36:58 +00:00
lly
7308f60a74
ble_mesh: ci: Fix failing to compile when using make
2020-08-27 10:57:51 +00:00
lly
50fc403018
ble_mesh: Mark platform related default RNG as 0
2020-08-27 10:57:51 +00:00
lly
0b65005ffd
ble_mesh: Remove the previously added redundant aes files
2020-08-27 10:57:51 +00:00
lly
60ba33afa9
ble_mesh: Update CMake and make files for tinycrypt
2020-08-27 10:57:51 +00:00
lly
d90f3f9119
ble_mesh: Update tinycrypt header file include guards
...
Add BLE_MESH in the macro to make it specific for BLE Mesh.
2020-08-27 10:57:51 +00:00
lly
7d40d308bb
ble_mesh: Format source and header files of tinycrypt
2020-08-27 10:57:51 +00:00
lly
0dda8869cd
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-08-27 10:57:51 +00:00
Island
8a0ae62a03
Merge branch 'bugfix/ble_mesh_compile_error_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh proxy compile error (v4.1)
See merge request espressif/esp-idf!9431
2020-08-27 18:03:01 +08:00
lly
8988fb9b8d
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-08-26 08:28:12 +00:00
lly
bd187b022f
ble_mesh: Add more checks of net_idx & app_idx
2020-08-26 08:28:12 +00:00
lly
7ba69e5439
ble_mesh: Optimize some send & recv logs
2020-08-26 08:28:12 +00:00
lly
75af20e687
ble_mesh: stack: Add two application macros for TTL
2020-08-26 16:12:26 +08:00
lly
5952694160
ble_mesh: stack: Update send_ttl in btc when recv a msg
...
Update send_ttl mainly for server models. When a server model
receives a message, and the status is required to be replied
by the application, we need to set send_ttl to the msg context.
If send_ttl is not updated in btc, and the applcation does not
set the TTL either, then the status will be replied with TTL=0,
which may cause the client side (e.g. the phone App) failed to
receive the status.
Closes https://github.com/espressif/esp-idf/issues/5300
2020-08-26 16:12:26 +08:00
Island
e40e694cf9
Merge branch 'bugfix/ble_mesh_set_recv_rssi_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh set recv rssi (v4.1)
See merge request espressif/esp-idf!9400
2020-08-26 15:56:02 +08:00
lly
45f7edd4f2
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-08-26 07:50:10 +00:00
Island
ade43317ca
Merge branch 'bugfix/ble_mesh_get_node_with_name_v4.1' into 'release/v4.1'
...
ble_mesh: Get node info with pre-configured node name (v4.1)
See merge request espressif/esp-idf!10145
2020-08-26 15:28:15 +08:00
Jiang Jiang Jian
a27ea5a6c8
Merge branch 'feature/bt_secure_conn_downgrade_check_v4.1' into 'release/v4.1'
...
Bluedroid: Authentication fixes in Legacy and Secure Connection.
See merge request espressif/esp-idf!9339
2020-08-26 11:33:12 +08:00
lly
292333a27c
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-08-25 09:35:34 +08:00
Island
1c8ce47465
Merge branch 'bugfix/ble_mesh_check_subnet_before_update_beacon_sent_v4.1' into 'release/v4.1'
...
ble_mesh: Check if subnet exists before updating beacon_sent (v4.1)
See merge request espressif/esp-idf!9396
2020-08-24 17:20:12 +08:00
lly
bd59c89540
ble_mesh: stack: Copy recv_rssi for other received messages
...
Follow the commit: 2b80cb6883
,
copy the recv_rssi for other mesh messages.
2020-08-24 08:52:05 +00:00
mbroek
c3fe42250c
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-08-24 08:52:05 +00:00
Chinmay Chhajed
6f22d7590e
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-08-24 10:27:04 +05:30
Jiang Jiang Jian
91903234a9
Merge branch 'bugfix/fix_event_bug_in_GAP_API_release_v4.1' into 'release/v4.1'
...
Bugfix/fix event bug in GAP API [backport v4.1]
See merge request espressif/esp-idf!9192
2020-08-24 12:34:30 +08:00
Jiang Jiang Jian
294a00c15d
Merge branch 'feature/esp_spp_stop_srv_v4.1' into 'release/v4.1'
...
bugfix/Add API esp_spp_stop_srv and fix collection of SPP [backport v4.1]
See merge request espressif/esp-idf!10011
2020-08-24 12:34:04 +08:00
Jiang Jiang Jian
c547044f28
Merge branch 'bugfix/fix_error_in_ag_api_4.1' into 'release/v4.1'
...
Fix error of AG API return line v4.1
See merge request espressif/esp-idf!9604
2020-08-24 12:32:21 +08:00
Jiang Jiang Jian
d4af9d1ce4
Merge branch 'bugfix/fix_hci_max_page_num_v4.1' into 'release/v4.1'
...
bugfix/Support for more Bluetooth HID devices [backport v4.1]
See merge request espressif/esp-idf!9661
2020-08-24 12:31:22 +08:00
Jiang Jiang Jian
84b9ce81bb
Merge branch 'bugfix/fix_get_bond_device_list_v4.1' into 'release/v4.1'
...
bugfix/fix esp_bt_gap_get_bond_device_list bug [backport v4.1]
See merge request espressif/esp-idf!9667
2020-08-24 12:30:07 +08:00