没有合适的资源?快使用搜索试试~ 我知道了~
首页ZigBee 3.0协议ZCL 6:应用框架与规范
ZigBee 3.0协议ZCL 6:应用框架与规范
5星 · 超过95%的资源 需积分: 50 76 下载量 174 浏览量
更新于2024-07-17
2
收藏 8.15MB PDF 举报
ZigBee 3.0协议,全称为ZigBee Cluster Library Specification Revision 6 (ZCL6),是由ZigBee Alliance在2016年1月14日发布的文档ZigBee Document 07-5123-06。该文档旨在定义ZigBee Cluster Library(ZCL)的第六版,这是一个用于构建和管理智能家居、物联网设备间通信的重要技术框架。
ZigBee Cluster Library是ZigBee网络中的一个重要组成部分,它提供了一种标准化的方式来组织和实现设备间的通信功能,这些功能可以被归类为不同的"簇"(Clusters)。ZCL6的设计目的是为了增强设备的互操作性,简化设备开发过程,并支持多种应用场景,如能源管理、安全、环境监控等。
文档涵盖了ZCL的基本概念、架构、命令集、数据模型以及应用框架(Application Framework)。ZCL6的主要特点包括:
1. **标准接口**:ZCL定义了统一的接口,使得不同品牌和类型的设备可以相互通信,无需担心兼容性问题。
2. **模块化设计**:通过簇的概念,将复杂的任务分解为可重用和可扩展的部分,提高了开发效率。
3. **安全性和隐私保护**:ZCL6注重数据的安全传输和加密,确保用户信息和个人隐私的保护。
4. **节能优化**:通过簇内的能量管理功能,降低设备能耗,延长电池寿命。
5. **应用层支持**:提供了一个通用的应用框架,使得开发者能够快速构建和部署基于ZigBee的智能解决方案。
然而,值得注意的是,ZigBee Alliance的规范可能受到第三方知识产权的限制,包括但不限于专利、版权或商标权,这意味着在使用ZigBee 3.0协议时需要确保遵循相应的授权条款,可能需要与相关的专利持有者达成协议。
ZigBee 3.0协议是连接和控制智能家居设备的关键技术,其规范的发布旨在推动整个行业的标准化发展,提升用户体验并促进技术的广泛应用。对于开发人员和设备制造商来说,理解和掌握ZCL6是进入物联网市场的重要一步。
ZigBee Cluster Library Specification
ZigBee Document – 075123
Page 16 Copyright 2007-2016, The ZigBee Alliance. All rights reserved.
15.2 EN50523 Appliance Control ..................................................................................................... 15-1
15.2.1 Overview ....................................................................................................................... 15-1
15.2.2 General Description ...................................................................................................... 15-2
15.2.3 Server Attributes ........................................................................................................... 15-2
15.2.4 Server Commands Received ......................................................................................... 15-4
15.2.5 Server Commands Generated ........................................................................................ 15-7
15.2.6 Client ........................................................................................................................... 15-10
15.3 EN50523 Appliance Identification .......................................................................................... 15-10
15.3.1 Overview ..................................................................................................................... 15-10
15.3.2 Server .......................................................................................................................... 15-11
15.3.3 Client ........................................................................................................................... 15-14
15.4 EN50523 Appliance Events and Alerts ................................................................................... 15-15
15.4.1 Overview ..................................................................................................................... 15-15
15.4.2 Server .......................................................................................................................... 15-16
15.4.3 Client ........................................................................................................................... 15-19
15.5 Appliance Statistics ................................................................................................................. 15-20
15.5.1 Overview ..................................................................................................................... 15-20
15.5.2 Server .......................................................................................................................... 15-21
15.5.3 Client ........................................................................................................................... 15-23
15.5.4 Appliance Statistics Cluster Sequence Diagram ......................................................... 15-24
ZigBee Cluster Library
Document – 075123
Copyright 2007-2016, The ZigBee Alliance. All rights reserved. Page 17
LIST OF FIGURES
Figure 2-1. The ZCL Client Server Model ...................................................................................................2-2
Figure 2-2. Format of the General ZCL Frame ............................................................................................2-6
Figure 2-3. Format of the Frame Control Field ............................................................................................2-6
Figure 2-4. Values of the Frame Type Sub-field ..........................................................................................2-6
Figure 2-5. Format of the Read Attributes Command Frame .......................................................................2-9
Figure 2-6. Format of Read Attributes Response Command Frame ..........................................................2-10
Figure 2-7. Format of the Read Attributes Status Record Field .................................................................2-10
Figure 2-8. Format of the Attribute Value Field for an Array, Set or Bag .................................................2-11
Figure 2-9. Format of the Attribute Value Field for a Structure .................................................................2-11
Figure 2-10. Format of the Write Attributes Command Frame ..................................................................2-12
Figure 2-11. Format of the Write Attribute Record Field ..........................................................................2-12
Figure 2-12. Format of Write Attributes Response Command Frame ........................................................2-13
Figure 2-13. Format of the Write Attribute Status Record Field ................................................................2-14
Figure 2-14. Write Attributes No Response Command Frame ..................................................................2-14
Figure 2-15. Format of the Configure Reporting Command Frame ...........................................................2-16
Figure 2-16. Format of the Attribute Reporting Configuration Record ......................................................2-16
Figure 2-17. Format of the Configure Reporting Response Command Frame ...........................................2-19
Figure 2-18. Format of the Attribute Status Record Field ..........................................................................2-19
Figure 2-19. Read Reporting Configuration Command Frame ..................................................................2-20
Figure 2-20. Format of the Attribute Status Record Field ..........................................................................2-20
Figure 2-21. Format of the Read Reporting Configuration Response Command Frame ...........................2-21
Figure 2-22. Attribute Reporting Configuration Record Field ...................................................................2-21
Figure 2-23. Format of the Report Attributes Command Frame ................................................................2-23
Figure 2-24. Format of the Attribute Report Fields ....................................................................................2-23
Figure 2-25. Format of the Default Response Command Frame ................................................................2-25
Figure 2-26. Format of the Discover Attributes Command Frame .............................................................2-26
Figure 2-27. Discover Attributes Response Command Frame ...................................................................2-27
Figure 2-28. Format of the Attribute Report Fields ....................................................................................2-27
Figure 2-29. Format of Read Attributes Structured Command Frame .......................................................2-28
Figure 2-30. Format of the Selector Field ..................................................................................................2-29
Figure 2-31. Write Attributes Structured Command Frame .......................................................................2-30
Figure 2-32. Format of the Write Attribute Record Field ..........................................................................2-30
Figure 2-33. Format of the Selector Field ..................................................................................................2-30
Figure 2-34. Write Attributes Structured Response Command Frame .......................................................2-32
Figure 2-35. Format of the Write Attribute Status Record Field ................................................................2-33
Figure 2-36. Format of the Discover Server Commands Command Frame ...............................................2-34
Figure 2-37. Format of the Discover Commands Received Response Frame ............................................2-35
Figure 2-38. Format of the Discover Attributes Extended Command Frame .............................................2-36
Figure 2-39. Format of the Discover Attributes Extended Response Command Frame ............................2-37
Figure 2-40. Format of the Extended Attribute Information Fields............................................................2-38
Figure 2-41. Format of the Attribute Access Control Field ........................................................................2-38
Figure 2-42. Format of the ZigBee Semi-precision Number ......................................................................2-44
Figure 2-43. Format of the Octet String Type ............................................................................................2-46
Figure 2-44. Format of the Character String Type .....................................................................................2-46
Figure 2-45. Format of the Long Octet String Type ...................................................................................2-46
Figure 2-46. Format of the Long Character String Type ............................................................................2-47
Figure 2-47. Format of the Time of Day Type ...........................................................................................2-48
Figure 2-48. Format of the Date Type ........................................................................................................2-49
Figure 3-1. Typical Usage of Device Configuration and Installation Clusters .............................................3-2
Figure 3-2. Typical Usage of On/Off and Level Control Clusters ...............................................................3-3
Figure 3-3. Typical Usage of the Alarms Cluster .........................................................................................3-3
Figure 3-4. Typical Usage of the Location Cluster with Centralized Device ...............................................3-4
ZigBee Cluster Library Specification
ZigBee Document – 075123
Page 18 Copyright 2007-2016, The ZigBee Alliance. All rights reserved.
Figure 3-5. Example Usage of the Input, Output and Value Clusters .......................................................... 3-5
Figure 3-6. Format of Identify Query Response Command Payload ......................................................... 3-27
Figure 3-7. Format of the Trigger Effect Command .................................................................................. 3-28
Figure 3-8. Format of Identify Query Response Command Payload ......................................................... 3-29
Figure 3-9. Format of the Add Group Command Payload ........................................................................ 3-33
Figure 3-10. Format of the View Group Command Payload ..................................................................... 3-33
Figure 3-11. Format of Get Group Membership Command Payload ........................................................ 3-33
Figure 3-13. Add Group If Identifying Command Payload ....................................................................... 3-35
Figure 3-14. Format of the Add Group Response Command Payload ...................................................... 3-36
Figure 3-15. Format of the View Group Response Command Payload .................................................... 3-36
Figure 3-16. Format of the Get Group Membership Response Command Payload .................................. 3-36
Figure 3-17. Format of Remove Group Response Command Payload ...................................................... 3-37
Figure 3-18. Format of the Add Scene Command Payload ....................................................................... 3-41
Figure 3-19. Format of the View Scene Command Payload ..................................................................... 3-42
Figure 3-20. Format of the Remove Scene Command Payload ................................................................. 3-42
Figure 3-21. Format of the Remove All Scenes Command Payload ......................................................... 3-43
Figure 3-22. Format of the Store Scene Command Payload ...................................................................... 3-43
Figure 3-23. Format of the Recall Scene Command Payload .................................................................... 3-44
Figure 3-24. Format of Get Scene Membership Command Payload ......................................................... 3-44
Figure 3-26. Format of the Mode Field of the Copy Scene Command ...................................................... 3-45
Figure 3-27. Format of the Add Scene Response Command Payload ....................................................... 3-47
Figure 3-28. Format of the View Scene Response Command Payload ..................................................... 3-47
Figure 3-29. Format of Remove Scene Response Command Payload ...................................................... 3-48
Figure 3-30. Format of the Remove All Scenes Response Command Payload ......................................... 3-48
Figure 3-31. Format of the Store Scene Response Command Payload ..................................................... 3-48
Figure 3-32. Format of the Get Scene Membership Response CommandPayload .................................... 3-49
Figure 3-34. State Behavior of Store and Recall Global Scene ................................................................. 3-53
Figure 3-35. Format of the Off With Effect Command ............................................................................. 3-54
Figure 3-36. Format of the On With Timed Off Command ....................................................................... 3-56
Figure 3-37. Format of the On/Off Control Field of the On With Timed Off Command .......................... 3-56
Figure 3-38. On/Off Cluster Operation State Machine .............................................................................. 3-57
Figure 3-39. Format of the Move to Level Command Payload ................................................................. 3-64
Figure 3-40. Format of the Move Command Payload ............................................................................... 3-64
Figure 3-41. Format of the Step Command Payload ................................................................................. 3-65
Figure 3-42. Format of the Reset Alarm Command Payload .................................................................... 3-69
Figure 3-43. Format of the Alarm Command Payload .............................................................................. 3-70
Figure 3-44. Format of the Get Alarm Response Command Payload ....................................................... 3-70
Figure 3-45. Example of Usage of RSSI Location Cluster ........................................................................ 3-75
Figure 3-46. Format of the Set Absolute Location Command Payload ..................................................... 3-80
Figure 3-47. Format of the Set Device Configuration Payload ................................................................. 3-80
Figure 3-48. Format of the Get Device Configuration Payload ................................................................. 3-81
Figure 3-49. Format of the Get Location Data Payload ............................................................................. 3-81
Figure 3-50. Format of the RSSI Response Command Payload ................................................................ 3-83
Figure 3-51. Format of the Send Pings Command Payload ....................................................................... 3-83
Figure 3-52. Format of the Anchor Node Announce Command Payload .................................................. 3-84
Figure 3-53. Format of the Device Configuration Response Payload ....................................................... 3-85
Figure 3-54. Format of the Location Data Response Payload ................................................................... 3-85
Figure 3-55. Format of the Location Data Notification Payload ............................................................... 3-86
Figure 3-56. Format of the RSSI Ping Command Payload ........................................................................ 3-87
Figure 3-57. Format of the Report RSSI Measurements Command Payload ............................................. 3-87
Figure 3-58. Neighbor Info Structure ........................................................................................................ 3-88
Figure 3-59. Format of the Request Own Location Command Payload .................................................... 3-88
Figure 3-60. Format of the Check-in Response Payload ......................................................................... 3-147
Figure 3-61. Format of the Set Long Poll Interval Command Payload ................................................... 3-149
Figure 3-62. Format of the Set Short Poll Interval Command Payload ................................................... 3-149
Figure 3-63. Poll Control Cluster Sequence Diagram ............................................................................. 3-150
ZigBee Cluster Library
Document – 075123
Copyright 2007-2016, The ZigBee Alliance. All rights reserved. Page 19
Figure 3-64. Typical Usage of the Power Profile Cluster ........................................................................ 3-152
Figure 3-65. Format of the PowerProfileRequest Command Payload ..................................................... 3-155
Figure 3-66. Format of the GetPowerProfilePriceResponse Command .................................................. 3-156
Figure 3-67. Format of the GetOverallSchedulePriceResponse Command ............................................. 3-157
Figure 3-68. Format of the EnergyPhasesScheduleNotification Command Payload ............................... 3-158
Figure 3-69. Format of the PowerProfileNotification Command Payload (1 of 2) .................................. 3-162
Figure 3-70. Format of the PowerProfileStateResponse Command Frame ............................................. 3-165
Figure 3-71. Format of the Power Profile Record Field ........................................................................... 3-165
Figure 3-72. Power Profile States ............................................................................................................. 3-167
Figure 3-73. Power Profile State Diagram ............................................................................................... 3-167
Figure 3-74. Format of EnergyPhasesScheduleStateResponse in Case of No Scheduled Phases ............ 3-170
Figure 3-75. Format of the PowerProfileScheduleConstraintsNotification Command Frame ................. 3-171
Figure 3-76. Format of the GetPowerProfilePriceExtended Command Payload ..................................... 3-172
Figure 3-77. Visualization of Price Associated to a Power Profile .......................................................... 3-173
Figure 3-78. Energy Remote Disabled: Example of Sequence Diagram with User Interaction ............... 3-174
Figure 3-79. Energy Remote Enabled: Example of Sequence Diagram with User Interaction ................ 3-175
Figure 3-80. Typical Usage of the Meter Identification Cluster ............................................................... 3-176
Figure 4-1. Typical Usage of Illuminance Measurement and Level Sensing Clusters .................................4-2
Figure 4-2. Typical Usage of Temperature, Pressure and Flow Measurement Clusters...............................4-3
Figure 4-3. Typical Usage of Occupancy Sensing Cluster ...........................................................................4-4
Figure 4-4. The DC Overload Alarm Mask ................................................................................................4-34
Figure 4-5. The ACAlarmsMask Attribute .................................................................................................4-35
Figure 4-6. Format of the Get Profile Info Response Command ................................................................4-43
Figure 4-7. ProfileIntervalPeriod ................................................................................................................4-43
Figure 4-8. Format of the Get Measurement Profile Response Command .................................................4-44
Figure 4-9. Format of the Get Measurement Profile Command .................................................................4-45
Figure 5-1. Typical Usage of Ballast Configuration and Color Control Clusters .........................................5-2
Figure 5-2. Format of the Move to Hue Command Payload ......................................................................5-13
Figure 5-3. Format of the Move Hue Command Payload ..........................................................................5-14
Figure 5-4. Format of the Step Hue Command Payload ............................................................................5-15
Figure 5-5. Format of the Move to Saturation Command Payload.............................................................5-16
Figure 5-6. Format of the Move Saturation Command Payload .................................................................5-16
Figure 5-7. Format of the Step Saturation Command Payload ...................................................................5-17
Figure 5-8. Move to Hue and Saturation Command Payload .....................................................................5-18
Figure 5-10. Format of the Move Color Command Payload ......................................................................5-19
Figure 5-11. Format of the Step Color Command Payload ........................................................................5-20
Figure 5-12. Move to Color Temperature Command Payload ...................................................................5-21
Figure 5-13. Format of the Enhanced Move to Hue Command .................................................................5-21
Figure 5-15. Format of the Enhanced Step Hue Command ........................................................................5-23
Figure 5-16. Format of the Enhanced Move to Hue and Saturation Command .........................................5-23
Figure 5-17. Format of the Color Loop Set Command ..............................................................................5-24
Figure 5-18. Format of the Update Flags Field of the Color Loop Set Command .....................................5-24
Figure 5-19. Format of the Move Color Temperature Command ..............................................................5-26
Figure 5-20. Format of the Step Color Temperature Command .................................................................5-28
Figure 6-1. Typical Usage of Pump Configuration and Control Cluster ......................................................6-2
Figure 6-2. Example Usage of the Thermostat and Related Clusters ...........................................................6-2
Figure 6-3. Priority Scheme of Pump Operation and Control ....................................................................6-10
Figure 6-4. Format of the Setpoint Raise/Lower Command Payload .........................................................6-26
Figure 6-5. Set Weekly Schedule Command Payload Format (1 of 2) ......................................................6-26
Figure 6-6. Set Weekly Schedule Command Payload Format (2 of 2) ......................................................6-27
Figure 6-7. Set Heat Weekly Schedule Command Payload Format (1 of 2) ..............................................6-28
Figure 6-8. Set Heat Weekly Schedule Command Payload Format (2 of 2) ..............................................6-28
Figure 6-9. Set Cool Weekly Schedule Command Payload Format (1 of 2) ..............................................6-28
Figure 6-10. Set Cool Weekly Schedule Command Payload Format (2 of 2) ............................................6-28
Figure 6-11. Set Heat & Cool Weekly Schedule Command Payload Format (1 of 2) ...............................6-29
Figure 6-12. Set Heat & Cool Weekly Schedule Command Payload Format (2 of 2) ...............................6-29
ZigBee Cluster Library Specification
ZigBee Document – 075123
Page 20 Copyright 2007-2016, The ZigBee Alliance. All rights reserved.
Figure 6-13. Format of the Get Weekly Schedule Command Payload ...................................................... 6-30
Figure 6-14. Format of the Relay Status Log Payload ............................................................................... 6-31
Figure 7-1. Typical Usage of the Closures Clusters .................................................................................... 7-2
Figure 7-2. Format of the Alarm Cluster ..................................................................................................... 7-6
Figure 7-3. Format of the Lock Door Command ....................................................................................... 7-20
Figure 7-4. Format of the Unlock Door Command ................................................................................... 7-20
Figure 7-5. Format of the Toggle Command ............................................................................................. 7-20
Figure 7-6. Format of the Unlock with Timeout Command ...................................................................... 7-21
Figure 7-7. Format of the Get Log Record Command ............................................................................... 7-21
Figure 7-8. Format of the Set PIN Code Command .................................................................................. 7-22
Figure 7-9. Format of the Get PIN Code Command .................................................................................. 7-22
Figure 7-10. Format of the Clear PIN Code Command ............................................................................. 7-23
Figure 7-11. Format of the Set User Status Command .............................................................................. 7-23
Figure 7-12. Format of the Get User Status Command ............................................................................. 7-23
Figure 7-13. Format of the Set Week Day Schedule Command ................................................................ 7-23
Figure 7-14. Format of Days Mask Bits .................................................................................................... 7-24
Figure 7-15. Format of the Get Week Day Schedule Command ............................................................... 7-24
Figure 7-16. Format of the Clear Week Day Schedule Command ............................................................ 7-24
Figure 7-17. Format of the Set Year Day Schedule Command ................................................................. 7-25
Figure 7-18. Format of the Get Year Day Schedule Command ................................................................. 7-25
Figure 7-19. Format of the Clear Year Day Schedule Command .............................................................. 7-25
Figure 7-20. Format of the Set Holiday Schedule Command .................................................................... 7-26
Figure 7-21. Format of the Get Holiday Schedule Command ................................................................... 7-26
Figure 7-22. Format of the Clear Holiday Schedule Command ................................................................ 7-26
Figure 7-23. Format of the Set User Type Command................................................................................ 7-26
Figure 7-24. Format of the Get User Type Command ............................................................................... 7-27
Figure 7-25. Format of the Set RFID Code Command .............................................................................. 7-27
Figure 7-26. Format of the Get RFID Code Command ............................................................................. 7-28
Figure 7-27. Format of the Clear RFID Code Command .......................................................................... 7-28
Figure 7-28. Format of the Lock Door Response Command Payload ....................................................... 7-30
Figure 7-29. Format of the Unlock Door Response Command Payload ................................................... 7-30
Figure 7-30. Format of the Get Log Record Response Command ............................................................ 7-30
Figure 7-31. Format of the Set PIN Code Response Command ................................................................ 7-31
Figure 7-32. Format of the Get PIN Code Response Command................................................................ 7-32
Figure 7-33. Format of the Clear PIN Code Response Command ............................................................. 7-32
Figure 7-34. Format of the Clear All PIN Codes Response Command ..................................................... 7-32
Figure 7-35. Format of the Set User Status Response Command .............................................................. 7-33
Figure 7-36. Format of the Get User Status Response Command ............................................................. 7-33
Figure 7-37. Format of the Set Week Day Schedule Response Command ................................................ 7-33
Figure 7-38. Format of the Get Week Day Schedule Response Command ............................................... 7-33
Figure 7-39. Format of Days Mask Bits .................................................................................................... 7-34
Figure 7-40. Format of the Clear Week Day Schedule ID Response Command ....................................... 7-34
Figure 7-41. Format of the Set Year Day Schedule Response Command ................................................. 7-35
Figure 7-42. Format of the Get Year Day Schedule Response Command ................................................ 7-35
Figure 7-43. Format of the Clear Year Day Schedule Response Command .............................................. 7-36
Figure 7-44. Format of the Set Holiday Schedule Response Command .................................................... 7-36
Figure 7-45. Format of the Get Holiday Schedule Response Command ................................................... 7-36
Figure 7-46. Format of the Clear Holiday Schedule Response Command ................................................ 7-37
Figure 7-47. Format of the Set User Type Response Command ............................................................... 7-37
Figure 7-48. Format of the Get User Type Response Command ............................................................... 7-37
Figure 7-49. Format of the Set RFID Code Response Command .............................................................. 7-38
Figure 7-50. Format of the Get RFID Code Response Command ............................................................. 7-38
Figure 7-51. Format of the Clear RIFD Code Response Command .......................................................... 7-38
Figure 7-52. Format of the Clear All RFID Codes Response Command .................................................. 7-39
Figure 7-53. Format of the Operation Event Notification Command ........................................................ 7-39
Figure 7-54. Format of the Programming Event Notification Command .................................................. 7-43
剩余868页未读,继续阅读
2020-05-02 上传
2018-11-06 上传
2021-05-18 上传
点击了解资源详情
2023-11-22 上传
2023-06-08 上传
2023-02-07 上传
希望的野
- 粉丝: 0
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 高清艺术文字图标资源,PNG和ICO格式免费下载
- mui框架HTML5应用界面组件使用示例教程
- Vue.js开发利器:chrome-vue-devtools插件解析
- 掌握ElectronBrowserJS:打造跨平台电子应用
- 前端导师教程:构建与部署社交证明页面
- Java多线程与线程安全在断点续传中的实现
- 免Root一键卸载安卓预装应用教程
- 易语言实现高级表格滚动条完美控制技巧
- 超声波测距尺的源码实现
- 数据可视化与交互:构建易用的数据界面
- 实现Discourse外聘回复自动标记的简易插件
- 链表的头插法与尾插法实现及长度计算
- Playwright与Typescript及Mocha集成:自动化UI测试实践指南
- 128x128像素线性工具图标下载集合
- 易语言安装包程序增强版:智能导入与重复库过滤
- 利用AJAX与Spotify API在Google地图中探索世界音乐排行榜
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功