INS13953-4 Z-Wave Plus Application Framework v6.8x.0x 2018-04-05
silabs.com | Building a more connected world.
Table of Contents
1 DEFINITIONS, ACRONYMS AND ABBREVIATIONS ......................................................................... 6
2 INTRODUCTION ................................................................................................................................... 6
3 PURPOSE ............................................................................................................................................. 6
4 ARCHITECTURE .................................................................................................................................. 7
4.1 Smart Start ......................................................................................................................................... 8
4.2 Power Management .........................................................................................................................10
5 HOW TO DEVELOP A Z-WAVE PLUS APPLICATION ....................................................................11
5.1 Create application folder and setup make environment ...................................................................11
5.2 Setting up config_app.h ....................................................................................................................11
5.2.1 Generic type, specific type and device options ......................................................................11
5.2.2 Role Type, node type, icon type and user icon type (Z-Wave Plus Info CC) ........................11
5.2.3 Manufacturer Specific CC / Firmware update ........................................................................12
5.2.4 Association Group Information (AGI) .....................................................................................12
5.2.5 Security ..................................................................................................................................13
5.2.6 Firmware upgrade ..................................................................................................................14
5.2.7 Smart Start Included Node Information Frame (INIF) configuration ......................................14
5.3 Setting up EEPROM files .................................................................................................................14
5.4 Source file .........................................................................................................................................15
5.4.1 Command class lists configuration ........................................................................................15
5.4.2 Endpoint configuration ...........................................................................................................15
6 COMMAND CLASSES .......................................................................................................................17
6.1 General interfacing to CCs ...............................................................................................................17
6.1.1 Unsolicited transmission ........................................................................................................17
6.1.2 Respond to received Command ............................................................................................17
6.2 Implementing a CC ...........................................................................................................................19
6.3 Association Group Information CC ...................................................................................................19
6.3.1 API ..........................................................................................................................................19
6.4 Battery CC ........................................................................................................................................20
6.5 Notification CC version 8 ..................................................................................................................20
6.6 Supervision CC.................................................................................................................................21
6.6.1 Configuration scenarios .........................................................................................................21
6.6.1.1 Default configuration ......................................................................................................21
6.6.1.2 Handle more Supervision Reports .................................................................................22
6.6.1.3 Control Supervision Reports ..........................................................................................23
7 UTILITIES ............................................................................................................................................25
7.1 AGI module .......................................................................................................................................25
7.1.1 Configuration of AGI ...............................................................................................................25
7.1.1.1 Example 1: how to setup AGI for a Wall Controller. .......................................................26
7.1.1.2 Example 2: how to extend the Wall controller with 2 buttons .........................................27
7.1.2 Using AGI ...............................................................................................................................28
7.2 Association module ..........................................................................................................................28
7.2.1 Setting up the NVM ................................................................................................................29
7.2.2 Initialization.............................................................................................................................30
7.2.2.1 Example 3: How to use group mapping. ........................................................................30
7.3 Interfacing Firmware Update module “ota_util” ................................................................................32
7.4 GPIO Driver ......................................................................................................................................32
7.5 Key Driver .........................................................................................................................................32
7.6 Event Scheduler ...............................................................................................................................33
7.6.1 Simple event job handling ......................................................................................................33