File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
samples/matter/common/src/app Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 5353#include < app/InteractionModelEngine.h>
5454#include < app/clusters/network-commissioning/network-commissioning.h>
5555#include < credentials/examples/DeviceAttestationCredsExample.h>
56+ #include < data-model-providers/codegen/Instance.h>
5657#include < platform/nrfconnect/ExternalFlashManager.h>
5758#include < setup_payload/OnboardingCodesUtil.h>
5859
@@ -313,6 +314,9 @@ void DoInitChipServer(intptr_t /* unused */)
313314
314315 SetDeviceInfoProvider (sLocalInitData .mDeviceInfoProvider );
315316
317+ sLocalInitData .mServerInitParams ->dataModelProvider =
318+ app::CodegenDataModelProviderInstance (sLocalInitData .mServerInitParams ->persistentStorageDelegate );
319+
316320 sInitResult = Server::GetInstance ().Init (*sLocalInitData .mServerInitParams );
317321 VerifyInitResultOrReturn (sInitResult , " Server::Init() failed" );
318322
You can’t perform that action at this time.
0 commit comments