Trident IoT Z-Wave SDK
 
Loading...
Searching...
No Matches
CC_MultilevelSwitch_Control.h File Reference
#include <CC_Common.h>
#include <ZAF_types.h>
#include <ZW_TransportEndpoint.h>
+ Include dependency graph for CC_MultilevelSwitch_Control.h:

Go to the source code of this file.

Enumerations

enum  CCMLS_PRIMARY_SWITCH_T {
  CCMLS_PRIMARY_SWITCH_UP ,
  CCMLS_PRIMARY_SWITCH_DOWN ,
  CCMLS_PRIMARY_SWITCH_RESERVED ,
  CCMLS_PRIMARY_SWITCH_NO_UP_DOWN_MOTION
}
 
enum  CCMLS_IGNORE_START_LEVEL_T {
  CCMLS_IGNORE_START_LEVEL_FALSE ,
  CCMLS_IGNORE_START_LEVEL_TRUE
}
 
enum  CCMLS_SECONDARY_SWITCH_T {
  CCMLS_SECONDARY_SWITCH_INCREMENT ,
  CCMLS_SECONDARY_SWITCH_DECREMENT ,
  CCMLS_SECONDARY_SWITCH_RESERVED ,
  CCMLS_SECONDARY_SWITCH_NO_INC_DEC
}
 

Functions

JOB_STATUS CmdClassMultilevelSwitchStartLevelChange (AGI_PROFILE *pProfile, uint8_t sourceEndpoint, void(*pCbFunc)(TRANSMISSION_RESULT *pTransmissionResult), CCMLS_PRIMARY_SWITCH_T primarySwitch, CCMLS_IGNORE_START_LEVEL_T fIgnoreStartLevel, CCMLS_SECONDARY_SWITCH_T secondarySwitch, uint8_t primarySwitchStartLevel, uint8_t duration, uint8_t secondarySwitchStepSize)
 Initiates the transmission of a "Multilevel Switch Start Level Change" command.
 
JOB_STATUS CmdClassMultilevelSwitchStopLevelChange (AGI_PROFILE *pProfile, uint8_t sourceEndpoint, void(*pCbFunc)(TRANSMISSION_RESULT *pTransmissionResult))
 Initiates the transmission of a "Multilevel Switch Stop Level Change" command.
 
JOB_STATUS CmdClassMultilevelSwitchSetTransmit (AGI_PROFILE *pProfile, uint8_t sourceEndpoint, void(*pCbFunc)(TRANSMISSION_RESULT *pTransmissionResult), uint8_t value, uint8_t duration)
 Initiates the transmission of a "Multilevel Switch Set" command.
 

Detailed Description

Controlling functions for CC Multilevel Switch.

These functions are intended for use by an application that would like to control another device using CC Multilevel Switch. An example of such a device could be a Wall Controller / Wall Switch.