我在使用NWK_AUTO_POLL编译选项时碰到个问题,想请教下谁知道这是什么原因呢?谢谢
我在编译选项里面增加了NWK_AUTO_POLL,f8wConfg.cfg里面与NWK_AUTO_POLL相关的宏定义如下,用这样的配置编译出来的程序终端设备收不到协调器发送的广播消息,但是终端设备可以发送广播消息给协调器。我的网络中就一个协调器和一个终端设备。
-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


