From af72c4b94f73addb5481f47d506aacec2d12b57a Mon Sep 17 00:00:00 2001 From: InfiniteYuan Date: Fri, 22 Jul 2022 20:45:45 +0800 Subject: [PATCH] ble_mesh: update ble mesh ble adv type --- components/bt/esp_ble_mesh/core/nimble_host/adapter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/esp_ble_mesh/core/nimble_host/adapter.c b/components/bt/esp_ble_mesh/core/nimble_host/adapter.c index 510352ce15..2d80a4962a 100644 --- a/components/bt/esp_ble_mesh/core/nimble_host/adapter.c +++ b/components/bt/esp_ble_mesh/core/nimble_host/adapter.c @@ -895,7 +895,7 @@ int bt_mesh_ble_adv_start(const struct bt_mesh_ble_adv_param *param, break; case BLE_MESH_ADV_NONCONN_IND: adv_params.conn_mode = BLE_GAP_CONN_MODE_NON; - adv_params.disc_mode = BLE_GAP_DISC_MODE_GEN; + adv_params.disc_mode = BLE_GAP_DISC_MODE_NON; break; case BLE_MESH_ADV_DIRECT_IND_LOW_DUTY: adv_params.conn_mode = BLE_GAP_CONN_MODE_DIR;