From 4750128c8486a81a1b4065201897cd0a57b82440 Mon Sep 17 00:00:00 2001 From: doru91 Date: Wed, 29 Sep 2021 18:38:38 +0300 Subject: [PATCH] Enable MDNS related features on NXP platform (#10057) Signed-off-by: Doru Gucea --- src/platform/K32W/CHIPDevicePlatformConfig.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/platform/K32W/CHIPDevicePlatformConfig.h b/src/platform/K32W/CHIPDevicePlatformConfig.h index a7f7f79282e26f..f7c7f8b673bea6 100644 --- a/src/platform/K32W/CHIPDevicePlatformConfig.h +++ b/src/platform/K32W/CHIPDevicePlatformConfig.h @@ -33,8 +33,6 @@ #define CHIP_DEVICE_CONFIG_ENABLE_WIFI_STATION 0 #define CHIP_DEVICE_CONFIG_ENABLE_WIFI_AP 0 -#define CHIP_DEVICE_CONFIG_ENABLE_THREAD 1 - #ifndef CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE #define CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE 1 #endif @@ -99,4 +97,10 @@ #define CHIP_DEVICE_CONFIG_ENABLE_PAIRING_AUTOSTART 0 +#if CHIP_ENABLE_OPENTHREAD +#define CHIP_DEVICE_CONFIG_ENABLE_THREAD 1 +#define CHIP_DEVICE_CONFIG_ENABLE_MDNS 1 #define CHIP_DEVICE_CONFIG_ENABLE_THREAD_SRP_CLIENT 1 +#define CHIP_DEVICE_CONFIG_ENABLE_EXTENDED_DISCOVERY 1 +#define CHIP_DEVICE_CONFIG_ENABLE_COMMISSIONABLE_DISCOVERY 1 +#endif