#include <V6CommandHandler.h>

#ifndef _V6_CCT_COMMAND_HANDLER_H
#define _V6_CCT_COMMAND_HANDLER_H 

enum CctCommandIds {
  V2_CCT_COMMAND_PREFIX   = 0x01,
  
  V2_CCT_BRIGHTNESS_UP    = 0x01,
  V2_CCT_BRIGHTNESS_DOWN  = 0x02,
  V2_CCT_TEMPERATURE_UP   = 0x03,
  V2_CCT_TEMPERATURE_DOWN = 0x04,
  V2_CCT_NIGHT_LIGHT      = 0x06,
  V2_CCT_ON               = 0x07,
  V2_CCT_OFF              = 0x08
};

class V6CctCommandHandler : public V6CommandHandler {
public:
  V6CctCommandHandler(uint16_t commandId)
    : V6CommandHandler(commandId)
  { }
  
  virtual bool handleCommand(
    MiLightClient* client, 
    uint16_t deviceId,
    uint8_t group,
    uint32_t command,
    uint32_t commandArg
  );
  
};

#endif