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.

CC2530: An issue about ZCL communication.

Part Number: CC2530


Hi,

The terminal communicates with the coordinator using function:

ZStatus_t zcl_SendReportCmd( uint8 srcEP, afAddrType_t *dstAddr,
uint16 clusterID, zclReportCmd_t *reportCmd,
uint8 direction, uint8 disableDefaultRsp, uint8 seqNum )

What function does the coordinator use to communicate with the terminal?

Thanks and Regards,

Nick

  • According to original post in TI China E2E forum, the terminal is any Zigbee device. It depends what kind of message you want to send to destination Zigbee device, ZDO or ZCL message, but it will use AF_DataRequest in the end.

  • Hi Nick,

    As it pertains specifically to zcl_SendReportCmd sent from the terminal, the coordinator receives the message in zcl_ProcessMessageMSG.  If disableDefaultRsp is false then the coordinator will reply with a zcl_SendDefaultRspCmd which YK already mentioned will ultimately become AF_DataRequest as a ZDO/ZCL message.  If enabled then the coordinator's application can further process the incoming report command through the ZCL_CMD_REPORT case of zcl*_ProcessIncomingMsg.

    Regards,
    Ryan