Z-Wave Protocol Controller Reference
Switch Multilevel Command Class

Switch Multilevel Command Class handlers and control functions. More...

Collaboration diagram for Switch Multilevel Command Class:

Functions

sl_status_t zwave_command_class_switch_multilevel_init ()
 This function initialize the Multilevel Switch Command Class handler. More...
 

Detailed Description

Switch Multilevel Command Class handlers and control functions.

This module implement functions for generating and parsing the Z-Wave frames for controlling the Multilevel Switch Command Class.

The data model used for this command class is tailored to be mapped to the ZCL Level cluster.

The State attribute is a hook for the Set / Get rule registrations. The actual values being set and resolved are the duration and the value. If the duration and/or the value needs a resolution, the Command Class handler adjusts the state in order to trigger the resolver: state = reported [] for a get resolution state = desired [1] reported [0] for a set resolution state = desired [0] reported [0] for a no resolution

on_off is a virtual setting directly mapped to the OnOff attribute of the OnOff ZCL cluster. It helps deciding if the command class should take action

Multilevel Switch data model

Function Documentation

◆ zwave_command_class_switch_multilevel_init()

sl_status_t zwave_command_class_switch_multilevel_init ( )

This function initialize the Multilevel Switch Command Class handler.

Returns
SL_STATUS_OK on success, any other error code for an error.
Here is the call graph for this function:
Here is the caller graph for this function: