IRremoteESP8266
Classes | Variables
ir_Sharp.h File Reference

Support for Sharp protocols. More...

Go to the source code of this file.

Classes

class  IRSharpAc
 Class for handling detailed Sharp A/C messages. More...
 

Variables

const uint16_t kSharpAcHdrMark = 3800
 
const uint16_t kSharpAcHdrSpace = 1900
 
const uint16_t kSharpAcBitMark = 470
 
const uint16_t kSharpAcZeroSpace = 500
 
const uint16_t kSharpAcOneSpace = 1400
 
const uint32_t kSharpAcGap = kDefaultMessageGap
 
const uint8_t kSharpAcByteTemp = 4
 
const uint8_t kSharpAcMinTemp = 15
 
const uint8_t kSharpAcMaxTemp = 30
 
const uint8_t kSharpAcBytePowerSpecial = 5
 
const uint8_t kSharpAcPowerSetSpecialOffset = kHighNibble
 
const uint8_t kSharpAcPowerSpecialSize = kNibbleSize
 
const uint8_t kSharpAcPowerUnknown = 0
 
const uint8_t kSharpAcPowerOnFromOff = 1
 
const uint8_t kSharpAcPowerOff = 2
 
const uint8_t kSharpAcPowerOn = 3
 
const uint8_t kSharpAcPowerSetSpecialOn = 6
 
const uint8_t kSharpAcPowerSetSpecialOff = 7
 
const uint8_t kSharpAcPowerTimerSetting = 8
 
const uint8_t kSharpAcByteMode = 6
 
const uint8_t kSharpAcModeSize = 2
 
const uint8_t kSharpAcAuto = 0b00
 
const uint8_t kSharpAcDry = 0b11
 
const uint8_t kSharpAcCool = 0b10
 
const uint8_t kSharpAcHeat = 0b01
 
const uint8_t kSharpAcByteClean = kSharpAcByteMode
 
const uint8_t kSharpAcBitCleanOffset = 3
 
const uint8_t kSharpAcByteFan = kSharpAcByteMode
 
const uint8_t kSharpAcFanOffset = 4
 
const uint8_t kSharpAcFanSize = 3
 
const uint8_t kSharpAcFanAuto = 0b010
 
const uint8_t kSharpAcFanMin = 0b100
 
const uint8_t kSharpAcFanMed = 0b011
 
const uint8_t kSharpAcFanHigh = 0b101
 
const uint8_t kSharpAcFanMax = 0b111
 
const uint8_t kSharpAcByteTimer = 7
 
const uint8_t kSharpAcTimerIncrement = 30
 
const uint8_t kSharpAcTimerHoursOffset = kLowNibble
 
const uint8_t kSharpAcTimerHoursSize = kNibbleSize
 
const uint8_t kSharpAcTimerHoursOff = 0b0000
 
const uint8_t kSharpAcTimerHoursMax = 0b1100
 
const uint8_t kSharpAcBitTimerType = 6
 
const uint8_t kSharpAcOffTimerType = 0b0
 
const uint8_t kSharpAcOnTimerType = 0b1
 
const uint8_t kSharpAcBitTimerEnabled = 7
 
const uint8_t kSharpAcByteSwing = 8
 
const uint8_t kSharpAcSwingOffset = 0
 
const uint8_t kSharpAcSwingSize = 3
 
const uint8_t kSharpAcSwingToggle = 0b111
 
const uint8_t kSharpAcSwingNoToggle = 0b000
 
const uint8_t kSharpAcByteSpecial = 10
 
const uint8_t kSharpAcSpecialPower = 0x00
 
const uint8_t kSharpAcSpecialTurbo = 0x01
 
const uint8_t kSharpAcSpecialTempEcono = 0x04
 
const uint8_t kSharpAcSpecialFan = 0x05
 
const uint8_t kSharpAcSpecialSwing = 0x06
 
const uint8_t kSharpAcSpecialTimer = 0xC0
 
const uint8_t kSharpAcSpecialTimerHalfHour = 0xDE
 
const uint8_t kSharpAcByteIon = 11
 
const uint8_t kSharpAcBitIonOffset = 2
 

Detailed Description

Support for Sharp protocols.

See also
http://www.sbprojects.com/knowledge/ir/sharp.htm
http://lirc.sourceforge.net/remotes/sharp/GA538WJSA
http://www.mwftr.com/ucF08/LEC14%20PIC%20IR.pdf
http://www.hifi-remote.com/johnsfine/DecodeIR.html#Sharp
GlobalCache's IR Control Tower data.
https://github.com/crankyoldgit/IRremoteESP8266/issues/638
https://github.com/ToniA/arduino-heatpumpir/blob/master/SharpHeatpumpIR.cpp

Variable Documentation

◆ kSharpAcAuto

const uint8_t kSharpAcAuto = 0b00

◆ kSharpAcBitCleanOffset

const uint8_t kSharpAcBitCleanOffset = 3

◆ kSharpAcBitIonOffset

const uint8_t kSharpAcBitIonOffset = 2

◆ kSharpAcBitMark

const uint16_t kSharpAcBitMark = 470

◆ kSharpAcBitTimerEnabled

const uint8_t kSharpAcBitTimerEnabled = 7

◆ kSharpAcBitTimerType

const uint8_t kSharpAcBitTimerType = 6

◆ kSharpAcByteClean

