Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
IRFujitsuAC Class Reference

Public Member Functions

 IRFujitsuAC (uint16_t pin, fujitsu_ac_remote_model_t model=ARRAH2E)
 
void setModel (fujitsu_ac_remote_model_t model)
 
void stateReset ()
 
void begin ()
 
void off ()
 
void stepHoriz ()
 
void stepVert ()
 
void setCmd (uint8_t cmd)
 
uint8_t getCmd ()
 
void setTemp (uint8_t temp)
 
uint8_t getTemp ()
 
void setFanSpeed (uint8_t fan)
 
uint8_t getFanSpeed ()
 
void setMode (uint8_t mode)
 
uint8_t getMode ()
 
void setSwing (uint8_t mode)
 
uint8_t getSwing ()
 
uint8_t * getRaw ()
 
bool setRaw (const uint8_t newState[], const uint16_t length)
 
uint8_t getStateLength ()
 
bool getPower ()
 
std::string toString ()
 

Static Public Member Functions

static bool validChecksum (uint8_t *state, uint16_t length)