Other Parts Discussed in Thread: CC2530, Z-STACK
终端关闭Data Request,终端不发数据的情况下,很正常,没有Data Request;
终端发送一次数据,100ms后会发一次Data Request;每发一包数据,有一个Data Request;
为了降低功耗,怎么关闭这个Data Request;
求指点,谢谢!!!
协议栈 z-stack 2.5.1a cc2530
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.
datarequest是终端节点定时向父节点轮询数据用的,要设置低功耗进入PM3模式就需要关闭轮询。详细请参考我写的这篇博客:
低功耗的所有设置都有讲解到。
希望对你有帮助。
按照以下修改cfg文件
/* This is used after receiving a data indication to poll immediately
* for queued messages...in milliseconds.
*/
-DQUEUED_POLL_RATE=0
/* This is used after receiving a data confirmation to poll immediately
* for response messages...in milliseconds
*/
-DRESPONSE_POLL_RATE=0
我写了一个入网控制功耗的库文件,提供了几个API函数接口,直接调用就可以控制节点的beacon request,并且可以通过简单的调用一个api就可以进入PM3模式,以及从PM3模式中唤醒的功能。详细点击链接可以看到。
功能改进: