BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Types | Public Member Functions
BeeeOn::ZWaveNode::CommandClass Class Reference

Command class representation of a Z-Wave value. We support only a subset of command classes that are relevant for using with the BeeeOn system. More...

#include <ZWaveNode.h>

Public Types

enum  {
  BASIC = 32, SWITCH_BINARY = 37, SENSOR_BINARY = 48, SENSOR_MULTILEVEL = 49,
  BATTERY = 128, WAKE_UP = 132, ALARM = 113
}
 

Public Member Functions

 CommandClass (uint8_t id, uint8_t index, uint8_t instance, const std::string &name="")
 
uint8_t id () const
 
uint8_t index () const
 
uint8_t instance () const
 
std::string name () const
 
std::string toString () const
 
bool operator< (const CommandClass &cc) const
 

Detailed Description

Command class representation of a Z-Wave value. We support only a subset of command classes that are relevant for using with the BeeeOn system.

Member Function Documentation

uint8_t ZWaveNode::CommandClass::id ( ) const
Returns
command class's ID (SWITCH_BINARY, BATTERY, ...)
uint8_t ZWaveNode::CommandClass::index ( ) const
Returns
index of the specific value represented by the command class
uint8_t ZWaveNode::CommandClass::instance ( ) const
Returns
identifier for situations when certain command class is duplicated
string ZWaveNode::CommandClass::name ( ) const
Returns
command class's name, it can be empty if not initialized

The documentation for this class was generated from the following files: