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:有关 ZCL 通信的问题。

Guru**** 2463330 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/zigbee-thread-group/zigbee-and-thread/f/zigbee-thread-forum/1219532/cc2530-an-issue-about-zcl-communication

器件型号:CC2530

您好!

终端通过以下功能与协调器通信:

ZStatus_t zcl_ReportSendCmd (uint8 srcEP、afAddrType_t *dstAddr、
Uint16 clusterID、zclReportCmd_t * reportCmd、
uint8方向、uint8 disableDefaultRsp、uint8 seqnum)

协调器使用什么功能与终端通信?

谢谢。此致、

Nick

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    根据 TI 中国 E2E 论坛中的原始帖子、终端是任何 Zigbee 设备。 这取决于要发送到目标 Zigbee 器件、ZDO 或 ZCL 消息的消息类型、但最后将使用 AF_DataRequest

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Nick。

    由于它专门与从终端发送的 zcl_ReportSendCmd 有关,所以协调器将在 zcl_ProcessMessageMSG 中接收消息。  如果 disableDefaultRsp 为 false、则协调器将使用 已提及的 zcl_SendDefaultRspCmd 进行回复、4k 最终将  作为 ZDO/ZCL 消息成为 AF_DataRequest。  如果启用、则协调器的应用程序可以通过  zcl*_ProcessIncomingMsg 的 ZCL_CMD_REPORT 案例进一步处理传入报告命令。

    此致、
    Ryan