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.

[参考译文] CC2652P:在发送每个 ZigBee 请求命令时获取发送确认信息

Guru**** 2587365 points


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

https://e2e.ti.com/support/wireless-connectivity/zigbee-thread-group/zigbee-and-thread/f/zigbee-thread-forum/1086466/cc2652p-get-send-confirm-information-when-every-zigbee-request-command-was-sent

部件号:CC2652P

ZigBee 器件在发送 request-command 或 notify 命令时获得 send-confirm 消息非常重要。

因为 request-command 或 notify 是由应用程序发送的。 当需要发送 request-command 时,应用程序可以决定发送了什么 request-command (目标)。 因此,应用程序应该知道发送失败的原因,发送繁忙的原因。  特别是当坐标向多个目标发送多个请求命令 ,而一些目标正在休眠或无法工作时。 确认消息可以检测出有问题的目标。

我的新固定 SDK 增加了 ZDP-Request 和 ZCL-Request 的确认回叫功能。 应用程序可以设置回叫功能以检测 request-command 的 send-confirm。  

由于 response 命令是被动发送的,因此不需要 se-confirm 命令。 response 命令发送方无法知道要向哪个目标发送响应,将向哪个响应命令发送。 因此,最好是使用 response 命令启用 APS-Ack。

下载 SDK: github.com/.../z_stack_2022.git