Part Number: CC2530
hello,
I use zcl_sendreportcmd to send a character from end device to coordinator. the transmission is successful. but I want to see the extended address of the end device which is sending the message in coordinator. I use this function to check the received data.
#ifdef ZCL_REPORT_DESTINATION_DEVICE
uint8 *income_data=NULL;
/*********************************************************************
* @fn zclSampleThermostat_ProcessInReportCmd
*
* @brief Process the "Profile" Report Command
*
* @param pInMsg - incoming message to process
*
* @return none
*/
static void zclSampleThermostat_ProcessInReportCmd( zclIncomingMsg_t *pInMsg )
{
zclReportCmd_t *pInTempSensorReport;
pInTempSensorReport = (zclReportCmd_t *)pInMsg->attrCmd;
income_data = &pInTempSensorReport->attrList[0].attrData[0];
}
#endif // ZCL_REPORT_DESTINATION_DEVICE
what should i do/add?