Skip to content

Commit

Permalink
IP Commissioning Mode Support
Browse files Browse the repository at this point in the history
  • Loading branch information
sonali.patil committed Aug 3, 2021
1 parent 3d8d542 commit 231f4ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/all-clusters-app/esp32/main/DeviceCallbacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,7 @@ bool GenericConfigurationManagerImpl<ImplClass>::_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;
Expand Down

0 comments on commit 231f4ab

Please sign in to comment.