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



什么设置控制enddevice加入网络后周期性的发送 data request 帧?

  • 你可以在f8wConfig.cfg文件中找到

    /* The number of milliseconds to wait between data request polls to the coordinator. */
    -DPOLL_RATE=1000

    然后你可以看一下这个定义在哪里使用了。

  • enddevice采用POLL方式,就是周期性苏醒,然后查询父节点是否有数据。可以看到Enddevice 在IAR的project options->c/c++compiler ->preprocessor->defined symbols中 定义了NWK_AUTO_POLL。然后POLL_RATE决定了苏醒的时间间隔,越长功耗越低,越短功耗越高