From 43c98143871565f7d5d30a08ab999ac2e2db4736 Mon Sep 17 00:00:00 2001 From: lly Date: Thu, 23 Mar 2023 10:26:23 +0800 Subject: [PATCH 1/2] ble_mesh: stack: Minor fix for provisioner provisioning timeout --- components/bt/esp_ble_mesh/mesh_core/provisioner_prov.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/components/bt/esp_ble_mesh/mesh_core/provisioner_prov.c b/components/bt/esp_ble_mesh/mesh_core/provisioner_prov.c index c98e4902dd..fb2d2bd019 100644 --- a/components/bt/esp_ble_mesh/mesh_core/provisioner_prov.c +++ b/components/bt/esp_ble_mesh/mesh_core/provisioner_prov.c @@ -2725,12 +2725,8 @@ static void prov_retransmit(struct k_work *work) #endif if (k_uptime_get() - link[idx].tx.start > timeout) { BT_WARN("Provisioner timeout, giving up transaction"); - /** - * For the case MESH/PVNR/PBADV/BV-01, provisoner should - * sends link close with reason. - */ - close_link(idx,CLOSE_REASON_TIMEOUT); - reset_link(idx, CLOSE_REASON_TIMEOUT); + /* Provisioner should send Link Close here */ + close_link(idx, CLOSE_REASON_TIMEOUT); return; } From bb316f96f20b8a8c85e59c2e8f02f0e1fb33e7d3 Mon Sep 17 00:00:00 2001 From: wangjialiang Date: Thu, 23 Mar 2023 11:10:08 +0800 Subject: [PATCH 2/2] ble_mesh: stack: add description of internal BQB Test --- components/bt/esp_ble_mesh/Kconfig.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/esp_ble_mesh/Kconfig.in b/components/bt/esp_ble_mesh/Kconfig.in index 2048f00a2c..0724412083 100644 --- a/components/bt/esp_ble_mesh/Kconfig.in +++ b/components/bt/esp_ble_mesh/Kconfig.in @@ -1133,7 +1133,7 @@ if BLE_MESH networking is initialized. config BLE_MESH_BQB_TEST - bool + bool "Enable BLE Mesh specific internal test" default n help This option is used to enable some internal functions for auto-pts test.