欢迎访问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文件第58页浏览型号XB24CZ7RIS-004的Datasheet PDF文件第59页浏览型号XB24CZ7RIS-004的Datasheet PDF文件第60页浏览型号XB24CZ7RIS-004的Datasheet PDF文件第61页浏览型号XB24CZ7RIS-004的Datasheet PDF文件第63页浏览型号XB24CZ7RIS-004的Datasheet PDF文件第64页浏览型号XB24CZ7RIS-004的Datasheet PDF文件第65页浏览型号XB24CZ7RIS-004的Datasheet PDF文件第66页  
XBee®/XBeePRO® ZB SMT RF Modules  
ZigBee Device Objects (ZDO)  
The ZigBee Device Objects (ZDO) is supported to some extent on all ZigBee devices. The ZDO is an endpoint  
that implements services described in the ZigBee Device Profile in the ZigBee specification. Each service has an  
assigned cluster ID, and most service requests have an associated response. The following table describes some  
common ZDO services.  
Cluster Name Cluster ID Description  
Network Address 0x0000  
Request  
Request a 16-bit address of the  
radio with a matching 64-bit  
address (required parameter).  
Active Endpoints 0x0005  
Request  
Request a list of endpoints from a  
remote device.  
LQI Request  
0x0031  
0x0032  
Request data from a neighbor table  
of a remote device.  
Routing Table  
Request  
Request to retrieve routing table  
entries from a remote device.  
Network Address 0x8000  
Response  
Response that includes the 16-bit  
address of a device.  
LQI Response  
0x8031  
0x8032  
Response that includes neighbor  
table data from a remote device.  
Routing Table  
Response  
Response that includes routing  
table entry data from a remote  
device.  
Refer to the ZigBee specification for a detailed description of all ZigBee Device Profile services.  
Sending a ZDO Command  
To send a ZDO command, an explicit transmit API frame must be used and formatted correctly. The source and  
destination endpoints must be set to 0, and the profile ID must be set to 0. The cluster ID must be set to match  
the cluster ID of the appropriate service. For example, to send an active endpoints request, the cluster ID must  
be set to 0x0005.  
The first byte of payload in the API frame is an application sequence number (transaction sequence number)  
that can be set to any single byte value. This same value will be used in the first byte of the ZDO response. All  
remaining payload bytes must be set as required by the ZDO. All multi-byte values must be sent in little endian  
byte order.  
Receiving ZDO Commands and Responses  
In XBee ZB firmware, ZDO commands can easily be sent using the API. In order to receive incoming ZDO  
commands, receiver application addressing must be enabled with the AO command. (See examples later in this  
section.) Not all incoming ZDO commands are passed up to the application.  
When a ZDO message is received on endpoint 0 and profile ID 0, the cluster ID indicates the type of ZDO  
message that was received. The first byte of payload is generally a sequence number that corresponds to a  
sequence number of a request. The remaining bytes are set as defined by the ZDO. Similar to a ZDO request,  
all multi-byte values in the response are in little endian byte order.  
Example 1: Send a ZDO LQI Request to read the neighbor table contents of a remote.  
Looking at the ZigBee specification, the cluster ID for an LQI Request is 0x0031, and the payload only  
requires a single byte (start index). This example will send an LQI request to a remote device with a 64-bit  
address of 0x0013A200 40401234. The start index will be set to 0, and the transaction sequence number  
will be set to 0x76  
API Frame:  
7E 0016 11 01 0013A200 40401234 FFFE 00 00 0031 0000 00 00 76 00 CE  
0x0016 - length  
© 2010 Digi International, Inc.  
62