终端设备开启了低功耗,配置如下:
//关闭低功耗
-DRFD_RCVC_ALWAYS_ON=FALSE
/* The number of milliseconds to wait between data request polls to the coordinator. */
-DPOLL_RATE=1000
/* This is used after receiving a data indication to poll immediately
* for queued messages…in milliseconds.
*/
-DQUEUED_POLL_RATE=100
/* This is used after receiving a data confirmation to poll immediately
* for response messages…in milliseconds
*/
-DRESPONSE_POLL_RATE=100
/* This is used as an alternate response poll rate only for rejoin request.
* This rate is determined by the response time of the parent that the device
* is trying to join.
*/
-DREJOIN_POLL_RATE=440
把NWK_AUTO_POLL打开或关闭都没有data request???这个怎么解决?
user4587069:
挺急的希望TI老师解答下
Alvin Chen:
回复 user4587069:
建议你试一下demo ,预编译 POWER SAVING 即可,
YiKai Chen:
回复 user4587069:
你终端设备有先正確加入zigbee網路了嗎?
user4587069:
回复 YiKai Chen:
加入了 我试了下自己调用NLME_SetPollRate( 1000 );发现只能看到一个data request包设备就进入永久睡眠了,似乎stack没有开启定时器来发送data request
YiKai Chen:
回复 user4587069:
你用的協議棧跟例程是哪個?
user4587069:
回复 YiKai Chen:
协调器和终端都是Projects\zstack\Utilities\SerialApp下的
YiKai Chen:
回复 user4587069:
協議棧版本是?
user4587069:
回复 YiKai Chen:
是这个吗?ZStack-2.5.1a
user4587069:
回复 YiKai Chen:
ZStack-2.5.1a
user4587069:
回复 Alvin Chen:
你好哪个demo是低功耗的?