|
Z-Wave Protocol Controller Reference
|
Switch Multilevel Command Class handlers and control functions. More...
Functions | |
| sl_status_t | zwave_command_class_switch_multilevel_init () |
| This function initialize the Multilevel Switch Command Class handler. More... | |
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
| sl_status_t zwave_command_class_switch_multilevel_init | ( | ) |
This function initialize the Multilevel Switch Command Class handler.