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数据接收端识别短地址和endpoint

zigbee发送端发送了目标地址的短地址和endpoint,接收端需要识别自身的短地址是不是匹配并判断是发给哪个endpoint的。
接收端识别这两个的函数在哪?


另外,如果想注册多个endpoint,除了注册不同endpoint的简单描述符和af层注册以外,还需要做哪些工作?谢谢

  • 当节点收到数据时会触发 afIncomingData 函数,afIncomingData 函数会对信息进行过滤,看是否为本设备的信息

    建议您在协议栈内跟踪afIncomingData 函数

  • 谢谢您的解答。

    还是有所疑惑:既然能通过short address识别设备,如果一个协调器与过个终端通信,那所有设备都设置成一个端点号,协调器都通过一个端点给所有终端发送数据,也应该可以通信吧?

    是不是可以理解成端点号为了能同时给多个设备发送数据而设立的多个通道?谢谢