diff --git a/examples/shell/genio/include/CHIPProjectConfig.h b/examples/shell/genio/include/CHIPProjectConfig.h index 30b02be9b67d81..8c4214f01969b4 100644 --- a/examples/shell/genio/include/CHIPProjectConfig.h +++ b/examples/shell/genio/include/CHIPProjectConfig.h @@ -105,4 +105,4 @@ */ #define CHIP_DEVICE_CONFIG_EVENT_LOGGING_DEBUG_BUFFER_SIZE (512) -#define _NO_NETWORK_COMMISSIONING_DRIVER_ +#define _NO_GENERIC_THREAD_NETWORK_COMMISSIONING_DRIVER_ diff --git a/examples/shell/mbed/main/include/CHIPProjectConfig.h b/examples/shell/mbed/main/include/CHIPProjectConfig.h index 44bf03fc40b208..b5f8e96dafac79 100644 --- a/examples/shell/mbed/main/include/CHIPProjectConfig.h +++ b/examples/shell/mbed/main/include/CHIPProjectConfig.h @@ -36,4 +36,4 @@ // shell app uses openthread but does not have the NETWORK_COMMISSIONING cluster or zap config // Do not instantiate the NETWORK_COMMISSIONING thread driver -#define _NO_NETWORK_COMMISSIONING_DRIVER_ +#define _NO_GENERIC_THREAD_NETWORK_COMMISSIONING_DRIVER_ diff --git a/examples/shell/nrfconnect/CHIPProjectConfig.h b/examples/shell/nrfconnect/CHIPProjectConfig.h index e7641bf17df441..367bfb1818a2fc 100644 --- a/examples/shell/nrfconnect/CHIPProjectConfig.h +++ b/examples/shell/nrfconnect/CHIPProjectConfig.h @@ -34,4 +34,4 @@ // shell app uses openthread but does not have the NETWORK_COMMISSIONING cluster or zap config // Do not instantiate the NETWORK_COMMISSIONING thread driver -#define _NO_NETWORK_COMMISSIONING_DRIVER_ +#define _NO_GENERIC_THREAD_NETWORK_COMMISSIONING_DRIVER_ diff --git a/examples/shell/qpg/include/CHIPProjectConfig.h b/examples/shell/qpg/include/CHIPProjectConfig.h index 26e931316e2058..635d03c4e79110 100644 --- a/examples/shell/qpg/include/CHIPProjectConfig.h +++ b/examples/shell/qpg/include/CHIPProjectConfig.h @@ -36,7 +36,7 @@ // shell app uses openthread but does not have the NETWORK_COMMISSIONING cluster or zap config // Do not instantiate the NETWORK_COMMISSIONING thread driver -#define _NO_NETWORK_COMMISSIONING_DRIVER_ +#define _NO_GENERIC_THREAD_NETWORK_COMMISSIONING_DRIVER_ // For convenience, enable Chip Security Test Mode and disable the requirement for // authentication in various protocols. diff --git a/examples/shell/telink/include/CHIPProjectConfig.h b/examples/shell/telink/include/CHIPProjectConfig.h index ba7e5304bb9c61..d6a643469a4cc3 100755 --- a/examples/shell/telink/include/CHIPProjectConfig.h +++ b/examples/shell/telink/include/CHIPProjectConfig.h @@ -38,4 +38,4 @@ // shell app uses openthread but does not have the NETWORK_COMMISSIONING cluster or zap config // Do not instantiate the NETWORK_COMMISSIONING thread driver -#define _NO_NETWORK_COMMISSIONING_DRIVER_ +#define _NO_GENERIC_THREAD_NETWORK_COMMISSIONING_DRIVER_ diff --git a/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.hpp b/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.hpp index 2056699d77c8c0..9079e5455db620 100644 --- a/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.hpp +++ b/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.hpp @@ -74,7 +74,7 @@ static_assert(OPENTHREAD_API_VERSION >= 219, "OpenThread version too old"); // Network commissioning namespace { -#ifndef _NO_NETWORK_COMMISSIONING_DRIVER_ +#ifndef _NO_GENERIC_THREAD_NETWORK_COMMISSIONING_DRIVER_ NetworkCommissioning::GenericThreadDriver sGenericThreadDriver; app::Clusters::NetworkCommissioning::Instance sThreadNetworkCommissioningInstance(CHIP_DEVICE_CONFIG_THREAD_NETWORK_ENDPOINT_ID /* Endpoint Id */, &sGenericThreadDriver); @@ -82,7 +82,7 @@ app::Clusters::NetworkCommissioning::Instance void initNetworkCommissioningThreadDriver(void) { -#ifndef _NO_NETWORK_COMMISSIONING_DRIVER_ +#ifndef _NO_GENERIC_THREAD_NETWORK_COMMISSIONING_DRIVER_ sThreadNetworkCommissioningInstance.Init(); #endif } diff --git a/src/platform/nxp/rt/rw61x/BUILD.gn b/src/platform/nxp/rt/rw61x/BUILD.gn index 3fca99ff0fb7c9..1b5d82adfbd04c 100644 --- a/src/platform/nxp/rt/rw61x/BUILD.gn +++ b/src/platform/nxp/rt/rw61x/BUILD.gn @@ -46,7 +46,7 @@ config("nxp_platform_config") { } if (chip_enable_wifi && chip_enable_openthread) { # Disable thread nwk commissioning instance on endpoint 0, when OTBR is enabled - defines += [ "_NO_NETWORK_COMMISSIONING_DRIVER_" ] + defines += [ "_NO_GENERIC_THREAD_NETWORK_COMMISSIONING_DRIVER_" ] } } diff --git a/src/test_driver/efr32/BUILD.gn b/src/test_driver/efr32/BUILD.gn index 66676e197c983d..4fa18959f94642 100644 --- a/src/test_driver/efr32/BUILD.gn +++ b/src/test_driver/efr32/BUILD.gn @@ -59,7 +59,7 @@ efr32_sdk("sdk") { "PW_RPC_ENABLED", # Thread is built but test driver do not have the NETWORK_COMMISSIONING cluster or zap config. - "_NO_NETWORK_COMMISSIONING_DRIVER_", + "_NO_GENERIC_THREAD_NETWORK_COMMISSIONING_DRIVER_", ] }