2021-10-26 04:24:54 -04:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2020-10-15 21:22:29 -04:00
|
|
|
|
|
|
|
#ifndef _BLE_MESH_CONFIG_H_
|
|
|
|
#define _BLE_MESH_CONFIG_H_
|
|
|
|
|
|
|
|
#include "sdkconfig.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2021-01-07 06:17:45 -05:00
|
|
|
#define CONFIG_BLE_MESH_GENERIC_CLIENT (CONFIG_BLE_MESH_GENERIC_ONOFF_CLI || \
|
|
|
|
CONFIG_BLE_MESH_GENERIC_LEVEL_CLI || \
|
|
|
|
CONFIG_BLE_MESH_GENERIC_DEF_TRANS_TIME_CLI || \
|
|
|
|
CONFIG_BLE_MESH_GENERIC_POWER_ONOFF_CLI || \
|
|
|
|
CONFIG_BLE_MESH_GENERIC_POWER_LEVEL_CLI || \
|
|
|
|
CONFIG_BLE_MESH_GENERIC_BATTERY_CLI || \
|
|
|
|
CONFIG_BLE_MESH_GENERIC_LOCATION_CLI || \
|
2020-10-16 03:15:18 -04:00
|
|
|
CONFIG_BLE_MESH_GENERIC_PROPERTY_CLI)
|
|
|
|
|
2021-01-07 06:17:45 -05:00
|
|
|
#define CONFIG_BLE_MESH_TIME_SCENE_CLIENT (CONFIG_BLE_MESH_TIME_CLI || \
|
|
|
|
CONFIG_BLE_MESH_SCENE_CLI || \
|
2020-10-16 03:15:18 -04:00
|
|
|
CONFIG_BLE_MESH_SCHEDULER_CLI)
|
|
|
|
|
2021-01-07 06:17:45 -05:00
|
|
|
#define CONFIG_BLE_MESH_LIGHTING_CLIENT (CONFIG_BLE_MESH_LIGHT_LIGHTNESS_CLI || \
|
|
|
|
CONFIG_BLE_MESH_LIGHT_CTL_CLI || \
|
|
|
|
CONFIG_BLE_MESH_LIGHT_HSL_CLI || \
|
|
|
|
CONFIG_BLE_MESH_LIGHT_XYL_CLI || \
|
2020-10-16 03:15:18 -04:00
|
|
|
CONFIG_BLE_MESH_LIGHT_LC_CLI)
|
2020-10-15 21:22:29 -04:00
|
|
|
|
2021-01-07 06:17:45 -05:00
|
|
|
#define CONFIG_BLE_MESH_SERVER_MODEL (CONFIG_BLE_MESH_GENERIC_SERVER || \
|
|
|
|
CONFIG_BLE_MESH_SENSOR_SERVER || \
|
|
|
|
CONFIG_BLE_MESH_TIME_SCENE_SERVER || \
|
2020-10-16 04:10:28 -04:00
|
|
|
CONFIG_BLE_MESH_LIGHTING_SERVER)
|
|
|
|
|
2021-01-07 06:17:45 -05:00
|
|
|
#define CONFIG_BLE_MESH_BLE_COEX_SUPPORT (CONFIG_BLE_MESH_SUPPORT_BLE_ADV || \
|
2020-10-26 03:51:18 -04:00
|
|
|
CONFIG_BLE_MESH_SUPPORT_BLE_SCAN)
|
|
|
|
|
2020-10-15 21:22:29 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2020-11-10 02:40:01 -05:00
|
|
|
#endif /* _BLE_MESH_CONFIG_H_ */
|