Download presentation
Presentation is loading. Please wait.
Published byElizabeth Lorena Hubbard Modified over 8 years ago
1
1.3 The ZigBee application framework 2005.10.14 Jae Shin Lee
2
Contents 1.3.1 Creating a ZigBee profile 1.3.2 Standard data type formats 1.3.3 Zigbee descriptors 1.3.4 AF frame formats 1.3.5 KVP command frames 1.3.6 Functional description Q & A
3
1.3.1 Creating a ZigBee profile 1.3.1.1 Getting a profile identifier from the ZigBee Alliance Device descriptions Cluster identifiers Service types (KVP or MSG) 1.3.1.2 Defining device descriptions and clusters Profile identifier - 16 bit Cluster identifier – 8 bit Attributes – 16 bit (KVP case)
4
1.3.1 Creating a ZigBee profile (cont) 1.3.1.3 Deploying the profile on endpoints Device – the entire device is supported by a single radio with a unique IEEE and NWK address. Endpoints – 8 bit field that describes different applications that are supported by a single radio. - 0x00 is used to address the device profile - 0xff is used to address all active endpoints - 0xf1~0xfe are reserved - 0x01~0xf0 are used for 240 applications
5
1.3.1 Creating a ZigBee profile (cont)
6
1.3.1.4 Enabling service discovery 1.3.1.5 Mixing standard and proprietary profiles 1.3.1.6 Enabling backward compatibility
7
1.3.2 Standard data type formats 0000 – No data (Length 0) 0001 – Unsigned 8 bit integer (Length 1) 0010 – Signed 8 bit integer (Length 1) 0011 – Unsigned 16 bit integer (Length 2) 0100 – Signed 16 bit integer (Length 2) 0101 ~1010 – Reserved 1011 – Semi-precision (Length 2) 1100 – Absolute time (Length 4) 1101 – Relative time (Length 4) 1110 – Character string (Defined in first octet) 1111 – Octet string (Defined in first octet)
8
1.3.2 Standard data type formats (cont) 1011 – Semi-precision (Length 2) 1100 – Absolute time (Length 4) 1101 – Relative time (Length 4)
9
1.3.2 Standard data type formats (cont) 1110 – Character string (Defined in first octet) 1111 – Octet string (Defined in first octet)
10
1.3.3 ZigBee descriptors
11
1.3.3 ZigBee descriptors (cont) 1.3.3.1 transmission of descriptors 1.3.3.2 Discovery via descriptors 1.3.3.3 Composite devices
12
1.3.3 ZigBee descriptors (cont) 1.3.3.4 Node descriptor
13
1.3.3 ZigBee descriptors (cont) 1.3.3.4.1 Logical type field 1.3.3.4.2 APS flags field (not supported)
14
1.3.3 ZigBee descriptors (cont) 1.3.3.4.3 Frequency band field
15
1.3.3 ZigBee descriptors (cont) 1.3.3.4.4 MAC capability flags filed
16
1.3.3 ZigBee descriptors (cont) 1.3.3.4.5 Manufacturer code field Allocated by the ZigBee Alliance 1.3.3.4.6 Maximum buffer size field Maximum size of data or commands passed to or from the application by the application support sub-layer 1.3.3.4.7 Maximum transfer size field This value can exceed the value of the node maximum buffer size field
17
1.3.3 ZigBee descriptors (cont) 1.3.3.5 Node power descriptor
18
1.3.3 ZigBee descriptors (cont) 1.3.3.5.1 Current power mode field
19
1.3.3 ZigBee descriptors (cont) 1.3.3.5.2 Available power sources field
20
1.3.3 ZigBee descriptors (cont) 1.3.3.5.3 Current power source
21
1.3.3 ZigBee descriptors (cont) 1.3.3.5.4 Current power source level field
22
1.3.3 ZigBee descriptors (cont) 1.3.3.6 Simple descriptor
23
1.3.3 ZigBee descriptors (cont) 1.3.3.6.1 Endpoint field 1.3.3.6.2 Application profile identifier field 1.3.3.6.3 Application device identifier field
24
1.3.3 ZigBee descriptors (cont) 1.3.3.6.4 Application device version field
25
1.3.3 ZigBee descriptors (cont) 1.3.3.6.5 Application flags field
26
1.3.3 ZigBee descriptors (cont) 1.3.3.6.6 Application input cluster count field 1.3.3.6.7 Application input cluster list 1.3.3.6.8 Application output cluster count field 1.3.3.6.9 Application output cluster list
27
1.3.3 ZigBee descriptors (cont) 1.3.3.7 Complex Descripor
28
1.3.3 ZigBee descriptors (cont) 1.3.3.7.1 Language and character set field
29
1.3.3 ZigBee descriptors (cont) 1.3.3.7.2 Manufacturer name field 1.3.3.7.3 Model name field 1.3.3.7.4 Serial number field 1.3.3.7.5 Device URL field 1.3.3.7.6 Icon field 1.3.3.7.7 Icon URL field
30
1.3.3 ZigBee descriptors (cont) 1.3.3.8 User descripor
31
1.3.4 AF frame formats
32
1.3.4 AF frame formats (cont) 1.3.4.1 Transaction count field Number of transactions 1.3.4.2 Frame type field
33
1.3.4 AF frame formats (cont) 1.3.4.3 transaction sequence number field 1.3.4.4 transaction data field KVP – 1.3.4.5.1 MSG – 1.3.4.5.2 1.3.4.5 Format of individual frame types KVP – Key Value Pair MSG - message
34
1.3.4 AF frame formats (cont) 1.3.4.5.1 Key value pair (KVP) frame format
35
1.3.4 AF frame formats (cont) 1.3.4.5.1.1 Command type identifier field
36
1.3.4 AF frame formats (cont) 1.3.4.5.1.2 Attribute data type field (table 19) 1.3.4.5.1.3 Attribute identifier field (16 bit) 1.3.4.5.1.4 Error code field 1.3.4.5.1.5 Attribute data field
37
1.3.4 AF frame formats (cont) 1.3.4.5.2 MSG frame format
38
1.3.4 AF frame formats (cont) 1.3.4.5.2.1 Transaction length field 1.3.4.5.2.2 Transaction data field
39
1.3.5 KVP command frames 1.3.5.1 Get with acknowledgement command frame
40
1.3.5 KVP command frames (cont) 1.3.5.2 Get response command frame
41
1.3.5 KVP command frames (cont) 1.3.5.3 set with acknowledgement command frame
42
1.3.5 KVP command frames (cont) 1.3.5.4 Set response command frame
43
1.3.5 KVP command frames (cont) 1.3.5.5 Event with acknowledgement
44
1.3.5 KVP command frames (cont) 1.3.5.6 Event response command frame
45
1.3.6 Functional description 1.3.6.1 Aggregate transactions 1.3.6.2 Reception and rejection
46
Question END Q & A
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.