Professional Documents
Culture Documents
TM
Application Framework
ZPUI
Application Object 1
[On Endpoint 1] APSDE-SAP
NLME-SAP
EP = Endpoint
ZigBeeTM Alliance | Wireless Control That Simply Works
Copyright 2005-2006. All Rights Reserved.
Lamp unit
Radio Z2
Lamp unit
Radio Z2
Radio Z0
ZigBee coordinator
EP = Endpoint
ZigBeeTM Alliance | Wireless Control That Simply Works
Copyright 2005-2006. All Rights Reserved.
Lamp unit
Radio Z2
Application Framework
ZPUI
Application Object 1
[On Endpoint 1] APSDE-SAP
NLME-SAP
Management service
APSME-BIND.request APSME-BIND.confirm APSME-UNBIND.request APSME-UNBIND.confirm
Octets:1
Variable
Frame Control
Frame payload
10
5 Security
6 Ack. request
7 Reserved
11
12
The binding table forms the mapping: (as, es, cs) = { (ad1, ed1), (ad2, ed2), , (adn, edn) } Where
as es cs adi edi = the address of the device as the source of the binding link = the endpoint identifier of the device as the source of the binding link = the cluster identifier used in the binding link = the ith address of the device as the destination of the binding link = the ith endpoint identifier of the device as the destination of the binding link
13
Application Framework
ZPUI
Application Object 1
[On Endpoint 1] APSDE-SAP
NLME-SAP
Data Types
Data type No data Unsigned 8-bit integer Signed 8-bit integer Unsigned 16-bit integer Signed 16-bit integer Semi-precision Absolute time (s) Relative time (ms) Character string Octet string Data length (octets) 0 1 1 2 2 2 4 4 Defined in 1st octet Defined in 1st octet
15
Descriptors
Mandatory/ Optional
Name
Description
Node
Node power
Simple
Complex
Further information about the device descriptions (one per active endpoint)
User
User-definable information
16
Node Descriptor
Field name Logical type Frequency band MAC capability flags Manufacturer code Maximum buffer size
Length (bits) 3 5 8 16 8
Description ZigBee coordinator, router, end-device 868MHz, 915MHz, 2.4GHz Alternative PAN coordinator, MAC logical device type, power source, receiver on when idle, security capability Allocated by the ZigBee Alliance Max size of data passed to application
17
Simple Descriptor
Field name Endpoint Application profile ID Application device ID Application device version Application flags Application input cluster count Application input cluster list Application output cluster count Application output cluster list
Description The endpoint to which this descriptor refers The profile implemented on this endpoint The device description implemented on this endpoint Version 1.0 Complex, user descriptor available Number of input clusters List of supported input clusters Number of output clusters List of supported output clusters
18
4 Frame type
Variable Transaction 1
Variable
Variable Transaction n
16 Attribute identifier
Set Event Get with acknowledgement Set with acknowledgement Event with acknowledgement Get response Set response Event response
Success Invalid endpoint Unsupported attribute Invalid command type Invalid attribute data length Invalid attribute data Application defined error
20
for commands which do not fit into the KVP structure form data response support
21
Application Framework
ZPUI
Application Object 1
[On Endpoint 1] APSDE-SAP
NLME-SAP
ZC = ZigBee Coordinator
ZigBeeTM Alliance | Wireless Control That Simply Works
Copyright 2005-2006. All Rights Reserved.
23
Binding Commands
Addressing Request Unicast to ZC Unicast to ZC or Src Unicast to ZC or Src Response Unicast Unicast Unicast
ZC = ZigBee Coordinator
ZigBeeTM Alliance | Wireless Control That Simply Works
Copyright 2005-2006. All Rights Reserved.
24
Command Network discovery Neighbour table Routing table Binding table Leave network Direct network join
Addressing Request Unicast to ZC/router Unicast to ZC/router Unicast to ZC/router Unicast to ZC/router Unicast Unicast to ZC/router Response Unicast Unicast Unicast Unicast Unicast Unicast
ZC = ZigBee Coordinator
ZigBeeTM Alliance | Wireless Control That Simply Works
Copyright 2005-2006. All Rights Reserved.
25
26
Profiles
Application Framework
ZPUI
Application Object 1
[On Endpoint 1] APSDE-SAP
NLME-SAP
experience
28
What is a Profile?
Part 1: profile specification
A A
set of devices required in the application area set of clusters to implement the functionality
A set of attributes to represent device state A set of commands to enable the communication
Specification Specific
of PICS* for device conformance specification of test cases for conformance testing
Profile Classes
Standard profiles
For
generically useful applications publicly by members of the ZigBee Alliance follows the profile lifecycle within the Application Framework Working Group
Developed Managed
Development Enables
products to undergo logo certification so that the ZigBee logo can be used manufacturer specific proprietary applications privately by individual manufacturers profiles must use a ZigBee allocated profile identifier
Private profiles
For Developed Private
Commercial
30
Pre-development
Development
Gauge interest
31
ZigBee Profiles
Home Automation Commercial Building Automation Industrial Plant Monitoring Automatic Meter Reading
domains
Each specification specifies the cluster sets
domains
Each profile collects related elements from
General cluster for basic manipulation and common tasks Mandatory clusters for fundamental functionality Optional clusters for enhanced functionality
Commercial Devices
Ballast Unit General Load control OccSensor ctrl LightSensor ctrl Ballast control PropExtCluster1 Occupancy Sensor General Basic OS ctrl Adv. OS ctrl PropExtCluster2
33
Current Profiles
Commercial building automation
Complete
Home automation
Low
to high end residential systems for control of devices around the home time varying attributes related to operating environment and machinery conditions monitoring, asset tracking and structural
monitoring
34
applications
Automatic
Residential & commercial utility systems Body area networks Fitness monitoring: home, gym, on-the-move Patient monitoring In vehicle control: vehicular & entertainment Status monitoring
Personal/home
Automotive
Others
35
Summary
The ZigBee AFG manages
Three stack components Profiles development Data service to the profiles Binding mechanism Framework for profile development ZigBee descriptors Device & service discovery Binding management Network management Can be standard or private Standard profiles follow a defined procedure ZigBee Cluster Library provides a repository of functionality for profiles
36
Profiles
Any Questions?
TM