ZigBee Specification v1.0
April 14, 2005
ZigBee Document 053473r00, Version 1.00
December 14th, 2004
Sponsored by: ZigBee Alliance
Accepted by ZigBee Alliance Board of Directors.
Abstract The ZigBee Application Layer Specification describes the infrastructure and ser-
vices available to applications operating on the ZigBee platform.
Keywords ZigBee, Stack, Network, Application, Profile, Framework, Device description, Bind-
ing, Security
ZigBee Document 03322r10ZB Release 0.90 Security Services Specification
2 Copyright © 2005 ZigBee Standards Organization. All rights reserved.
This is an unapproved Standards Draft, subject to change.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Copyright © 2005 ZigBee Standards Organization. All rights reserved. 3
This is an unapproved Standards Draft, subject to change.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Legal Notice Copyright © ZigBee Alliance, Inc. (2005). All rights Reserved. This information within this
document is the property of the ZigBee Alliance and its use and disclosure are restricted.
Elements of ZigBee Alliance specifications may be subject to third party intellectual prop-
erty rights, including without limitation, patent, copyright or trademark rights (such a third
party may or may not be a member of ZigBee). ZigBee is not responsible and shall not be
held responsible in any manner for identifying or failing to identify any or all such third
party intellectual property rights.
This document and the information contained herein are provided on an “AS IS” basis
and ZigBee DISCLAIMS ALL WARRANTIES EXPRESS OR IMPLIED, INCLUDING BUT
NOT LIMITED TO (A) ANY WARRANTY THAT THE USE OF THE INFORMATION
HEREIN WILL NOT INFRINGE ANY RIGHTS OF THIRD PARTIES (INCLUDING WITH-
OUT LIMITATION ANY INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENT,
COPYRIGHT OR TRADEMARK RIGHTS) OR (B) ANY IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE OR NON-
INFRINGEMENT. IN NO EVENT WILL ZIGBEE BE LIABLE FOR ANY LOSS OF PROF-
ITS, LOSS OF BUSINESS, LOSS OF USE OF DATA, INTERRUPTION OF BUSINESS,
OR FOR ANY OTHER DIRECT, INDIRECT, SPECIAL OR EXEMPLARY, INCIDENTIAL,
PUNITIVE OR CONSEQUENTIAL DAMAGES OF ANY KIND, IN CONTRACT OR IN
TORT, IN CONNECTION WITH THIS DOCUMENT OR THE INFORMATION CON-
TAINED HEREIN, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH LOSS OR DAM-
AGE. All Company, brand and product names may be trademarks that are the sole
property of their respective owners.
The above notice and this paragraph must be included on all copies of this document that
are made.
ZigBee Alliance, Inc.
2400 Camino Ramon, Suite 375
San Ramon, CA 94583
ZigBee Document 03322r10ZB Release 0.90 Security Services Specification
4 Copyright © 2005 ZigBee Standards Organization. All rights reserved.
This is an unapproved Standards Draft, subject to change.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Copyright © 2005 ZigBee Standards Organization. All rights reserved. 5
This is an unapproved Standards Draft, subject to change.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Contents
Chapter 1 Application Layer Specification ..................................................... 29
1.1 General description ..........................................................................................................29
1.1.1 Application support sub-layer............................................................................... 29
1.1.2 Application framework.......................................................................................... 29
1.1.3 Addressing ........................................................................................................... 30
1.1.4 Application communication fundamentals............................................................ 32
1.1.5 Discovery ............................................................................................................. 32
1.1.6 Binding ................................................................................................................. 33
1.1.7 Messaging............................................................................................................ 34
1.1.8 ZigBee device objects.......................................................................................... 35
1.2 The ZigBee application support (APS) sub-layer ............................................................. 36
1.2.1 Scope................................................................................................................... 36
1.2.2 Purpose................................................................................................................ 36
1.2.3 Application support (APS) sub-layer overview..................................................... 36
1.2.4 Service specification ............................................................................................ 37
1.2.5 Frame formats...................................................................................................... 51
1.2.6 Command frames ................................................................................................ 56
1.2.7 Constants and PIB attributes ............................................................................... 56
1.2.8 Functional description .......................................................................................... 57
1.3 The ZigBee application framework ................................................................................... 61
1.3.1 Creating a ZigBee profile ..................................................................................... 61
1.3.2 Standard data type formats.................................................................................. 63
1.3.3 ZigBee descriptors ............................................................................................... 67
1.3.4 AF frame formats ................................................................................................. 76
1.3.5 KVP command frames ......................................................................................... 80
1.3.6 Functional description .......................................................................................... 85
1.4 The ZigBee device profile................................................................................................. 86
1.4.1 Scope................................................................................................................... 86
1.4.2 Device Profile overview........................................................................................ 86
1.4.3 Client services...................................................................................................... 89
1.4.4 Server services .................................................................................................. 106
1.4.5 Conformance ..................................................................................................... 126
1.5 The ZigBee device objects (ZDO) .................................................................................. 126
1.5.1 Scope................................................................................................................. 126
1.5.2 Device Object Descriptions................................................................................ 126
1.5.3 Layer Interface Description ................................................................................ 129
1.5.4 System Usage.................................................................................................... 129
1.5.5 Object Definition and Behavior .......................................................................... 132
1.5.6 Configuration Attributes ..................................................................................... 144
Chapter 2 Network Specification ................................................................... 149
2.1 NWK layer status values ................................................................................................ 149
2.2 General description ........................................................................................................ 149
2.2.1 Network (NWK) layer overview .......................................................................... 149
2.3 Service specification....................................................................................................... 150
- 1
- 2
- 3
前往页