OpenZWave Library  1.6.1133
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Enumerations | Functions
Z-Wave CommandClass Support

Classes

class  OpenZWave::Internal::CC::Alarm
 Implements COMMAND_CLASS_NOTIFICATION (0x71), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::ApplicationStatus
 Implements COMMAND_CLASS_APPLICATION_STATUS (0x22), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::Association
 Implements COMMAND_CLASS_ASSOCIATION (0x85), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::AssociationCommandConfiguration
 Implements COMMAND_CLASS_ASSOCIATION_COMMAND_CONFIGURATION (0x9b), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::BarrierOperator
 Implements COMMAND_CLASS_BARRIER_OPERATOR (0x66), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::Basic
 Implements COMMAND_CLASS_BASIC (0x20), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::BasicWindowCovering
 Implements COMMAND_CLASS_BASIC_WINDOW_COVERING (0x50), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::Battery
 Implements COMMAND_CLASS_BATTERY (0x80), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::CentralScene
 Implements COMMAND_CLASS_CENTRAL_SCENE (0x5B), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::ClimateControlSchedule
 Implements COMMAND_CLASS_CLIMATE_CONTROL_SCHEDULE (0x46), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::Clock
 Implements COMMAND_CLASS_CLOCK (0x81), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::Color
 Implements COMMAND_CLASS_COLOR (0x33), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::CommandClass
 Base class for all Z-Wave command classes. More...
 
struct  OpenZWave::Internal::CC::CommandClass::RefreshValue
 
class  OpenZWave::Internal::CC::CommandClasses
 Manages a map of command classes supported by a specific Z-Wave node. More...
 
class  OpenZWave::Internal::CC::Configuration
 Implements COMMAND_CLASS_CONFIGURATION (0x70), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::ControllerReplication
 Implements COMMAND_CLASS_CONTROLLER_REPLICATION (0x21), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::CRC16Encap
 Implements COMMAND_CLASS_CRC_16_ENCAP (0x56), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::DeviceResetLocally
 Implements COMMAND_CLASS_DEVICE_RESET_LOCALLY (0x5a), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::DoorLock
 Implements COMMAND_CLASS_DOOR_LOCK (0x62), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::DoorLockLogging
 Implements COMMAND_CLASS_DOOR_LOCK_LOGGING (0x4C), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::EnergyProduction
 Implements COMMAND_CLASS_ENERGY_PRODUCTION (0x90), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::Hail
 Implements COMMAND_CLASS_HAIL (0x82), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::Indicator
 Implements COMMAND_CLASS_INDICATOR (0x87), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::Language
 Implements COMMAND_CLASS_LANGUAGE (0x89), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::Lock
 Implements COMMAND_CLASS_LOCK (0x76), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::ManufacturerProprietary
 Implements COMMAND_CLASS_PROPRIETARY (0x91), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::ManufacturerSpecific
 Implements COMMAND_CLASS_MANUFACTURER_SPECIFIC (0x72), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::Meter
 Implements COMMAND_CLASS_METER (0x32), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::MeterPulse
 Implements COMMAND_CLASS_METER_PULSE (0x35), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::MultiChannelAssociation
 Implements COMMAND_CLASS_MULTI_CHANNEL_ASSOCIATION (0x8E), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::MultiCmd
 Implements COMMAND_CLASS_MULTI_CMD (0x8f), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::MultiInstance
 Implements COMMAND_CLASS_MULTI_INSTANCE (0x60), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::NodeNaming
 Implements COMMAND_CLASS_NODE_NAMING (0x77), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::NoOperation
 Implements COMMAND_CLASS_NO_OPERATION (0x00), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::Powerlevel
 Implements COMMAND_CLASS_POWERLEVEL (0x73), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::Proprietary
 Implements COMMAND_CLASS_PROPRIETARY (0x88), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::Protection
 Implements COMMAND_CLASS_PROTECTION (0x75), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::SceneActivation
 Implements COMMAND_CLASS_SCENEACTIVATION (0x2B), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::Security
 Implements COMMAND_CLASS_SECURITY (0x98), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::SensorAlarm
 Implements COMMAND_CLASS_SENSOR_ALARM (0x9c), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::SensorBinary
 Implements COMMAND_CLASS_SENSOR_BINARY (0x30), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::SensorMultilevel
 Implements COMMAND_CLASS_SENSOR_MULTILEVEL (0x31), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::SoundSwitch
 Implements COMMAND_CLASS_SOUND_SWITCH (0x79), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::SwitchAll
 Implements COMMAND_CLASS_SWITCH_ALL (0x27), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::SwitchBinary
 Implements COMMAND_CLASS_SWITCH_BINARY (0x25), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::SwitchMultilevel
 Implements COMMAND_CLASS_SWITCH_MULTILEVEL (0x26), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::SwitchToggleBinary
 Implements COMMAND_CLASS_SWITCH_TOGGLE_BINARY (0x28), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::SwitchToggleMultilevel
 Implements COMMAND_CLASS_SWITCH_TOGGLE_MULTILEVEL (0x29), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::ThermostatFanMode
 Implements COMMAND_CLASS_THERMOSTAT_FAN_MODE (0x44), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::ThermostatFanState
 Implements COMMAND_CLASS_THERMOSTAT_FAN_STATE (0x45), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::ThermostatMode
 Implements COMMAND_CLASS_THERMOSTAT_MODE (0x40), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::ThermostatOperatingState
 Implements COMMAND_CLASS_THERMOSTAT_OPERATING_STATE (0x42), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::ThermostatSetpoint
 Implements COMMAND_CLASS_THERMOSTAT_SETPOINT (0x43), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::TimeParameters
 Implements COMMAND_CLASS_TIME_PARAMETERS (0x8B), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::UserCode
 Implements COMMAND_CLASS_USER_CODE (0x63), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::Version
 Implements COMMAND_CLASS_VERSION (0x86), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::WakeUp
 Implements COMMAND_CLASS_WAKE_UP (0x84), a Z-Wave device command class. More...
 
