使用版本2.5.1a,目前一个协调器一个终端,终端可以向协调器发送数据,运行正常;终端接收不到协调器发送的组播数据,在配置文件中:
//-DRFD_RCVC_ALWAYS_ON=TRUE
-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
如果 DRFD_RCVC_ALWAYS_ON更改为true则可以收到。按我的理解,以上配置可能会因为终端休眠不能实时接收到数据,在唤醒后会询问接收,从监测上,在入组后,协调器的确有数据向外发送,而终端也会每秒发送data request,但不会触发GenericApp_MessageMSGCB,会是怎么问题。
谢谢。