Z-Wave Protocol Controller Reference
Binary Switch Command Class

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

Collaboration diagram for Binary Switch Command Class:

Functions

sl_status_t zwave_command_class_binary_switch_init ()
 This function initialize the Binary Switch Command Class handler. More...
 

Detailed Description

Binary Switch Command Class handlers and control functions.

This module implement functions for generating and parsing the Z-Wave frames for controlling the Binary 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:

Binary Switch data model

Function Documentation

◆ zwave_command_class_binary_switch_init()

sl_status_t zwave_command_class_binary_switch_init ( )

This function initialize the Binary Switch Command Class handler.

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