diff --git a/examples/all-clusters-app/ambd/main/chipinterface.cpp b/examples/all-clusters-app/ambd/main/chipinterface.cpp index bbc54b049ba31b..b378bfbf36db39 100755 --- a/examples/all-clusters-app/ambd/main/chipinterface.cpp +++ b/examples/all-clusters-app/ambd/main/chipinterface.cpp @@ -6,6 +6,7 @@ #include "DeviceCallbacks.h" #include "Server.h" +#include #include #include #include @@ -234,6 +235,21 @@ extern "C" void DCTTest(void) printf("MfrDeviceId exist = %d\n",_exist); } +Identify gIdentify0 = { + chip::EndpointId{ 0 }, + [](Identify *) { ChipLogProgress(Zcl, "onIdentifyStart"); }, + [](Identify *) { ChipLogProgress(Zcl, "onIdentifyStop"); }, + EMBER_ZCL_IDENTIFY_IDENTIFY_TYPE_VISIBLE_LED, +}; + +Identify gIdentify1 = { + chip::EndpointId{ 1 }, + [](Identify *) { ChipLogProgress(Zcl, "onIdentifyStart"); }, + [](Identify *) { ChipLogProgress(Zcl, "onIdentifyStop"); }, + EMBER_ZCL_IDENTIFY_IDENTIFY_TYPE_VISIBLE_LED, +}; + + extern "C" void ChipTest(void) { printf("In ChipTest()\r\n");