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.

ZigBee 3.0 zcl_SendReportCmd使用



3.0协议栈协调器和终端通过zcl_SendReportCmd互发数据

1.发送多字节(例如10字节)的数据的时候pReportCmd->numAttr 是不是就是10?

zclReportCmd_t *pReportCmd;
pReportCmd->numAttr 
pReportCmd->attrList[0].attrID 
pReportCmd->attrList[0].dataType
pReportCmd->attrList[0].attrData 
2.接收端会进入下面的函数是吗?

case ZCL_CMD_REPORT:
zclSampleSw_ProcessInReportCmd( pInMsg );
我在接收函数里怎么提取数据?

static uint8 zclSampleSw_ProcessInReportCmd( zclIncomingMsg_t *pInMsg )
{

}