fix(ble_mesh): Enable relay by default for the specific dev role

This commit is contained in:
Liu Linyan
2023-10-02 09:24:43 +08:00
committed by BOT
parent 2472c62fff
commit fdec35827a
7 changed files with 7 additions and 5 deletions
@@ -53,6 +53,7 @@ static struct esp_ble_mesh_key {
} prov_key;
static esp_ble_mesh_cfg_srv_t config_server = {
.relay = ESP_BLE_MESH_RELAY_DISABLED,
.beacon = ESP_BLE_MESH_BEACON_DISABLED,
#if defined(CONFIG_BLE_MESH_FRIEND)
.friend_state = ESP_BLE_MESH_FRIEND_ENABLED,