欢迎访问ic37.com |
会员登录 免费注册
发布采购

XB24CZ7RIS-004 参数 Datasheet PDF下载

XB24CZ7RIS-004图片预览
型号: XB24CZ7RIS-004
PDF下载: 下载PDF文件 查看货源
内容描述: XBee® /的XBee - PRO® ZB SMT射频模块 [XBee®/XBee-PRO® ZB SMT RF Modules]
分类和应用: 射频
文件页数/大小: 155 页 / 3791 K
品牌: DCD [ DIGITAL CORE DESIGN ]
 浏览型号XB24CZ7RIS-004的Datasheet PDF文件第60页浏览型号XB24CZ7RIS-004的Datasheet PDF文件第61页浏览型号XB24CZ7RIS-004的Datasheet PDF文件第62页浏览型号XB24CZ7RIS-004的Datasheet PDF文件第63页浏览型号XB24CZ7RIS-004的Datasheet PDF文件第65页浏览型号XB24CZ7RIS-004的Datasheet PDF文件第66页浏览型号XB24CZ7RIS-004的Datasheet PDF文件第67页浏览型号XB24CZ7RIS-004的Datasheet PDF文件第68页  
XBee®/XBeePRO® ZB SMT RF Modules  
Transmission Timeouts  
The ZigBee stack includes two kinds of transmission timeouts, depending on the nature of the destination device.  
For destination devices such as routers whose receiver is always on, a unicast timeout is used. The unicast timeout  
estimates a timeout based on the number of unicast hops the packet should traverse to get data to the destination  
device. For transmissions destined for end devices, the ZigBee stack uses an extended timeout that includes the  
unicast timeout (to route data to the end device's parent), and it includes a timeout for the end device to finish  
sleeping, wake, and poll the parent for data.  
The ZigBee stack includes some provisions for a device to detect if the destination is an end device or not. The  
ZigBee stack uses the unicast timeout unless it knows the destination is an end device.  
The XBee API includes a transmit options bit that can be set to specify if the extended timeout should be used for a  
given transmission. If this bit is set, the extended timeout will be used when sending RF data to the specified  
destination. To improve routing reliability, applications should set the extended timeout bit when sending data to end  
devices if:  
•The application sends data to 10 or more remote devices, some of which are end devices, AND  
•The end devices may sleep longer than the unicast timeout  
Equations for these timeouts are computed in the following sections.  
Note: The timeouts in this section are worst-case timeouts and should be padded by a few hundred milliseconds.  
These worst-case timeouts apply when an existing route breaks down (e.g. intermediate hop or destination device  
moved).  
Unicast Timeout  
The unicast timeout is settable with the NH command. The actual unicast timeout is computed as ((50 * NH) +  
100). The default NH value is 30 which equates to a 1.6 second timeout.  
The unicast timeout includes 3 transmission attempts (1 attempt and 2 retries). The maximum total timeout is  
about:  
3 * ((50 * NH) + 100).  
For example, if NH=30 (0x1E), the unicast timeout is about  
3 * ((50 * 30) + 100), or  
3 * (1500 + 100), or  
3 * (1600), or  
4800 ms, or  
4.8 seconds.  
Extended Timeout  
The worst-case transmission timeout when sending data to an end device is somewhat larger than when  
transmitting to a router or coordinator. As described later in chapter 6, RF data packets are actually sent to the  
parent of the end device, who buffers the packet until the end device wakes to receive it. The parent will buffer  
an RF data packet for up to (1.2 * SP) time.  
To ensure the end device has adequate time to wake and receive the data, the extended transmission timeout  
to an end device is:  
(50 * NH) + (1.2 * SP)  
This timeout includes the packet buffering timeout (1.2 * SP) and time to account for routing through the mesh  
network (50 * NH).  
If an acknowledgment is not received within this time, the sender will resend the transmission up to two more  
times. With retries included, the longest transmission timeout when sending data to an end device is:  
3 * ((50 * NH) + (1.2 * SP))  
The SP value in both equations must be entered in millisecond units. (The SP command setting uses 10ms units  
and must be converted to milliseconds to be used in this equation.)  
© 2010 Digi International, Inc.  
64