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
@@ -32,7 +32,7 @@
static uint8_t dev_uuid[16] = { 0x55, 0x55 };
static esp_ble_mesh_cfg_srv_t config_server = {
.relay = ESP_BLE_MESH_RELAY_DISABLED,
.relay = ESP_BLE_MESH_RELAY_ENABLED,
.beacon = ESP_BLE_MESH_BEACON_ENABLED,
#if defined(CONFIG_BLE_MESH_FRIEND)
.friend_state = ESP_BLE_MESH_FRIEND_ENABLED,