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.

绑定的问题

Other Parts Discussed in Thread: Z-STACK

我看网上的对绑定的说明,我就有了一个问题:

ZigBee设备对象终端节点绑定请求-两个设备可向协调器告知他们想建立一个绑定表记录。协调器通过安排配对并分别在这两个设备上建立绑定表条目,也称集中式绑定。

ZDApp_SendEndDeviceBindReq()   优点:1.     绑定信息保存在网络反射设备(例如协调器、路由器)中,可以节省目标设备的内存空间。

上面两句是不矛盾啊。使用ZDApp_SendEndDeviceBindReq()绑定,绑定表在哪里呢?

  • 您可以参考下Z-Stack Developer's Guide内的描述:

    ZigBee Device Object End Device Bind Request – 2 devices can tell the coordinator that they would like to
    setup a binding table record. The coordinator will make the match up and create the binding table entries in
    the 2 devices.

    Zigbee Device Object End Device Bind Request 需要coordinator参入,若A为协调器,B和C是需要建立绑定的两个EndDevice。

    节点B和C分别通过调用函数ZDP_EndDeviceBindReq,这个函数将会向协调器发出绑定请求,如果在16S内两个节点都执行了此函数,协调器就会协助实现绑定。绑定表放在OutCluster那边,即绑定表存放在输出控制命令的那边。