Quantcast
Channel: Zigbee 和 Thread
Viewing all articles
Browse latest Browse all 16962

帖子: RE: af_datarequest消息并发

$
0
0

1、协调器上会给每一个关联设备提供3条msg buffer。

// Maximum msgs to hold per associated device.
#define NWK_INDIRECT_MSG_MAX_PER 3

2、协调器hold 每一条msg的时间是NWK_INDIRECT_MSG_TIMEOUT=7(秒)
3、给所有关联设备提供的msg buffer有12-3条 (目前理解12-3 是因为路由器的关联表中有存在协调器的可能性,协调器和路由器之间不会去data request)

// Maximum total msgs to hold for all associated devices.
#define NWK_INDIRECT_MSG_MAX_ALL \
 (NWK_MAX_DATABUFS_TOTAL - NWK_INDIRECT_MSG_MAX_PER)

我的理解是对的么?

Viewing all articles
Browse latest Browse all 16962

Trending Articles