困扰很久了,参照了很多帖子,一直没有解决,求帮帮忙。
协调器能接收终端节点的数据,但是终端节点接收不到协调器的数据,最后在f8wConfig.cfg文件里修改了-DRFD_RCVC_ALWAYS_ON=TRUE,现在终端可以接收到协调器的数据了,但是又产生了另外一个问题,但是终端节点电流达30mA。请问有没有-DRFD_RCVC_ALWAYS_ON=FALSE,且能终端能接收协调器的数据的办法?
终端设置-DRFD_RCVC_ALWAYS_ON=TRUE能正常接收协调器消息,说明端点,组号设置均正确。
终端设置-DRFD_RCVC_ALWAYS_ON=FALSE。以下是终端的设置,协调器通过串口接收数据并发送给终端,POLLRATE默认设置,终端发送data request ,但是Zigbee终端接收不到协调器消息。
/****************************************
* The following are for End Devices only
***************************************/
-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
Hao Ling:
预编译:
ZIGBEEPRONWK_AUTO_POLLZTOOL_P1xMT_TASKxMT_SYS_FUNCxMT_ZDO_FUNCxLCD_SUPPORTED=DEBUGxPOWER_SAVING
Aries Lord:
回复 Hao Ling:
你的协调器mem alloc满了,是不是该释放的地方没有释放?
Hao Ling:
回复 Aries Lord:
你好,我只发送一次指令,31字节,这样mem alloc会满吗?
我使用的是组播通信。