我有两种情况想了解下
1、比如协调器广播一条信息,所有节点和路由都返回一条单播信息给协调器,但是测的时候发现效果可能1秒左右才能发送和返回正常,这个时间能缩短吗?
2、我想协调器广播两条信息,就是这两条广播信息的最小间隔最大为多少比较好呢?
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.
我有两种情况想了解下
1、比如协调器广播一条信息,所有节点和路由都返回一条单播信息给协调器,但是测的时候发现效果可能1秒左右才能发送和返回正常,这个时间能缩短吗?
2、我想协调器广播两条信息,就是这两条广播信息的最小间隔最大为多少比较好呢?
感谢你的回复!之前我也有看这个帖子,就是调整了BCAST_DELIVERY_TIME=10,MAX_BCAST=9,我用的是2.5.1a协议栈,但是广播发送发现500ms发送都严重丢包
不好意思,太久没上了,我按照你说的单个协调器不停广播是没有问题,但是加入路由就会有问题,还有想问下抓包工具Packet Sniffer有没有加入PA功能的
Aries,
MAX_BCAST
This is the number of broadcast entries (for data packets) that can be held for the period of
BCAST_DELIVERY_TIME. Together, these two settings enforce the settling time for broadcast data packets
traversing through the network. For example, if MAX_BCAST_ENTRIES is set to 9, and
BCAST_DELIVERY_TIME is set to 10 (seconds), a device could send out 9 sequential broadcast data packets, but
would not be able to send out a 10th one until after 10 seconds.
BCAST_DELIVERY_TIME
The length of time a broadcast message is kept in the broadcast table. Set to 500ms more than retry time. Retry time
is defined as PASSIVE_ACK_TIMEOUT * (MaxBroadCastRetries + 1). If a broadcast message is being sent toend
devices, then this should be set in accordance withthe polling rate of the end devices. For example 200 might be a
good number if the poll rate was set to 10 seconds for the end device.