class  OpenZWave::Internal::CC::ZWavePlusInfo
 Implements COMMAND_CLASS_ZWAVEPLUS_INFO (0x5E), a Z-Wave device command class. More...
 

Enumerations

enum  { OpenZWave::Internal::CC::CommandClass::RequestFlag_Static = 0x00000001, OpenZWave::Internal::CC::CommandClass::RequestFlag_Session = 0x00000002, OpenZWave::Internal::CC::CommandClass::RequestFlag_Dynamic = 0x00000004, OpenZWave::Internal::CC::CommandClass::RequestFlag_AfterMark = 0x00000008 }
 
enum  OpenZWave::Internal::CC::CommandClass::StaticRequest { OpenZWave::Internal::CC::CommandClass::StaticRequest_Instances = 0x01, OpenZWave::Internal::CC::CommandClass::StaticRequest_Values = 0x02, OpenZWave::Internal::CC::CommandClass::StaticRequest_Version = 0x04 }
 
enum  OpenZWave::Internal::CC::MultiCmd::MultiCmdCmd { OpenZWave::Internal::CC::MultiCmd::MultiCmdCmd_Encap = 0x01 }
 
enum  OpenZWave::Internal::CC::MultiInstance::MultiInstanceCmd {
  OpenZWave::Internal::CC::MultiInstance::MultiInstanceCmd_Get = 0x04, OpenZWave::Internal::CC::MultiInstance::MultiInstanceCmd_Report = 0x05, OpenZWave::Internal::CC::MultiInstance::MultiInstanceCmd_Encap = 0x06, OpenZWave::Internal::CC::MultiInstance::MultiChannelCmd_EndPointGet = 0x07,
  OpenZWave::Internal::CC::MultiInstance::MultiChannelCmd_EndPointReport = 0x08, OpenZWave::Internal::CC::MultiInstance::MultiChannelCmd_CapabilityGet = 0x09, OpenZWave::Internal::CC::MultiInstance::MultiChannelCmd_CapabilityReport = 0x0a, OpenZWave::Internal::CC::MultiInstance::MultiChannelCmd_EndPointFind = 0x0b,
  OpenZWave::Internal::CC::MultiInstance::MultiChannelCmd_EndPointFindReport = 0x0c, OpenZWave::Internal::CC::MultiInstance::MultiChannelCmd_Encap = 0x0d
}
 
enum  OpenZWave::Internal::CC::Powerlevel::PowerLevelEnum {
  OpenZWave::Internal::CC::Powerlevel::PowerLevel_Normal = 0, OpenZWave::Internal::CC::Powerlevel::PowerLevel_Minus1dB, OpenZWave::Internal::CC::Powerlevel::PowerLevel_Minus2dB, OpenZWave::Internal::CC::Powerlevel::PowerLevel_Minus3dB,
  OpenZWave::Internal::CC::Powerlevel::PowerLevel_Minus4dB, OpenZWave::Internal::CC::Powerlevel::PowerLevel_Minus5dB, OpenZWave::Internal::CC::Powerlevel::PowerLevel_Minus6dB, OpenZWave::Internal::CC::Powerlevel::PowerLevel_Minus7dB,
  OpenZWave::Internal::CC::Powerlevel::PowerLevel_Minus8dB, OpenZWave::Internal::CC::Powerlevel::PowerLevel_Minus9dB
}
 
