File tree 1 file changed +15
-0
lines changed
examples/all-clusters-app/ameba/main
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 4
4
#include " DeviceCallbacks.h"
5
5
#include " Server.h"
6
6
7
+ #include < app/clusters/identify-server/identify-server.h>
7
8
#include < platform/CHIPDeviceLayer.h>
8
9
#include < support/CHIPMem.h>
9
10
@@ -15,6 +16,20 @@ using namespace ::chip;
15
16
using namespace ::chip::DeviceManager;
16
17
using namespace ::chip::DeviceLayer;
17
18
19
+ Identify gIdentify0 = {
20
+ chip::EndpointId{ 0 },
21
+ [](Identify *) { ChipLogProgress (Zcl, " onIdentifyStart" ); },
22
+ [](Identify *) { ChipLogProgress (Zcl, " onIdentifyStop" ); },
23
+ EMBER_ZCL_IDENTIFY_IDENTIFY_TYPE_VISIBLE_LED,
24
+ };
25
+
26
+ Identify gIdentify1 = {
27
+ chip::EndpointId{ 1 },
28
+ [](Identify *) { ChipLogProgress (Zcl, " onIdentifyStart" ); },
29
+ [](Identify *) { ChipLogProgress (Zcl, " onIdentifyStop" ); },
30
+ EMBER_ZCL_IDENTIFY_IDENTIFY_TYPE_VISIBLE_LED,
31
+ };
32
+
18
33
static DeviceCallbacks EchoCallbacks;
19
34
20
35
extern " C" void ChipTest (void )
You can’t perform that action at this time.
0 commit comments