const uint8_t kSharpAcByteClean = kSharpAcByteMode

◆ kSharpAcByteFan

const uint8_t kSharpAcByteFan = kSharpAcByteMode

◆ kSharpAcByteIon

const uint8_t kSharpAcByteIon = 11

◆ kSharpAcByteMode

const uint8_t kSharpAcByteMode = 6

◆ kSharpAcBytePowerSpecial

const uint8_t kSharpAcBytePowerSpecial = 5

◆ kSharpAcByteSpecial

const uint8_t kSharpAcByteSpecial = 10

◆ kSharpAcByteSwing

const uint8_t kSharpAcByteSwing = 8

◆ kSharpAcByteTemp

const uint8_t kSharpAcByteTemp = 4

◆ kSharpAcByteTimer

const uint8_t kSharpAcByteTimer = 7

◆ kSharpAcCool

const uint8_t kSharpAcCool = 0b10

◆ kSharpAcDry

const uint8_t kSharpAcDry = 0b11

◆ kSharpAcFanAuto

const uint8_t kSharpAcFanAuto = 0b010

◆ kSharpAcFanHigh

const uint8_t kSharpAcFanHigh = 0b101

◆ kSharpAcFanMax

const uint8_t kSharpAcFanMax = 0b111

◆ kSharpAcFanMed

const uint8_t kSharpAcFanMed = 0b011

◆ kSharpAcFanMin

const uint8_t kSharpAcFanMin = 0b100

◆ kSharpAcFanOffset

const uint8_t kSharpAcFanOffset = 4

◆ kSharpAcFanSize

const uint8_t kSharpAcFanSize = 3

◆ kSharpAcGap

const uint32_t kSharpAcGap = kDefaultMessageGap

◆ kSharpAcHdrMark

const uint16_t kSharpAcHdrMark = 3800

◆ kSharpAcHdrSpace

const uint16_t kSharpAcHdrSpace = 1900

◆ kSharpAcHeat

const uint8_t kSharpAcHeat = 0b01

◆ kSharpAcMaxTemp

const uint8_t kSharpAcMaxTemp = 30

◆ kSharpAcMinTemp

const uint8_t kSharpAcMinTemp = 15

◆ kSharpAcModeSize

const uint8_t kSharpAcModeSize = 2

◆ kSharpAcOffTimerType

const uint8_t kSharpAcOffTimerType = 0b0

◆ kSharpAcOneSpace

const uint16_t kSharpAcOneSpace = 1400

◆ kSharpAcOnTimerType

const uint8_t kSharpAcOnTimerType = 0b1

◆ kSharpAcPowerOff

const uint8_t kSharpAcPowerOff = 2

◆ kSharpAcPowerOn

const uint8_t kSharpAcPowerOn = 3

◆ kSharpAcPowerOnFromOff

const uint8_t kSharpAcPowerOnFromOff = 1

◆ kSharpAcPowerSetSpecialOff

const uint8_t kSharpAcPowerSetSpecialOff = 7

◆ kSharpAcPowerSetSpecialOffset

const uint8_t kSharpAcPowerSetSpecialOffset = kHighNibble

◆ kSharpAcPowerSetSpecialOn

const uint8_t kSharpAcPowerSetSpecialOn = 6

◆ kSharpAcPowerSpecialSize

const uint8_t kSharpAcPowerSpecialSize = kNibbleSize

◆ kSharpAcPowerTimerSetting

const uint8_t kSharpAcPowerTimerSetting = 8

◆ kSharpAcPowerUnknown

const uint8_t kSharpAcPowerUnknown = 0

◆ kSharpAcSpecialFan

const uint8_t kSharpAcSpecialFan = 0x05

◆ kSharpAcSpecialPower

const uint8_t kSharpAcSpecialPower = 0x00

◆ kSharpAcSpecialSwing

const uint8_t kSharpAcSpecialSwing = 0x06

◆ kSharpAcSpecialTempEcono

const uint8_t kSharpAcSpecialTempEcono = 0x04

◆ kSharpAcSpecialTimer

const uint8_t kSharpAcSpecialTimer = 0xC0

◆ kSharpAcSpecialTimerHalfHour

const uint8_t kSharpAcSpecialTimerHalfHour = 0xDE

◆ kSharpAcSpecialTurbo

const uint8_t kSharpAcSpecialTurbo = 0x01

◆ kSharpAcSwingNoToggle

const uint8_t kSharpAcSwingNoToggle = 0b000

◆ kSharpAcSwingOffset

const uint8_t kSharpAcSwingOffset = 0

◆ kSharpAcSwingSize

const uint8_t kSharpAcSwingSize = 3

◆ kSharpAcSwingToggle

const uint8_t kSharpAcSwingToggle = 0b111

◆ kSharpAcTimerHoursMax

const uint8_t kSharpAcTimerHoursMax = 0b1100

◆ kSharpAcTimerHoursOff

const uint8_t kSharpAcTimerHoursOff = 0b0000

◆ kSharpAcTimerHoursOffset

const uint8_t kSharpAcTimerHoursOffset = kLowNibble

◆ kSharpAcTimerHoursSize

const uint8_t kSharpAcTimerHoursSize = kNibbleSize

◆ kSharpAcTimerIncrement

const uint8_t kSharpAcTimerIncrement = 30

◆ kSharpAcZeroSpace

const uint16_t kSharpAcZeroSpace = 500