INS13427-6 Z-Wave Plus Application Framework v6.71.0x 2018-03-02
silabs.com | Building a more connected world.
Table of Contents
1 DEFINITIONS, ACRONYMS AND ABBREVIATIONS ......................................................................... 1
2 INTRODUCTION ................................................................................................................................... 1
3 PURPOSE ............................................................................................................................................. 1
4 ARCHITECTURE .................................................................................................................................. 2
5 HOW TO DEVELOP A Z-WAVE PLUS APPLICATION ...................................................................... 3
5.1 Create application folder and setup make environment ..................................................................... 3
5.2 Setting up config_app.h ...................................................................................................................... 3
5.2.1 Generic type, specific type and device options ........................................................................ 3
5.2.2 Role Type, node type, icon type and user icon type (Z-Wave Plus Info CC) .......................... 3
5.2.3 Manufacturer Specific CC / Firmware update .......................................................................... 4
5.2.4 Association Group Information (AGI) ....................................................................................... 4
5.2.5 Security .................................................................................................................................... 5
5.2.5.1 Authentication type ........................................................................................................... 5
5.2.5.2 Security keys .................................................................................................................... 6
5.2.6 Firmware upgrade .................................................................................................................... 6
5.3 Setting up EEPROM files ................................................................................................................... 6
5.4 Source file ........................................................................................................................................... 6
5.4.1 Command class lists configuration .......................................................................................... 7
5.4.2 Endpoint configuration ............................................................................................................. 7
6 COMMAND CLASSES ......................................................................................................................... 8
6.1 General interfacing to CCs ................................................................................................................. 8
6.1.1 Unsolicited transmission .......................................................................................................... 8
6.1.2 Respond to received Command .............................................................................................. 8
6.2 Battery CC ........................................................................................................................................10
6.3 Notification CC version 8 ..................................................................................................................10
6.4 Supervision CC.................................................................................................................................11
6.4.1 Configuration scenarios .........................................................................................................11
6.4.1.1 Default configuration ......................................................................................................11
6.4.1.2 Handle more Supervision Reports .................................................................................12
6.4.1.3 Support Supervision Reports .........................................................................................13
6.5 Implementing a CC ...........................................................................................................................15
7 UTILITIES ............................................................................................................................................16
7.1 AGI module .......................................................................................................................................16
7.1.1 Configuration of AGI ...............................................................................................................16
7.1.1.1 Example 1: how to setup AGI for a Wall Controller. .......................................................17
7.1.1.2 Example 2: how to extend the Wall controller with 2 buttons .........................................18
7.1.2 Using AGI ...............................................................................................................................19
7.2 Association module ..........................................................................................................................19
7.2.1 Setting up the NVM ................................................................................................................20
7.2.2 Initialization.............................................................................................................................21
7.2.2.1 Example 3: How to use group mapping. ........................................................................21
7.3 Battery Plus ......................................................................................................................................23
7.3.1 Initialization.............................................................................................................................23
7.4 Interfacing Firmware Update module “ota_util” ................................................................................23
7.5 GPIO Driver ......................................................................................................................................24
7.6 Key Driver .........................................................................................................................................24
7.7 Event Scheduler ...............................................................................................................................24
7.7.1 Simple event job handling ......................................................................................................25
7.7.2 Multiple event jobs handling ...................................................................................................26