diff --git a/examples/all-clusters-app/esp32/main/DeviceCallbacks.cpp b/examples/all-clusters-app/esp32/main/DeviceCallbacks.cpp index 1f549bca131380..53108053b0e378 100644 --- a/examples/all-clusters-app/esp32/main/DeviceCallbacks.cpp +++ b/examples/all-clusters-app/esp32/main/DeviceCallbacks.cpp @@ -69,6 +69,9 @@ void DeviceCallbacks::DeviceEventCallback(const ChipDeviceEvent * event, intptr_ // connectivity. MDNS still wants to refresh its listening interfaces to include the // newly selected address. chip::app::Mdns::StartServer(); +#ifdef RENDEZVOUS_WAIT_FOR_COMMISSIONING_COMPLETE + chip::app::Mdns::AdvertiseCommissionableNode(); +#endif } break; } diff --git a/src/include/platform/internal/GenericConfigurationManagerImpl.cpp b/src/include/platform/internal/GenericConfigurationManagerImpl.cpp index cb88223b9b6c4f..f7beb4ee7da095 100644 --- a/src/include/platform/internal/GenericConfigurationManagerImpl.cpp +++ b/src/include/platform/internal/GenericConfigurationManagerImpl.cpp @@ -920,6 +920,7 @@ bool GenericConfigurationManagerImpl::_IsFullyProvisioned() #if CHIP_DEVICE_CONFIG_ENABLE_JUST_IN_TIME_PROVISIONING (!UseManufacturerCredentialsAsOperational() && _OperationalDeviceCredentialsProvisioned()) && #endif + (mFlags.Has(Flags::kIsServiceProvisioned) && mFlags.Has(Flags::kOperationalDeviceCredentialsProvisioned)) && // TODO: Add checks regarding fabric membership (IsMemberOfFabric()) and account pairing (IsPairedToAccount()), // when functionalities will be implemented. true;