File tree 5 files changed +9
-4
lines changed
ota-requestor-app/ameba/main
5 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ source_set("trace_handlers") {
79
79
source_set (" trace_handlers_decoder" ) {
80
80
sources = [
81
81
" TraceDecoder.cpp" ,
82
- " TraceHandlers.cpp" ,
83
82
" decoder/TraceDecoderProtocols.cpp" ,
84
83
" decoder/bdx/Decoder.cpp" ,
85
84
" decoder/echo/Decoder.cpp" ,
@@ -94,6 +93,7 @@ source_set("trace_handlers_decoder") {
94
93
public_configs = [ " :default_config" ]
95
94
96
95
deps = [
96
+ " :trace_handlers" ,
97
97
" ${ chip_root } /src/lib" ,
98
98
" ${ chip_root } /src/lib/core:types" ,
99
99
]
Original file line number Diff line number Diff line change 29
29
#include < app/TestEventTriggerDelegate.h>
30
30
#include < app/clusters/identify-server/identify-server.h>
31
31
#include < app/clusters/ota-requestor/OTATestEventTriggerHandler.h>
32
+ #include < app/codegen-data-model-provider/Instance.h>
32
33
#include < app/server/Dnssd.h>
33
34
#include < app/server/OnboardingCodesUtil.h>
34
35
#include < app/server/Server.h>
@@ -262,6 +263,7 @@ CHIP_ERROR AppTask::Init()
262
263
initParams.operationalKeystore = &sPSAOperationalKeystore ;
263
264
#endif
264
265
(void ) initParams.InitializeStaticResourcesBeforeServerInit ();
266
+ initParams.dataModelProvider = CodegenDataModelProviderInstance ();
265
267
initParams.testEventTriggerDelegate = &sTestEventTriggerDelegate ;
266
268
ReturnErrorOnFailure (chip::Server::GetInstance ().Init (initParams));
267
269
AppFabricTableDelegate::Init ();
Original file line number Diff line number Diff line change 37
37
#include < app/clusters/general-diagnostics-server/general-diagnostics-server.h>
38
38
#include < app/clusters/identify-server/identify-server.h>
39
39
#include < app/clusters/on-off-server/on-off-server.h>
40
+ #include < app/codegen-data-model-provider/Instance.h>
40
41
41
42
#include < app/server/Dnssd.h>
42
43
#include < app/server/Server.h>
@@ -273,6 +274,7 @@ void AppTask::InitServer(intptr_t arg)
273
274
VerifyOrDie (sTestEventTriggerDelegate .Init (ByteSpan (sTestEventTriggerEnableKey )) == CHIP_NO_ERROR);
274
275
VerifyOrDie (sTestEventTriggerDelegate .AddHandler (&sFaultTestEventTriggerHandler ) == CHIP_NO_ERROR);
275
276
(void ) initParams.InitializeStaticResourcesBeforeServerInit ();
277
+ initParams.dataModelProvider = CodegenDataModelProviderInstance ();
276
278
initParams.testEventTriggerDelegate = &sTestEventTriggerDelegate ;
277
279
278
280
chip::Server::GetInstance ().Init (initParams);
Original file line number Diff line number Diff line change 24
24
#include < DeviceInfoProviderImpl.h>
25
25
26
26
#include < app/clusters/network-commissioning/network-commissioning.h>
27
+ #include < app/codegen-data-model-provider/Instance.h>
27
28
#include < app/server/Server.h>
28
29
#include < app/util/endpoint-config-api.h>
29
30
@@ -78,7 +79,8 @@ static void InitServer(intptr_t context)
78
79
static chip::CommonCaseDeviceServerInitParams initParams;
79
80
(void ) initParams.InitializeStaticResourcesBeforeServerInit ();
80
81
static AmebaObserver sAmebaObserver ;
81
- initParams.appDelegate = &sAmebaObserver ;
82
+ initParams.dataModelProvider = CodegenDataModelProviderInstance ();
83
+ initParams.appDelegate = &sAmebaObserver ;
82
84
chip::Server::GetInstance ().Init (initParams);
83
85
gExampleDeviceInfoProvider .SetStorageDelegate (&Server::GetInstance ().GetPersistentStorage ());
84
86
chip::DeviceLayer::SetDeviceInfoProvider (&gExampleDeviceInfoProvider );
Original file line number Diff line number Diff line change @@ -74,8 +74,6 @@ source_set("app-main") {
74
74
" AppMain.h" ,
75
75
" CommissionableInit.cpp" ,
76
76
" CommissionableInit.h" ,
77
- " CommissionerMain.cpp" ,
78
- " CommissionerMain.h" ,
79
77
" LinuxCommissionableDataProvider.cpp" ,
80
78
" LinuxCommissionableDataProvider.h" ,
81
79
" NamedPipeCommands.cpp" ,
@@ -90,6 +88,7 @@ source_set("app-main") {
90
88
91
89
public_deps = [
92
90
" :boolean-state-configuration-test-event-trigger" ,
91
+ " :commissioner-main" ,
93
92
" :device-energy-management-test-event-trigger" ,
94
93
" :energy-evse-test-event-trigger" ,
95
94
" :energy-reporting-test-event-trigger" ,
You can’t perform that action at this time.
0 commit comments