enum  OpenZWave::Internal::CC::Powerlevel::PowerLevelStatusEnum { OpenZWave::Internal::CC::Powerlevel::PowerLevelStatus_Failed = 0, OpenZWave::Internal::CC::Powerlevel::PowerLevelStatus_Success, OpenZWave::Internal::CC::Powerlevel::PowerLevelStatus_InProgress }
 
enum  OpenZWave::Internal::CC::Protection::ProtectionEnum { OpenZWave::Internal::CC::Protection::Protection_Unprotected = 0, OpenZWave::Internal::CC::Protection::Protection_Sequence, OpenZWave::Internal::CC::Protection::Protection_NOP }
 
enum  OpenZWave::Internal::CC::SwitchToggleMultilevel::SwitchToggleMultilevelDirection { OpenZWave::Internal::CC::SwitchToggleMultilevel::SwitchToggleMultilevelDirection_Up = 0x00, OpenZWave::Internal::CC::SwitchToggleMultilevel::SwitchToggleMultilevelDirection_Down = 0x40 }
 

Functions

std::string OpenZWave::Internal::CC::ExtractString (uint8 const *_data, uint32 const _length)
 Extract a String from a Z-Wave Encoded Packetthis function is used by the NodeNaming CC as well as the Alarm CC. More...
 
uint32 OpenZWave::Internal::CC::ConvertUFT16ToUTF8 (uint16 _utf16, char *_buffer, uint32 pos)
 Convert from UTF16 to UTF8this function is used by the NodeNaming CC as well as the Alarm CC. More...
 

Detailed Description

This is the CommandClasses that OZW currently supports. Typically, a Application does not need to be aware of the CommandClasses a Device exposes, as they would be transparently exposed to the application as ValueID's

Enumeration Type Documentation

anonymous enum
Enumerator
RequestFlag_Static 

Values that never change.

RequestFlag_Session 

Values that change infrequently, and so only need to be requested at start up, or via a manual refresh.

RequestFlag_Dynamic 

Values that change and will be requested if polling is enabled on the node.

RequestFlag_AfterMark 

Values relevent to Controlling CC, not Controlled CC.

Enumerator
MultiCmdCmd_Encap 
Enumerator
MultiInstanceCmd_Get 
MultiInstanceCmd_Report 
MultiInstanceCmd_Encap 
MultiChannelCmd_EndPointGet 
MultiChannelCmd_EndPointReport 
MultiChannelCmd_CapabilityGet 
MultiChannelCmd_CapabilityReport 
MultiChannelCmd_EndPointFind 
MultiChannelCmd_EndPointFindReport 
MultiChannelCmd_Encap 
Enumerator
PowerLevel_Normal 
PowerLevel_Minus1dB 
PowerLevel_Minus2dB 
PowerLevel_Minus3dB 
PowerLevel_Minus4dB 
PowerLevel_Minus5dB 
PowerLevel_Minus6dB 
PowerLevel_Minus7dB 
PowerLevel_Minus8dB 
PowerLevel_Minus9dB 
Enumerator
PowerLevelStatus_Failed 
PowerLevelStatus_Success 
PowerLevelStatus_InProgress 
Enumerator
Protection_Unprotected 
Protection_Sequence 
Protection_NOP 
Enumerator
StaticRequest_Instances 
StaticRequest_Values 
StaticRequest_Version 
Enumerator
SwitchToggleMultilevelDirection_Up 
SwitchToggleMultilevelDirection_Down 

Function Documentation

uint32 OpenZWave::Internal::CC::ConvertUFT16ToUTF8 ( uint16  _utf16,
char *  _buffer,
uint32  pos 
)

Convert from UTF16 to UTF8this function is used by the NodeNaming CC as well as the Alarm CC.

string OpenZWave::Internal::CC::ExtractString ( uint8 const *  _data,
uint32 const  _length 
)

Extract a String from a Z-Wave Encoded Packetthis function is used by the NodeNaming CC as well as the Alarm CC.