INS14259-9 Z-Wave Plus V2 Application Framework SDK7 2019-12-05
silabs.com | Building a more connected world.
6.6.2 Endpoint Configuration .........................................................................................................22
7 COMMAND CLASSES ...................................................................................................................24
7.1 General Interfacing to CCs ...............................................................................................................24
7.1.1 Unsolicited Transmission ......................................................................................................24
7.1.2 Respond to Received Command ...........................................................................................25
7.1.3 CC Version .............................................................................................................................25
7.1.4 True Status Support ..............................................................................................................26
7.2 Implementing a CC...........................................................................................................................26
7.3 Association Group Information CC...................................................................................................26
7.3.1 API .........................................................................................................................................26
7.4 Battery CC ........................................................................................................................................26
7.5 Indicator CC......................................................................................................................................27
7.6 Notification CC Version 8 .................................................................................................................27
7.7 Supervision CC .................................................................................................................................27
7.7.1 Configuration Scenarios ........................................................................................................28
7.7.1.1 Default Configuration .......................................................................................................28
7.7.1.2 Handle More Supervision Reports....................................................................................28
7.7.1.3 Control Supervision Reports.............................................................................................30
8 UTILITIES.....................................................................................................................................32
8.1 AGI Module ......................................................................................................................................32
8.1.1 Configuration of AGI..............................................................................................................32
8.1.1.1 Example 1: How to Set Up AGI for a Wall Controller........................................................33
8.1.1.2 Example 2: How to Extend the Wall Controller with 2 Buttons .......................................34
8.1.2 Using AGI...............................................................................................................................35
8.2 Association Module .........................................................................................................................35
8.2.1 Initialization...........................................................................................................................36
8.2.1.1 Example 3: How to Use Group Mapping ..........................................................................37
8.3 Interfacing Firmware Update Module “ota_util”.............................................................................38
8.4 Peripheral Drivers ............................................................................................................................39
8.4.1 GPIO ......................................................................................................................................39
8.4.1.1 GPIO port usage in serial API............................................................................................40
8.4.2 UART Driver...........................................................................................................................41
8.4.3 ADC Driver.............................................................................................................................42
8.5 Event Distributor..............................................................................................................................43
8.5.1 Event Loop.............................................................................................................................43
8.5.2 Event Queues ........................................................................................................................44
8.5.3 Event Handler........................................................................................................................45
8.5.4 Job Event Queue ...................................................................................................................46
8.5.5 Simple Event Handling ..........................................................................................................46
8.5.6 Multiple Event Jobs Handling................................................................................................47
8.6 Power Manager................................................................................................................................48
8.7 Application Timers ...........................................................................................................................50