This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2538-CC2592EM-RD: Acknowledge System Implementation between cc2538 & cc2530 for ON/OFF and LEVEL control lighting.

Part Number: CC2538-CC2592EM-RD
Other Parts Discussed in Thread: CC2592, Z-STACK, CC2538, CC2530

I am using a CC2538+CC2592 based custom board running a modified SampleSwitch application (Z-Stack Home 1.2.2a.44539), Coordinator configuration. 

End Device is a custom designed cc2530 board,running modified SampleLight in Router EB configuration. 

My application requires me to set some end to end acknowledgement system that ensures-"Command received by the End Device is successfully processed by it ". 

I have two approaches in mind:

1. I use inbuilt Z-Stack report mechanism .i.e: 

----cc2538 SampleSwitch code, zcl_samplesw.c---
case ZCL_CMD_REPORT:
//zclSampleSw_ProcessInReportCmd( pInMsg );
break;
#endif

---CC2530 SampleLight code,zcl_samplesw.c--

reference -//e2e.ti.com/.../291965

rptcmd.numAttr = 1;
rptcmd.attrList[0].attrID = ATTRID_ON_OFF;
rptcmd.attrList[0].dataType = ZCL_DATATYPE_UINT8;
rptcmd.attrList[0].attrData = (uint8*)&zclSampleLight_OnOff;
zcl_SendReportCmd(SAMPLELIGHT_ENDPOINT, 0x0000,ZCL_CLUSTER_ID_GEN_ON_OFF, &rptcmd,ZCL_FRAME_CLIENT_SERVER_DIR, false, 0 );

afAddrType_t DstAddr;

DstAddr.addrMode = (afAddrMode_t)Addr16Bit;
DstAddr.endPoint = your dst device endpoint;
DstAddr.addr.shortAddr = your dst device short address;

zcl_SendReportCmd(SAMPLELIGHT_ENDPOINT, &DstAddr, ...);

2. I send a message from end device to coordinator to let it know what action was done upon the last command reception. 

I am new to Zigbee and I want to know which of these two approaches should i opt for and why.

It would be great if someone can tell me HOW alongwith WHICH and WHY! :-)

Please Help.