| IRremoteESP8266
    | 
Class for handling detailed Bosch144 A/C messages. More...
#include <ir_Bosch.h>

| Public Member Functions | |
| IRBosch144AC (const uint16_t pin, const bool inverted=false, const bool use_modulation=true) | |
| Class constructor.  More... | |
| void | stateReset (void) | 
| Reset the internal state to a fixed known good state.  More... | |
| void | send (const uint16_t repeat=0) | 
| Send the current internal state as an IR message.  More... | |
| int8_t | calibrate (void) | 
| Run the calibration to calculate uSec timing offsets for this platform.  More... | |
| void | begin () | 
| Set up hardware to be able to send a message.  More... | |
| void | setPower (const bool state) | 
| bool | getPower (void) const | 
| void | setTemp (const uint8_t temp) | 
| Set the temperature.  More... | |
| uint8_t | getTemp (void) const | 
| void | setFan (const uint16_t speed) | 
| Set the speed of the fan.  More... | |
| uint16_t | getFan (void) const | 
| void | setMode (const uint8_t mode) | 
| Set the desired operation mode.  More... | |
| uint8_t | getMode (void) const | 
| void | setQuiet (const bool on) | 
| Set the Quiet mode of the A/C.  More... | |
| bool | getQuiet (void) const | 
| Get the Quiet mode of the A/C.  More... | |
| uint8_t * | getRaw (void) | 
| Get a copy of the internal state as a valid code for this protocol.  More... | |
| void | setRaw (const uint8_t new_code[], const uint16_t length=kBosch144StateLength) | 
| Set the internal state from a valid code for this protocol.  More... | |
| stdAc::state_t | toCommon (void) const | 
| Convert the current internal state into its stdAc::state_t equivalent.  More... | |
| String | toString (void) const | 
| Convert the current internal state into a human readable string.  More... | |
| Static Public Member Functions | |
| static uint8_t | convertMode (const stdAc::opmode_t mode) | 
| Convert a stdAc::opmode_t enum into its native mode.  More... | |
| static uint16_t | convertFan (const stdAc::fanspeed_t speed) | 
| Convert a stdAc::fanspeed_t enum into it's native speed.  More... | |
| static stdAc::opmode_t | toCommonMode (const uint8_t mode) | 
| Convert a native mode into its stdAc equivalent.  More... | |
| static stdAc::fanspeed_t | toCommonFanSpeed (const uint16_t speed) | 
| Convert a native fan speed into its stdAc equivalent.  More... | |
| Private Member Functions | |
| void | setInvertBytes () | 
| void | setCheckSumS3 () | 
| void | setTempRaw (const uint8_t code) | 
| uint8_t | getTempRaw (void) const | 
| Private Attributes | |
| IRsend | _irsend | 
| Instance of the IR send class.  More... | |
| Bosch144Protocol | _ | 
| The state of the IR remote in IR code form.  More... | |
| bool | powerFlag | 
Class for handling detailed Bosch144 A/C messages.
| 
 | explicit | 
Class constructor.
| [in] | pin | GPIO to be used when sending. | 
| [in] | inverted | Is the output signal to be inverted? | 
| [in] | use_modulation | Is frequency modulation to be used? | 
| void IRBosch144AC::begin | ( | ) | 
Set up hardware to be able to send a message.
| 
 | inline | 
Run the calibration to calculate uSec timing offsets for this platform.
| 
 | static | 
Convert a stdAc::fanspeed_t enum into it's native speed.
| [in] | speed | The enum to be converted. | 
| 
 | static | 
Convert a stdAc::opmode_t enum into its native mode.
| [in] | mode | The enum to be converted. | 
| uint16_t IRBosch144AC::getFan | ( | void | ) | const | 
| uint8_t IRBosch144AC::getMode | ( | void | ) | const | 
| bool IRBosch144AC::getPower | ( | void | ) | const | 
| bool IRBosch144AC::getQuiet | ( | void | ) | const | 
Get the Quiet mode of the A/C.
| unsigned char * IRBosch144AC::getRaw | ( | void | ) | 
Get a copy of the internal state as a valid code for this protocol.
| uint8_t IRBosch144AC::getTemp | ( | void | ) | const | 
| 
 | private | 
| void IRBosch144AC::send | ( | const uint16_t | repeat = 0 | ) | 
Send the current internal state as an IR message.
| [in] | repeat | Nr. of times the message will be repeated. | 
| 
 | private | 
| void IRBosch144AC::setFan | ( | const uint16_t | speed | ) | 
Set the speed of the fan.
| [in] | speed | The desired setting. | 
| 
 | private | 
| void IRBosch144AC::setMode | ( | const uint8_t | mode | ) | 
Set the desired operation mode.
| [in] | mode | The desired operation mode. | 
| void IRBosch144AC::setPower | ( | const bool | state | ) | 
| void IRBosch144AC::setQuiet | ( | const bool | on | ) | 
Set the Quiet mode of the A/C.
| [in] | on | true, the setting is on. false, the setting is off. | 
| void IRBosch144AC::setRaw | ( | const uint8_t | new_code[], | 
| const uint16_t | length = kBosch144StateLength | ||
| ) | 
Set the internal state from a valid code for this protocol.
| [in] | new_code | A valid code for this protocol. | 
| [in] | length | Size of the array being passed in in bytes. | 
| void IRBosch144AC::setTemp | ( | const uint8_t | degrees | ) | 
Set the temperature.
| [in] | degrees | The temperature in degrees celsius. | 
| 
 | private | 
| void IRBosch144AC::stateReset | ( | void | ) | 
Reset the internal state to a fixed known good state.
| stdAc::state_t IRBosch144AC::toCommon | ( | void | ) | const | 
Convert the current internal state into its stdAc::state_t equivalent.
| 
 | static | 
| 
 | static | 
| String IRBosch144AC::toString | ( | void | ) | const | 
Convert the current internal state into a human readable string.
| 
 | private | 
The state of the IR remote in IR code form.
| 
 | private | 
Instance of the IR send class.
| 
 | private | 
 1.8.17
 1.8.17