Go to the documentation of this file.
7 #define __STDC_LIMIT_MACROS
16 #define VIRTUAL virtual
27 #elif (defined(ESP8266) && F_CPU == 160000000L) // NOLINT(whitespace/parens)
31 #else // (defined(ESP8266) && F_CPU == 160000000L)
34 #endif // (defined(ESP8266) && F_CPU == 160000000L)
239 explicit IRsend(uint16_t IRsendPin,
bool inverted =
false,
240 bool use_modulation =
true);
244 VIRTUAL uint16_t
mark(uint16_t usec);
245 VIRTUAL
void space(uint32_t usec);
247 void sendRaw(
const uint16_t buf[],
const uint16_t len,
const uint16_t hz);
248 void sendData(uint16_t onemark, uint32_t onespace, uint16_t zeromark,
249 uint32_t zerospace, uint64_t data, uint16_t nbits,
250 bool MSBfirst =
true);
252 const uint16_t nbits,
const bool MSBfirst =
true,
253 const bool GEThomas =
true);
254 void sendManchester(
const uint16_t headermark,
const uint32_t headerspace,
255 const uint16_t half_period,
const uint16_t footermark,
256 const uint32_t gap,
const uint64_t data,
257 const uint16_t nbits,
const uint16_t frequency = 38,
258 const bool MSBfirst =
true,
261 const bool GEThomas =
true);
262 void sendGeneric(
const uint16_t headermark,
const uint32_t headerspace,
263 const uint16_t onemark,
const uint32_t onespace,
264 const uint16_t zeromark,
const uint32_t zerospace,
265 const uint16_t footermark,
const uint32_t gap,
266 const uint64_t data,
const uint16_t nbits,
267 const uint16_t frequency,
const bool MSBfirst,
268 const uint16_t repeat,
const uint8_t dutycycle);
269 void sendGeneric(
const uint16_t headermark,
const uint32_t headerspace,
270 const uint16_t onemark,
const uint32_t onespace,
271 const uint16_t zeromark,
const uint32_t zerospace,
272 const uint16_t footermark,
const uint32_t gap,
273 const uint32_t mesgtime,
const uint64_t data,
274 const uint16_t nbits,
const uint16_t frequency,
275 const bool MSBfirst,
const uint16_t repeat,
276 const uint8_t dutycycle);
277 void sendGeneric(
const uint16_t headermark,
const uint32_t headerspace,
278 const uint16_t onemark,
const uint32_t onespace,
279 const uint16_t zeromark,
const uint32_t zerospace,
280 const uint16_t footermark,
const uint32_t gap,
281 const uint8_t *dataptr,
const uint16_t nbytes,
282 const uint16_t frequency,
const bool MSBfirst,
283 const uint16_t repeat,
const uint8_t dutycycle);
287 const uint16_t nbits,
const uint16_t repeat =
kNoRepeat);
289 const uint16_t nbytes);
290 #if (SEND_NEC || SEND_SHERWOOD || SEND_AIWA_RC_T501 || SEND_SANYO || \
294 uint32_t
encodeNEC(uint16_t address, uint16_t command);
306 uint32_t
encodeSony(
const uint16_t nbits,
const uint16_t command,
307 const uint16_t address,
const uint16_t extended = 0);
314 #if (SEND_SAMSUNG || SEND_LG)
317 uint32_t
encodeSAMSUNG(
const uint8_t customer,
const uint8_t command);
318 #endif // (SEND_SAMSUNG || SEND_LG)
333 uint32_t
encodeLG(uint16_t address, uint16_t command);
335 #if (SEND_SHARP || SEND_DENON)
336 uint32_t
encodeSharp(
const uint16_t address,
const uint16_t command,
337 const uint16_t expansion = 1,
const uint16_t check = 0,
338 const bool MSBfirst =
false);
339 void sendSharp(
const uint16_t address,
const uint16_t command,
349 #endif // SEND_SHARP_AC
353 uint16_t
encodeJVC(uint8_t address, uint8_t command);
369 #endif // SEND_SANYO_AC
374 #endif // SEND_SANYO_AC88
379 #endif // SEND_SANYO_AC152
388 #if (SEND_PANASONIC || SEND_DENON)
392 void sendPanasonic(
const uint16_t address,
const uint32_t data,
395 uint64_t
encodePanasonic(
const uint16_t manufacturer,
const uint8_t device,
396 const uint8_t subdevice,
const uint8_t
function);
401 uint16_t
encodeRC5(
const uint8_t address,
const uint8_t command,
402 const bool key_released =
false);
403 uint16_t
encodeRC5X(
const uint8_t address,
const uint8_t command,
404 const bool key_released =
false);
410 uint64_t
encodeRC6(
const uint32_t address,
const uint8_t command,
421 #endif // SEND_COOLIX
425 #endif // SEND_COOLIX48
434 #endif // SEND_MIRAGE
439 #if SEND_MITSUBISHI136
444 #if SEND_MITSUBISHI112
453 #if SEND_MITSUBISHI_AC
458 #if SEND_MITSUBISHIHEAVY
460 const unsigned char data[],
464 const unsigned char data[],
469 void sendFujitsuAC(
const unsigned char data[],
const uint16_t nbytes,
477 void sendGC(uint16_t buf[], uint16_t len);
492 #endif // SEND_DAIKIN64
497 #endif // SEND_DAIKIN128
502 #endif // SEND_DAIKIN152
507 #endif // SEND_DAIKIN160
512 #endif // SEND_DAIKIN176
522 #endif // SEND_DAIKIN200
527 #endif // SEND_DAIKIN216
532 #endif // SEND_DAIKIN312
533 #if SEND_AIWA_RC_T501
547 #endif // SEND_GOODWEATHER
551 #endif // SEND_GORENJE
556 void sendArgo(
const unsigned char data[],
559 bool sendFooter =
false);
568 #endif // SEND_TROTEC
573 #endif // SEND_TROTEC_3550
590 #endif // SEND_MIDEA24
594 uint64_t
encodeMagiQuest(
const uint32_t wand_id,
const uint16_t magnitude);
604 #if SEND_CARRIER_AC40
608 #if SEND_CARRIER_AC64
612 #if SEND_CARRIER_AC84
616 #endif // SEND_CARRIER_AC84
617 #if SEND_CARRIER_AC128
621 #endif // SEND_CARRIER_AC128
622 #if (SEND_HAIER_AC || SEND_HAIER_AC_YRW02 || SEND_HAIER_AC176)
626 #endif // (SEND_HAIER_AC || SEND_HAIER_AC_YRW02 || SEND_HAIER_AC176)
627 #if SEND_HAIER_AC_YRW02
631 #endif // SEND_HAIER_AC_YRW02
636 #endif // SEND_HAIER_AC160
641 #endif // SEND_HAIER_AC176
659 const uint16_t nbytes,
662 #endif // SEND_HITACHI_AC3
663 #if SEND_HITACHI_AC264
667 #endif // SEND_HITACHI_AC264
668 #if SEND_HITACHI_AC296
672 #endif // SEND_HITACHI_AC296
673 #if SEND_HITACHI_AC344
677 #endif // SEND_HITACHI_AC344
678 #if SEND_HITACHI_AC424
682 #endif // SEND_HITACHI_AC424
687 #if SEND_WHIRLPOOL_AC
701 #if SEND_PANASONIC_AC
705 #endif // SEND_PANASONIC_AC
706 #if SEND_PANASONIC_AC32
710 #endif // SEND_PANASONIC_AC32
717 void sendMWM(
const unsigned char data[],
const uint16_t nbytes,
728 #endif // SEND_TCL96AC
733 #endif // SEND_TCL112AC
746 #endif // SEND_NEOCLIMA
748 void sendAmcor(
const unsigned char data[],
771 uint64_t
encodeDoshisha(
const uint8_t command,
const uint8_t channel = 0);
772 #endif // SEND_DOSHISHA
773 #if SEND_MULTIBRACKETS
778 #if SEND_TECHNIBEL_AC
786 #endif // SEND_CORONA_AC
791 #endif // SEND_ZEPEAL
796 #endif // SEND_VOLTAS
801 static uint32_t
encodeMetz(
const uint8_t address,
const uint8_t command,
802 const bool toggle =
false);
807 #endif // SEND_TRANSCOLD
808 #if SEND_ELITESCREENS
812 #endif // SEND_ELITESCREENS
819 #endif // SEND_MILESTAG2
823 #endif // SEND_ECOCLIM
836 #endif // SEND_TEKNOPOINT
845 #endif // SEND_KELON168
854 static uint32_t
encodeArris(
const uint32_t command,
const bool release);
857 void sendRhoss(
const unsigned char data[],
864 #endif // SEND_AIRTON
873 #endif // SEND_CLIMABUTLER
878 #endif // SEND_BOSCH144
882 #endif // SEND_WOWWEE
884 void sendYork(
const unsigned char data[],
901 VIRTUAL
void ledOn();
916 void _sendSony(
const uint64_t data,
const uint16_t nbits,
917 const uint16_t repeat,
const uint16_t freq);
uint32_t calcUSecPeriod(uint32_t hz, bool use_offset=true)
Calculate the period for a given frequency.
Definition: IRsend.cpp:71
const uint16_t kDaikin152DefaultRepeat
Definition: IRremoteESP8266.h:1207
void sendZepeal(const uint64_t data, const uint16_t nbits=kZepealBits, const uint16_t repeat=kZepealMinRepeat)
Send a Zepeal formatted message. Status: STABLE / Works on real device.
Definition: ir_Zepeal.cpp:47
const uint16_t kDelonghiAcBits
Definition: IRremoteESP8266.h:1220
void sendHaierACYRW02(const unsigned char data[], const uint16_t nbytes=kHaierACYRW02StateLength, const uint16_t repeat=kHaierAcYrw02DefaultRepeat)
Send a Haier YR-W02 remote A/C formatted message. Status: STABLE / Known to be working.
Definition: ir_Haier.cpp:79
const uint16_t kHaierAcYrw02DefaultRepeat
Definition: IRremoteESP8266.h:1257
void sendPronto(uint16_t data[], uint16_t len, uint16_t repeat=kNoRepeat)
Send a Pronto Code formatted message. Status: STABLE / Known working.
Definition: ir_Pronto.cpp:56
void sendTeknopoint(const unsigned char data[], const uint16_t nbytes=kTeknopointStateLength, const uint16_t repeat=kNoRepeat)
Send a Teknopoint formatted message. Status: BETA / Probably works.
Definition: ir_Teknopoint.cpp:30
const uint16_t kHaierAC160StateLength
Definition: IRremoteESP8266.h:1258
uint8_t outputOff
Definition: IRsend.h:899
int8_t periodOffset
Definition: IRsend.h:911
const uint16_t kMitsubishiACStateLength
Definition: IRremoteESP8266.h:1314
const uint16_t kMitsubishiHeavy152StateLength
Definition: IRremoteESP8266.h:1326
const uint16_t kAirwellMinRepeats
Definition: IRremoteESP8266.h:1151
const uint16_t kMideaMinRepeat
Definition: IRremoteESP8266.h:1304
const uint16_t kMilesMinRepeat
Definition: IRremoteESP8266.h:1430
int16_t clock
Definition: IRsend.h:132
const uint16_t kGicableBits
Definition: IRremoteESP8266.h:1244
const uint16_t kTcl96AcDefaultRepeat
Definition: IRremoteESP8266.h:1391
const uint16_t kGreeStateLength
Definition: IRremoteESP8266.h:1249
@ GZ055BE1
Definition: IRsend.h:201
uint32_t encodeNEC(uint16_t address, uint16_t command)
Calculate the raw NEC data based on address and command. Status: STABLE / Expected to work.
Definition: ir_NEC.cpp:48
decode_type_t
Enumerator for defining and numbering of supported IR protocol.
Definition: IRremoteESP8266.h:1011
uint64_t encodeDoshisha(const uint8_t command, const uint8_t channel=0)
Encode Doshisha combining constant values with command and channel. Status: STABLE / Working.
Definition: ir_Doshisha.cpp:67
const uint16_t kCarrierAcBits
Definition: IRremoteESP8266.h:1173
void sendHaierAC160(const unsigned char data[], const uint16_t nbytes=kHaierAC160StateLength, const uint16_t repeat=kHaierAc160DefaultRepeat)
Send a Haier 160 bit remote A/C formatted message. Status: STABLE / Known to be working.
Definition: ir_Haier.cpp:103
void sendHitachiAc344(const unsigned char data[], const uint16_t nbytes=kHitachiAc344StateLength, const uint16_t repeat=kHitachiAcDefaultRepeat)
Send a Hitachi A/C 43-byte/344-bit message. (HITACHI_AC344) Basically the same as sendHitachiAC() exc...
Definition: ir_Hitachi.cpp:131
const uint16_t kDaikin2DefaultRepeat
Definition: IRremoteESP8266.h:1196
@ kVoltasUnknown
Definition: IRsend.h:206
const uint16_t kMultibracketsBits
Definition: IRremoteESP8266.h:1329
const uint16_t kWhynterBits
Definition: IRremoteESP8266.h:1419
const uint16_t kAirwellBits
Definition: IRremoteESP8266.h:1150
const uint16_t kHaierAcDefaultRepeat
Definition: IRremoteESP8266.h:1254
const uint16_t kBosch144StateLength
Definition: IRremoteESP8266.h:1168
const uint16_t kCarrierAc128StateLength
Definition: IRremoteESP8266.h:1182
void sendMidea(uint64_t data, uint16_t nbits=kMideaBits, uint16_t repeat=kMideaMinRepeat)
Send a Midea message Status: Alpha / Needs testing against a real device.
Definition: ir_Midea.cpp:54
const uint16_t kTrotecDefaultRepeat
Definition: IRremoteESP8266.h:1414
const uint16_t kFujitsuAcMinRepeat
Definition: IRremoteESP8266.h:1239
const uint16_t kGorenjeBits
Definition: IRremoteESP8266.h:1248
void sendLG(uint64_t data, uint16_t nbits=kLgBits, uint16_t repeat=kNoRepeat)
Send an LG formatted message. (LG) Status: Beta / Should be working.
Definition: ir_LG.cpp:70
void sendKelon(const uint64_t data, const uint16_t nbits=kKelonBits, const uint16_t repeat=kNoRepeat)
Send a Kelon 48-bit message. Status: STABLE / Working.
Definition: ir_Kelon.cpp:55
void sendYork(const unsigned char data[], const uint16_t nbytes=kYorkStateLength, const uint16_t repeat=kNoRepeat)
Send a 17 Byte / 136 bit York A/C message. Status: ALPHA / Untested.
Definition: ir_York.cpp:47
const uint16_t kSanyoAc88StateLength
Definition: IRremoteESP8266.h:1363
@ kPanasonicRkr
Definition: IRsend.h:188
const uint16_t kMitsubishi136MinRepeat
Definition: IRremoteESP8266.h:1319
@ UNKNOWN
Definition: IRremoteESP8266.h:1012
swingv_t
Common A/C settings for Vertical Swing.
Definition: IRsend.h:74
const uint16_t kArrisBits
Definition: IRremoteESP8266.h:1167
const uint16_t kAirtonDefaultRepeat
Definition: IRremoteESP8266.h:1149
VIRTUAL void _delayMicroseconds(uint32_t usec)
An ESP8266 RTOS watch-dog timer friendly version of delayMicroseconds().
Definition: IRsend.cpp:114
bool clean
Definition: IRsend.h:129
void sendLegoPf(const uint64_t data, const uint16_t nbits=kLegoPfBits, const uint16_t repeat=kLegoPfMinRepeat)
Send a LEGO Power Functions message. Status: Beta / Should work.
Definition: ir_Lego.cpp:33
const uint16_t kTechnibelAcBits
Definition: IRremoteESP8266.h:1222
const uint16_t kArgoDefaultRepeat
Definition: IRremoteESP8266.h:1166
uint8_t outputOn
Definition: IRsend.h:898
const uint16_t kRhossStateLength
Definition: IRremoteESP8266.h:1432
const uint16_t kHaierACStateLength
Definition: IRremoteESP8266.h:1252
const uint16_t kHitachiAcStateLength
Definition: IRremoteESP8266.h:1264
void sendTruma(const uint64_t data, const uint16_t nbits=kTrumaBits, const uint16_t repeat=kNoRepeat)
Send a Truma formatted message. Status: STABLE / Confirmed working.
Definition: ir_Truma.cpp:40
const uint16_t kDaikin176StateLength
Definition: IRremoteESP8266.h:1208
@ KKG9AC1
Definition: IRsend.h:176
const uint16_t kRC5XBits
Definition: IRremoteESP8266.h:1350
const uint16_t kEpsonMinRepeat
Definition: IRremoteESP8266.h:1233
const uint16_t kAmcorStateLength
Definition: IRremoteESP8266.h:1155
bool send(const decode_type_t type, const uint64_t data, const uint16_t nbits, const uint16_t repeat=kNoRepeat)
Send a simple (up to 64 bits) IR message of a given type. An unknown/unsupported type will send nothi...
Definition: IRsend.cpp:816
fanspeed_t
Common A/C settings for Fan Speeds.
Definition: IRsend.h:61
@ R_LT0541_HTA_B
Definition: IRsend.h:171
void sendWhynter(const uint64_t data, const uint16_t nbits=kWhynterBits, const uint16_t repeat=kNoRepeat)
Send a Whynter message. Status: STABLE.
Definition: ir_Whynter.cpp:45
whirlpool_ac_remote_model_t
Whirlpool A/C model numbers.
Definition: IRsend.h:211
void sendMitsubishiAC(const unsigned char data[], const uint16_t nbytes=kMitsubishiACStateLength, const uint16_t repeat=kMitsubishiACMinRepeat)
Send a Mitsubishi 144-bit A/C formatted message. (MITSUBISHI_AC) Status: STABLE / Working.
Definition: ir_Mitsubishi.cpp:236
void sendNikai(uint64_t data, uint16_t nbits=kNikaiBits, uint16_t repeat=kNoRepeat)
Send a Nikai formatted message. Status: STABLE / Working.
Definition: ir_Nikai.cpp:37
const uint32_t kDefaultMessageGap
Definition: IRsend.h:41
const uint16_t kMaxAccurateUsecDelay
Definition: IRsend.h:39
uint16_t encodeJVC(uint8_t address, uint8_t command)
Calculate the raw JVC data based on address and command. Status: STABLE / Works fine.
Definition: ir_JVC.cpp:78
uint16_t onTimePeriod
Definition: IRsend.h:908
void sendAiwaRCT501(uint64_t data, uint16_t nbits=kAiwaRcT501Bits, uint16_t repeat=kAiwaRcT501MinRepeats)
Send an Aiwa RC T501 formatted message. Status: BETA / Should work.
Definition: ir_Aiwa.cpp:30
void sendArgoWREM3(const unsigned char data[], const uint16_t nbytes=kArgoStateLength, const uint16_t repeat=kArgoDefaultRepeat)
Send a Argo A/C formatted message. Status: Confirmed working w/ Argo 13 ECO (WREM-3)
Definition: ir_Argo.cpp:89
void sendArgo(const unsigned char data[], const uint16_t nbytes=kArgoStateLength, const uint16_t repeat=kArgoDefaultRepeat, bool sendFooter=false)
Send a Argo A/C formatted message. Status: [WREM-2] BETA / Probably works. [WREM-3] Confirmed working...
Definition: ir_Argo.cpp:63
uint16_t IRpin
Definition: IRsend.h:910
const uint16_t kBoseBits
Definition: IRremoteESP8266.h:1431
const uint16_t kClimaButlerBits
Definition: IRremoteESP8266.h:1435
const uint16_t kHitachiAc1StateLength
Definition: IRremoteESP8266.h:1267
const float kNoTempValue
Placeholder for missing sensor temp value.
Definition: IRsend.h:44
const uint16_t kCoolixBits
Definition: IRremoteESP8266.h:1170
tcl_ac_remote_model_t
TCL (& Teknopoint) A/C model numbers.
Definition: IRsend.h:199
const uint16_t kMitsubishi112MinRepeat
Definition: IRremoteESP8266.h:1322
const uint16_t kHaierAC176StateLength
Definition: IRremoteESP8266.h:1261
const uint16_t kMirageStateLength
Definition: IRremoteESP8266.h:1307
void sendSymphony(uint64_t data, uint16_t nbits=kSymphonyBits, uint16_t repeat=kSymphonyDefaultRepeat)
Send a Symphony packet. Status: STABLE / Should be working.
Definition: ir_Symphony.cpp:51
void sendMetz(const uint64_t data, const uint16_t nbits=kMetzBits, const uint16_t repeat=kMetzMinRepeat)
Send a Metz formatted message. Status: Beta / Needs testing against a real device.
Definition: ir_Metz.cpp:32
const uint16_t kTeknopointStateLength
Definition: IRremoteESP8266.h:1397
const uint16_t kDaikin200StateLength
Definition: IRremoteESP8266.h:1211
bool iFeel
Definition: IRsend.h:134
void sendGeneric(const uint16_t headermark, const uint32_t headerspace, const uint16_t onemark, const uint32_t onespace, const uint16_t zeromark, const uint32_t zerospace, const uint16_t footermark, const uint32_t gap, const uint64_t data, const uint16_t nbits, const uint16_t frequency, const bool MSBfirst, const uint16_t repeat, const uint8_t dutycycle)
Generic method for sending simple protocol messages. Will send leading or trailing 0's if the nbits i...
Definition: IRsend.cpp:307
const uint16_t kSamsung36Bits
Definition: IRremoteESP8266.h:1355
const uint16_t kMagiquestBits
Definition: IRremoteESP8266.h:1300
static uint16_t minRepeats(const decode_type_t protocol)
Get the minimum number of repeats for a given protocol.
Definition: IRsend.cpp:557
const uint16_t kNeoclimaStateLength
Definition: IRremoteESP8266.h:1333
gree_ac_remote_model_t
Gree A/C model numbers.
Definition: IRsend.h:155
const uint16_t kSamsungAcDefaultRepeat
Definition: IRremoteESP8266.h:1360
const uint16_t kSanyoLC7461Bits
Definition: IRremoteESP8266.h:1372
@ V9014557_B
Definition: IRsend.h:165
float degrees
Definition: IRsend.h:119
const uint16_t kMirageMinRepeat
Definition: IRremoteESP8266.h:1309
uint8_t _dutycycle
Definition: IRsend.h:912
bool celsius
Definition: IRsend.h:120
void sendLG2(uint64_t data, uint16_t nbits=kLgBits, uint16_t repeat=kNoRepeat)
Send an LG Variant-2 formatted message. (LG2) Status: Beta / Should be working.
Definition: ir_LG.cpp:104
void sendKelon168(const unsigned char data[], const uint16_t nbytes=kKelon168StateLength, const uint16_t repeat=kNoRepeat)
Send a Kelon 168 bit / 21 byte message. Status: BETA / Probably works.
Definition: ir_Kelon.cpp:457
const uint16_t kZepealMinRepeat
Definition: IRremoteESP8266.h:1425
VIRTUAL uint16_t mark(uint16_t usec)
Modulate the IR LED for the given period (usec) and at the duty cycle set.
Definition: IRsend.cpp:157
void sendHitachiAc296(const unsigned char data[], const uint16_t nbytes=kHitachiAc296StateLength, const uint16_t repeat=kHitachiAcDefaultRepeat)
Send a HitachiAc 37-byte/296-bit A/C message (HITACHI_AC296) Status: STABLE / Working on a real devic...
Definition: ir_Hitachi.cpp:1717
void sendToshibaAC(const uint8_t data[], const uint16_t nbytes=kToshibaACStateLength, const uint16_t repeat=kToshibaACMinRepeat)
Send a Toshiba A/C message. Status: STABLE / Working.
Definition: ir_Toshiba.cpp:50
@ ARRY4
(5) AR-RY4 (Same as AR-RAH2E but with clean & filter)
Definition: IRsend.h:150
@ ARDB1
(2) AR-DB1, AR-DL10 (AR-DL10 swing doesn't work)
Definition: IRsend.h:146
const uint16_t kTranscoldDefaultRepeat
Definition: IRremoteESP8266.h:1411
const uint16_t kMetzMinRepeat
Definition: IRremoteESP8266.h:1302
void sendDaikin152(const unsigned char data[], const uint16_t nbytes=kDaikin152StateLength, const uint16_t repeat=kDaikin152DefaultRepeat)
Send a Daikin152 (152-bit) A/C formatted message. Status: STABLE / Known Working.
Definition: ir_Daikin.cpp:2982
const uint16_t kHitachiAc264StateLength
Definition: IRremoteESP8266.h:1275
const uint16_t kEliteScreensBits
Definition: IRremoteESP8266.h:1237
void sendAmcor(const unsigned char data[], const uint16_t nbytes=kAmcorStateLength, const uint16_t repeat=kAmcorDefaultRepeat)
Send a Amcor HVAC formatted message. Status: STABLE / Reported as working.
Definition: ir_Amcor.cpp:38
void sendWowwee(const uint64_t data, const uint16_t nbits=kWowweeBits, const uint16_t repeat=kWowweeDefaultRepeat)
Send a WowWee formatted message. Status: STABLE / Confirmed working with real device.
Definition: ir_Wowwee.cpp:52
stdAc::swingv_t swingv
Definition: IRsend.h:122
void sendCoolix48(const uint64_t data, const uint16_t nbits=kCoolix48Bits, const uint16_t repeat=kCoolixDefaultRepeat)
Send a Coolix 48-bit message. Status: ALPHA / Untested.
Definition: ir_Coolix.cpp:716
void sendLasertag(uint64_t data, uint16_t nbits=kLasertagBits, uint16_t repeat=kLasertagMinRepeat)
Send a Lasertag packet/message. Status: STABLE / Working.
Definition: ir_Lasertag.cpp:33
hitachi_ac1_remote_model_t
HITACHI_AC1 A/C model numbers.
Definition: IRsend.h:169
void sendEpson(uint64_t data, uint16_t nbits=kEpsonBits, uint16_t repeat=kEpsonMinRepeat)
Send an Epson formatted message. Status: Beta / Probably works.
Definition: ir_Epson.cpp:31
void sendSanyoAc88(const uint8_t *data, const uint16_t nbytes=kSanyoAc88StateLength, const uint16_t repeat=kSanyoAc88MinRepeat)
Send a SanyoAc88 formatted message. Status: ALPHA / Completely untested.
Definition: ir_Sanyo.cpp:687
Class for sending all basic IR protocols.
Definition: IRsend.h:237
void sendManchesterData(const uint16_t half_period, const uint64_t data, const uint16_t nbits, const bool MSBfirst=true, const bool GEThomas=true)
Generic method for sending Manchester code data. Will send leading or trailing 0's if the nbits is la...
Definition: IRsend.cpp:445
@ YX1FSF
Definition: IRsend.h:158
const uint16_t kAiwaRcT501MinRepeats
Definition: IRremoteESP8266.h:1153
int8_t calibrate(uint16_t hz=38000U)
Calculate & set any offsets to account for execution times during sending.
Definition: IRsend.cpp:207
const uint16_t kVoltasStateLength
Definition: IRremoteESP8266.h:1427
stdAc::ac_command_t command
Definition: IRsend.h:133
void sendCarrierAC128(const uint8_t data[], uint16_t nbytes=kCarrierAc128StateLength, uint16_t repeat=kCarrierAc128MinRepeat)
Send a Carrier 128bit HVAC formatted message. Status: BETA / Seems to work with tests....
Definition: ir_Carrier.cpp:563
ac_command_t
Tyoe of A/C command (if the remote uses different codes for each)
Definition: IRsend.h:90
const uint16_t kMitsubishiMinRepeat
Definition: IRremoteESP8266.h:1313
uint64_t encodeSanyoLC7461(uint16_t address, uint8_t command)
(%) Extra tolerance to use.
Definition: ir_Sanyo.cpp:98
void sendDaikin312(const unsigned char data[], const uint16_t nbytes=kDaikin312StateLength, const uint16_t repeat=kDaikin312DefaultRepeat)
Send a Daikin312 (312-bit / 39 byte) A/C formatted message. Status: BETA / Untested on a real device.
Definition: ir_Daikin.cpp:3830
@ ARJW2
(4) AR-JW2 (Same as ARDB1 but with horiz control)
Definition: IRsend.h:149
const uint16_t kArgoStateLength
Definition: IRremoteESP8266.h:1158
const uint16_t kSanyoAc88MinRepeat
Definition: IRremoteESP8266.h:1365
uint32_t encodeSAMSUNG(const uint8_t customer, const uint8_t command)
Construct a raw Samsung message from the supplied customer(address) & command. Status: STABLE / Shoul...
Definition: ir_Samsung.cpp:110
const uint16_t kPanasonicBits
Definition: IRremoteESP8266.h:1336
int16_t model
Definition: IRsend.h:116
void sendTrotec3550(const unsigned char data[], const uint16_t nbytes=kTrotecStateLength, const uint16_t repeat=kTrotecDefaultRepeat)
Send a Trotec 3550 message. Status: STABLE / Known to be working.
Definition: ir_Trotec.cpp:357
uint64_t toggleRC6(const uint64_t data, const uint16_t nbits=kRC6Mode0Bits)
Flip the toggle bit of a Philips RC-6 data message. Used to indicate a change of remote button's stat...
Definition: ir_RC5_RC6.cpp:157
void sendSony(const uint64_t data, const uint16_t nbits=kSony20Bits, const uint16_t repeat=kSonyMinRepeat)
Send a standard Sony/SIRC(Serial Infra-Red Control) message. (40kHz) Status: STABLE / Known working.
Definition: ir_Sony.cpp:47
const uint8_t kDutyMax
Definition: IRsend.h:36
const uint16_t kMilesTag2ShotBits
Definition: IRremoteESP8266.h:1428
uint32_t _freq_unittest
Definition: IRsend.h:906
const uint16_t kDaikin152StateLength
Definition: IRremoteESP8266.h:1205
uint32_t encodeLG(uint16_t address, uint16_t command)
Construct a raw 28-bit LG message code from the supplied address & command. Status: STABLE / Works.
Definition: ir_LG.cpp:132
void sendRaw(const uint16_t buf[], const uint16_t len, const uint16_t hz)
Send a raw IRremote message.
Definition: IRsend.cpp:539
void sendMultibrackets(const uint64_t data, const uint16_t nbits=kMultibracketsBits, const uint16_t repeat=kMultibracketsDefaultRepeat)
Send a Multibrackets formatted message. Status: BETA / Appears to be working.
Definition: ir_Multibrackets.cpp:26
const uint16_t kSanyoAc152StateLength
Definition: IRremoteESP8266.h:1366
const uint16_t kXmpBits
Definition: IRremoteESP8266.h:1423
const uint16_t kHaierACYRW02StateLength
Definition: IRremoteESP8266.h:1255
uint64_t encodeRC6(const uint32_t address, const uint8_t command, const uint16_t mode=kRC6Mode0Bits)
Encode a Philips RC-6 data message. Status: Beta / Should be working.
Definition: ir_RC5_RC6.cpp:171
const uint16_t kMultibracketsDefaultRepeat
Definition: IRremoteESP8266.h:1330
void sendMitsubishi112(const unsigned char data[], const uint16_t nbytes=kMitsubishi112StateLength, const uint16_t repeat=kMitsubishi112MinRepeat)
Send a Mitsubishi 112-bit A/C formatted message. (MITSUBISHI112) Status: Stable / Reported as working...
Definition: ir_Mitsubishi.cpp:1259
@ A705
Definition: IRsend.h:194
@ SAC_WREM2
Definition: IRsend.h:227
@ kPanasonicCkp
Definition: IRsend.h:187
void sendArris(const uint64_t data, const uint16_t nbits=kArrisBits, const uint16_t repeat=kNoRepeat)
Send an Arris Manchester Code formatted message. Status: STABLE / Confirmed working.
Definition: ir_Arris.cpp:36
void sendWhirlpoolAC(const unsigned char data[], const uint16_t nbytes=kWhirlpoolAcStateLength, const uint16_t repeat=kWhirlpoolAcDefaultRepeat)
Send a Whirlpool A/C message. Status: BETA / Probably works.
Definition: ir_Whirlpool.cpp:55
void sendData(uint16_t onemark, uint32_t onespace, uint16_t zeromark, uint32_t zerospace, uint64_t data, uint16_t nbits, bool MSBfirst=true)
Generic method for sending data that is common to most protocols. Will send leading or trailing 0's i...
Definition: IRsend.cpp:246
const uint16_t kGoodweatherBits
Definition: IRremoteESP8266.h:1246
void sendKelvinator(const unsigned char data[], const uint16_t nbytes=kKelvinatorStateLength, const uint16_t repeat=kKelvinatorDefaultRepeat)
Send a Kelvinator A/C message. Status: STABLE / Known working.
Definition: ir_Kelvinator.cpp:64
VIRTUAL void ledOn()
Turn on the IR LED.
Definition: IRsend.cpp:60
const uint16_t kGicableMinRepeat
Definition: IRremoteESP8266.h:1245
void sendHitachiAC1(const unsigned char data[], const uint16_t nbytes=kHitachiAc1StateLength, const uint16_t repeat=kHitachiAcDefaultRepeat)
Send a Hitachi 13 byte/224-bit A/C formatted message. (HITACHI_AC1) Status: STABLE / Confirmed Workin...
Definition: ir_Hitachi.cpp:97
void sendBosch144(const unsigned char data[], const uint16_t nbytes=kBosch144StateLength, const uint16_t repeat=kNoRepeat)
Send a Bosch 144-bit / 18-byte message (96-bit message are also possible) Status: BETA / Probably Wor...
Definition: ir_Bosch.cpp:15
const uint16_t kDaikin216StateLength
Definition: IRremoteESP8266.h:1214
void sendGICable(uint64_t data, uint16_t nbits=kGicableBits, uint16_t repeat=kGicableMinRepeat)
Send a raw G.I. Cable formatted message. Status: Alpha / Untested.
Definition: ir_GICable.cpp:37
const uint16_t kSamsungAcStateLength
Definition: IRremoteESP8266.h:1356
const uint16_t kKelonBits
Definition: IRremoteESP8266.h:1286
@ DG11J13A
Definition: IRsend.h:212
void sendSharp(const uint16_t address, const uint16_t command, const uint16_t nbits=kSharpBits, const uint16_t repeat=kNoRepeat)
Send a Sharp message Status: DEPRECATED / Previously working fine.
Definition: ir_Sharp.cpp:135
panasonic_ac_remote_model_t
Panasonic A/C model numbers.
Definition: IRsend.h:181
swingh_t
Common A/C settings for Horizontal Swing.
Definition: IRsend.h:100
@ AKB75215403
Definition: IRsend.h:219
void sendDenon(uint64_t data, uint16_t nbits=kDenonBits, uint16_t repeat=kNoRepeat)
Send a Denon formatted message. Status: STABLE / Should be working.
Definition: ir_Denon.cpp:48
void sendCarrierAC64(uint64_t data, uint16_t nbits=kCarrierAc64Bits, uint16_t repeat=kCarrierAc64MinRepeat)
Send a Carrier 64bit HVAC formatted message. Status: STABLE / Known to be working.
Definition: ir_Carrier.cpp:196
void sendPioneer(const uint64_t data, const uint16_t nbits=kPioneerBits, const uint16_t repeat=kNoRepeat)
Send a raw Pioneer formatted message. Status: STABLE / Expected to be working.
Definition: ir_Pioneer.cpp:43
@ YAW1F
Definition: IRsend.h:156
const uint16_t kSymphonyBits
Definition: IRremoteESP8266.h:1387
const uint16_t kDaikin128StateLength
Definition: IRremoteESP8266.h:1202
const uint16_t kKelon168StateLength
Definition: IRremoteESP8266.h:1287
const uint16_t kRC6Mode0Bits
Definition: IRremoteESP8266.h:1351
const uint16_t kDaikin176DefaultRepeat
Definition: IRremoteESP8266.h:1210
void sendPanasonic64(const uint64_t data, const uint16_t nbits=kPanasonicBits, const uint16_t repeat=kNoRepeat)
Send a Panasonic formatted message. Status: STABLE / Should be working.
Definition: ir_Panasonic.cpp:72
const uint16_t kCarrierAc128MinRepeat
Definition: IRremoteESP8266.h:1184
const uint16_t kMitsubishiHeavy152MinRepeat
Definition: IRremoteESP8266.h:1328
void sendHaierAC(const unsigned char data[], const uint16_t nbytes=kHaierACStateLength, const uint16_t repeat=kHaierAcDefaultRepeat)
Send a Haier A/C formatted message. (HSU07-HEA03 remote) Status: STABLE / Known to be working.
Definition: ir_Haier.cpp:56
void sendSamsung36(const uint64_t data, const uint16_t nbits=kSamsung36Bits, const uint16_t repeat=kNoRepeat)
Send a Samsung 36-bit formatted message. Status: STABLE / Works on real devices.
Definition: ir_Samsung.cpp:175
const uint16_t kDaikin200DefaultRepeat
Definition: IRremoteESP8266.h:1213
void sendVoltas(const unsigned char data[], const uint16_t nbytes=kVoltasStateLength, const uint16_t repeat=kNoRepeat)
Send a Voltas formatted message. Status: STABLE / Working on real device.
Definition: ir_Voltas.cpp:41
const uint16_t kNoRepeat
Definition: IRremoteESP8266.h:1145
uint16_t offTimePeriod
Definition: IRsend.h:909
@ TAC09CHSD
Definition: IRsend.h:200
void sendHaierAC176(const unsigned char data[], const uint16_t nbytes=kHaierAC176StateLength, const uint16_t repeat=kHaierAc176DefaultRepeat)
Send a Haier 176 bit remote A/C formatted message. Status: STABLE / Known to be working.
Definition: ir_Haier.cpp:91
const uint16_t kSony20Bits
Definition: IRremoteESP8266.h:1384
const uint16_t kMitsubishiACMinRepeat
Definition: IRremoteESP8266.h:1316
const uint16_t kMetzBits
Definition: IRremoteESP8266.h:1301
void sendSony38(const uint64_t data, const uint16_t nbits=kSony20Bits, const uint16_t repeat=kSonyMinRepeat+1)
Send an alternative 38kHz Sony/SIRC(Serial Infra-Red Control) message. Status: STABLE / Known working...
Definition: ir_Sony.cpp:63
uint32_t encodeSony(const uint16_t nbits, const uint16_t command, const uint16_t address, const uint16_t extended=0)
Convert Sony/SIRC command, address, & extended bits into sendSony format. Status: STABLE / Should be ...
Definition: ir_Sony.cpp:89
@ kPanasonicUnknown
Definition: IRsend.h:182
fujitsu_ac_remote_model_t
Fujitsu A/C model numbers.
Definition: IRsend.h:140
const uint16_t kPanasonicAcDefaultRepeat
Definition: IRremoteESP8266.h:1344
const uint16_t kSymphonyDefaultRepeat
Definition: IRremoteESP8266.h:1388
@ ARREB1E
(3) AR-REB1E, AR-RAH1U (Similar to ARRAH2E but no horiz control)
Definition: IRsend.h:147
void sendPanasonicAC(const unsigned char data[], const uint16_t nbytes=kPanasonicAcStateLength, const uint16_t repeat=kPanasonicAcDefaultRepeat)
Send a Panasonic A/C message. Status: STABLE / Work with real device(s).
Definition: ir_Panasonic.cpp:180
const uint16_t kYorkStateLength
Definition: IRremoteESP8266.h:1437
stdAc::swingh_t swingh
Definition: IRsend.h:123
const uint16_t kCoolixDefaultRepeat
Definition: IRremoteESP8266.h:1172
@ kPanasonicNke
Definition: IRsend.h:184
@ GE6711AR2853M
Definition: IRsend.h:218
@ ARREW4E
(6) Similar to ARRAH2E, but with different temp config.
Definition: IRsend.h:151
void sendToto(const uint64_t data, const uint16_t nbits=kTotoBits, const uint16_t repeat=kTotoDefaultRepeat)
Send a Toto Toilet formatted message. Status: BETA / Seems to work.
Definition: ir_Toto.cpp:33
void sendHitachiAc3(const unsigned char data[], const uint16_t nbytes, const uint16_t repeat=kHitachiAcDefaultRepeat)
Send a Hitachi(3) A/C formatted message. (HITACHI_AC3) Status: STABLE / Working fine.
Definition: ir_Hitachi.cpp:1351
const uint16_t kTcl112AcDefaultRepeat
Definition: IRremoteESP8266.h:1394
const uint16_t kDelonghiAcDefaultRepeat
Definition: IRremoteESP8266.h:1221
void sendSanyoAc(const uint8_t *data, const uint16_t nbytes=kSanyoAcStateLength, const uint16_t repeat=kNoRepeat)
Send a SanyoAc formatted message. Status: STABLE / Reported as working.
Definition: ir_Sanyo.cpp:270
const uint16_t kSanyoAc152MinRepeat
Definition: IRremoteESP8266.h:1368
const uint16_t kCoronaAcStateLength
Definition: IRremoteESP8266.h:1186
void sendRhoss(const unsigned char data[], const uint16_t nbytes=kRhossStateLength, const uint16_t repeat=kRhossDefaultRepeat)
Send a Rhoss HVAC formatted message. Status: STABLE / Reported as working.
Definition: ir_Rhoss.cpp:33
void sendRC5(const uint64_t data, uint16_t nbits=kRC5XBits, const uint16_t repeat=kNoRepeat)
Send a Philips RC-5/RC-5X packet. Status: RC-5 (stable), RC-5X (alpha)
Definition: ir_RC5_RC6.cpp:61
void sendMitsubishi(uint64_t data, uint16_t nbits=kMitsubishiBits, uint16_t repeat=kMitsubishiMinRepeat)
Send the supplied Mitsubishi 16-bit message. Status: STABLE / Working.
Definition: ir_Mitsubishi.cpp:107
void sendAirwell(uint64_t data, uint16_t nbits=kAirwellBits, uint16_t repeat=kAirwellMinRepeats)
Send an Airwell Manchester Code formatted message. Status: BETA / Appears to be working.
Definition: ir_Airwell.cpp:31
const uint16_t kDoshishaBits
Definition: IRremoteESP8266.h:1229
const uint16_t kHaierAc176DefaultRepeat
Definition: IRremoteESP8266.h:1263
const uint16_t kCarrierAc40Bits
Definition: IRremoteESP8266.h:1175
const uint16_t kTrotecStateLength
Definition: IRremoteESP8266.h:1412
const uint16_t kWhirlpoolAcDefaultRepeat
Definition: IRremoteESP8266.h:1418
void sendMirage(const unsigned char data[], const uint16_t nbytes=kMirageStateLength, const uint16_t repeat=kMirageMinRepeat)
Send a Mirage formatted message. Status: STABLE / Reported as working.
Definition: ir_Mirage.cpp:53
void sendSAMSUNG(const uint64_t data, const uint16_t nbits=kSamsungBits, const uint16_t repeat=kNoRepeat)
Send a 32-bit Samsung formatted message. Status: STABLE / Should be working.
Definition: ir_Samsung.cpp:96
const uint16_t kHitachiAc424StateLength
Definition: IRremoteESP8266.h:1281
const uint16_t kMitsubishiHeavy88StateLength
Definition: IRremoteESP8266.h:1323
void sendNeoclima(const unsigned char data[], const uint16_t nbytes=kNeoclimaStateLength, const uint16_t repeat=kNeoclimaMinRepeat)
Send a Neoclima message. Status: STABLE / Known to be working.
Definition: ir_Neoclima.cpp:40
const uint16_t kTcl96AcStateLength
Definition: IRremoteESP8266.h:1389
void sendSharpRaw(const uint64_t data, const uint16_t nbits=kSharpBits, const uint16_t repeat=kNoRepeat)
Send a (raw) Sharp message.
Definition: ir_Sharp.cpp:65
@ V9014557_A
Definition: IRsend.h:164
void sendGree(const uint64_t data, const uint16_t nbits=kGreeBits, const uint16_t repeat=kGreeDefaultRepeat)
Send a Gree Heat Pump formatted message. Status: STABLE / Working.
Definition: ir_Gree.cpp:76
void sendEcoclim(const uint64_t data, const uint16_t nbits=kEcoclimBits, const uint16_t repeat=kNoRepeat)
Send a EcoClim A/C formatted message. Status: STABLE / Confirmed working on real device.
Definition: ir_Ecoclim.cpp:41
const uint16_t kMitsubishiBits
Definition: IRremoteESP8266.h:1310
void sendMitsubishi136(const unsigned char data[], const uint16_t nbytes=kMitsubishi136StateLength, const uint16_t repeat=kMitsubishi136MinRepeat)
Send a Mitsubishi 136-bit A/C message. (MITSUBISHI136) Status: BETA / Probably working....
Definition: ir_Mitsubishi.cpp:894
Enumerators and Structures for the Common A/C API.
Definition: IRsend.h:47
@ R_LT0541_HTA_A
Definition: IRsend.h:170
const uint16_t kPanasonicAcStateLength
Definition: IRremoteESP8266.h:1340
void sendMitsubishiHeavy88(const unsigned char data[], const uint16_t nbytes=kMitsubishiHeavy88StateLength, const uint16_t repeat=kMitsubishiHeavy88MinRepeat)
Send a MitsubishiHeavy 88-bit A/C message. Status: BETA / Appears to be working. Needs testing agains...
Definition: ir_MitsubishiHeavy.cpp:47
void sendGorenje(const uint64_t data, const uint16_t nbits=kGorenjeBits, const uint16_t repeat=kNoRepeat)
Send a Gorenje Cooker Hood formatted message. Status: STABLE / Known working.
Definition: ir_Gorenje.cpp:29
void sendVestelAc(const uint64_t data, const uint16_t nbits=kVestelAcBits, const uint16_t repeat=kNoRepeat)
Send a Vestel message Status: STABLE / Working.
Definition: ir_Vestel.cpp:36
void sendTcl96Ac(const unsigned char data[], const uint16_t nbytes=kTcl96AcStateLength, const uint16_t repeat=kTcl96AcDefaultRepeat)
Send a TCL 96-bit A/C message. Status: BETA / Untested on a real device working.
Definition: ir_Tcl.cpp:546
const uint16_t kMideaBits
Definition: IRremoteESP8266.h:1303
static uint32_t encodeMetz(const uint8_t address, const uint8_t command, const bool toggle=false)
Encode a Metz address, command, and toggle bits into a code suitable for use with sendMetz().
Definition: ir_Metz.cpp:48
const uint16_t kKelvinatorStateLength
Definition: IRremoteESP8266.h:1289
void sendMidea24(const uint64_t data, const uint16_t nbits=kMidea24Bits, const uint16_t repeat=kMidea24MinRepeat)
Send a Midea24 formatted message. Status: STABLE / Confirmed working on a real device.
Definition: ir_Midea.cpp:822
static uint16_t defaultBits(const decode_type_t protocol)
Get the default number of bits for a given protocol.
Definition: IRsend.cpp:603
static uint32_t toggleArrisRelease(const uint32_t data)
Flip the toggle button release bits of an Arris message. Used to indicate a change of remote button's...
Definition: ir_Arris.cpp:54
decode_type_t protocol
Definition: IRsend.h:115
const uint16_t kHitachiAc296StateLength
Definition: IRremoteESP8266.h:1277
const uint16_t kDaikin216DefaultRepeat
Definition: IRremoteESP8266.h:1216
bool beep
Definition: IRsend.h:130
const uint16_t kWhirlpoolAcStateLength
Definition: IRremoteESP8266.h:1416
const uint16_t kNECBits
Definition: IRremoteESP8266.h:1332
const uint16_t kDenonBits
Definition: IRremoteESP8266.h:1224
@ AKB74955603
Definition: IRsend.h:220
const uint16_t kZepealBits
Definition: IRremoteESP8266.h:1424
bool filter
Definition: IRsend.h:128
const uint16_t kRhossDefaultRepeat
Definition: IRremoteESP8266.h:1434
const uint16_t kCarrierAc40MinRepeat
Definition: IRremoteESP8266.h:1176
const uint16_t kMidea24Bits
Definition: IRremoteESP8266.h:1305
void sendElitescreens(const uint64_t data, const uint16_t nbits=kEliteScreensBits, const uint16_t repeat=kEliteScreensDefaultRepeat)
Send an Elite Screens formatted message. Status: BETA / Probably Working.
Definition: ir_EliteScreens.cpp:44
void sendDelonghiAc(uint64_t data, uint16_t nbits=kDelonghiAcBits, uint16_t repeat=kDelonghiAcDefaultRepeat)
Send a Delonghi A/C formatted message. Status: STABLE / Reported as working on a real device.
Definition: ir_Delonghi.cpp:36
@ KKG29AC1
Definition: IRsend.h:177
const uint16_t kDaikin160DefaultRepeat
Definition: IRremoteESP8266.h:1201
void _sendSony(const uint64_t data, const uint16_t nbits, const uint16_t repeat, const uint16_t freq)
Internal procedure to generate a Sony/SIRC(Serial Infra-Red Control) message Status: STABLE / Known w...
Definition: ir_Sony.cpp:74
const uint16_t kToshibaACMinRepeat
Definition: IRremoteESP8266.h:1401
void enableIROut(uint32_t freq, uint8_t duty=kDutyDefault)
Set the output frequency modulation and duty cycle.
Definition: IRsend.cpp:92
const uint16_t kHitachiAc344StateLength
Definition: IRremoteESP8266.h:1279
void sendXmp(const uint64_t data, const uint16_t nbits=kXmpBits, const uint16_t repeat=kNoRepeat)
Send a XMP packet. Status: STABLE / Confirmed working against a real device.
Definition: ir_Xmp.cpp:122
@ AKB73757604
Definition: IRsend.h:221
@ kPanasonicDke
Definition: IRsend.h:185
const uint16_t kCarrierAc64Bits
Definition: IRremoteESP8266.h:1177
const uint16_t kDaikin128DefaultRepeat
Definition: IRremoteESP8266.h:1204
const uint16_t kPioneerBits
Definition: IRremoteESP8266.h:1346
void sendDaikin200(const unsigned char data[], const uint16_t nbytes=kDaikin200StateLength, const uint16_t repeat=kDaikin200DefaultRepeat)
Send a Daikin200 (200-bit) A/C formatted message. Status: BETA / Untested on a real device.
Definition: ir_Daikin.cpp:3745
const uint16_t kSharpAcStateLength
Definition: IRremoteESP8266.h:1377
void sendSharpAc(const unsigned char data[], const uint16_t nbytes=kSharpAcStateLength, const uint16_t repeat=kSharpAcDefaultRepeat)
Send a Sharp A/C message. Status: Alpha / Untested.
Definition: ir_Sharp.cpp:228
void sendAirton(const uint64_t data, const uint16_t nbits=kAirtonBits, const uint16_t repeat=kAirtonDefaultRepeat)
Send a Airton formatted message. Status: STABLE / Confirmed working.
Definition: ir_Airton.cpp:33
@ kPanasonicLke
Definition: IRsend.h:183
const uint16_t kGreeBits
Definition: IRremoteESP8266.h:1250
void sendCarrierAC(uint64_t data, uint16_t nbits=kCarrierAcBits, uint16_t repeat=kCarrierAcMinRepeat)
Send a Carrier HVAC formatted message. Status: STABLE / Works on real devices.
Definition: ir_Carrier.cpp:75
const uint16_t kJvcBits
Definition: IRremoteESP8266.h:1285
const uint16_t kDaikinStateLength
Definition: IRremoteESP8266.h:1189
const uint16_t kLasertagBits
Definition: IRremoteESP8266.h:1292
void sendDaikin160(const unsigned char data[], const uint16_t nbytes=kDaikin160StateLength, const uint16_t repeat=kDaikin160DefaultRepeat)
Send a Daikin160 (160-bit) A/C formatted message. Status: STABLE / Confirmed working.
Definition: ir_Daikin.cpp:1731
const uint16_t kAiwaRcT501Bits
Definition: IRremoteESP8266.h:1152
void sendDaikin2(const unsigned char data[], const uint16_t nbytes=kDaikin2StateLength, const uint16_t repeat=kDaikin2DefaultRepeat)
Send a Daikin2 (312-bit) A/C formatted message. Status: STABLE / Expected to work.
Definition: ir_Daikin.cpp:669
@ ARRAH2E
(1) AR-RAH2E, AR-RAC1E, AR-RAE1E, AR-RCE1E, AR-RAH2U, AR-REG1U (Default) Warning: Use on incorrect mo...
Definition: IRsend.h:141
const uint16_t kTrumaBits
Definition: IRremoteESP8266.h:1415
const uint16_t kToshibaACStateLength
Definition: IRremoteESP8266.h:1399
const uint16_t kTecoBits
Definition: IRremoteESP8266.h:1395
void sendMitsubishi2(uint64_t data, uint16_t nbits=kMitsubishiBits, uint16_t repeat=kMitsubishiMinRepeat)
Send a supplied second variant Mitsubishi 16-bit message. Status: BETA / Probably works.
Definition: ir_Mitsubishi.cpp:164
const uint16_t kInaxMinRepeat
Definition: IRremoteESP8266.h:1284
VIRTUAL void ledOff()
Turn off the IR LED.
Definition: IRsend.cpp:53
const uint8_t kSherwoodBits
Definition: IRremoteESP8266.h:1380
stdAc::opmode_t mode
Definition: IRsend.h:118
void sendClimaButler(const uint64_t data, const uint16_t nbits=kClimaButlerBits, const uint16_t repeat=kNoRepeat)
Send a ClimaButler formatted message. Status: STABLE / Confirmed working.
Definition: ir_ClimaButler.cpp:30
const uint16_t kDaikinDefaultRepeat
Definition: IRremoteESP8266.h:1193
const uint16_t kDaikin64DefaultRepeat
Definition: IRremoteESP8266.h:1198
void sendInax(const uint64_t data, const uint16_t nbits=kInaxBits, const uint16_t repeat=kInaxMinRepeat)
Send a Inax Toilet formatted message. Status: STABLE / Working.
Definition: ir_Inax.cpp:31
lg_ac_remote_model_t
LG A/C model numbers.
Definition: IRsend.h:217
void sendTranscold(const uint64_t data, const uint16_t nbits=kTranscoldBits, const uint16_t repeat=kTranscoldDefaultRepeat)
Send a Transcold message Status: STABLE / Confirmed Working.
Definition: ir_Transcold.cpp:40
const uint16_t kMitsubishiHeavy88MinRepeat
Definition: IRremoteESP8266.h:1325
@ kVoltas122LZF
Definition: IRsend.h:207
const uint16_t kHitachiAcDefaultRepeat
Definition: IRremoteESP8266.h:1266
bool econo
Definition: IRsend.h:126
void sendSherwood(uint64_t data, uint16_t nbits=kSherwoodBits, uint16_t repeat=kSherwoodMinRepeat)
Send an IR command to a Sherwood device. Status: STABLE / Known working.
Definition: ir_Sherwood.cpp:21
const uint16_t kMidea24MinRepeat
Definition: IRremoteESP8266.h:1306
const uint16_t kCarrierAc84StateLength
Definition: IRremoteESP8266.h:1179
void sendMitsubishiHeavy152(const unsigned char data[], const uint16_t nbytes=kMitsubishiHeavy152StateLength, const uint16_t repeat=kMitsubishiHeavy152MinRepeat)
Send a MitsubishiHeavy 152-bit A/C message. Status: BETA / Appears to be working. Needs testing again...
Definition: ir_MitsubishiHeavy.cpp:64
const uint16_t kDishBits
Definition: IRremoteESP8266.h:1227
const uint16_t kDishMinRepeat
Definition: IRremoteESP8266.h:1228
void sendMilestag2(const uint64_t data, const uint16_t nbits=kMilesTag2ShotBits, const uint16_t repeat=kMilesMinRepeat)
Percentage.
Definition: ir_MilesTag2.cpp:41
void sendPanasonic(const uint16_t address, const uint32_t data, const uint16_t nbits=kPanasonicBits, const uint16_t repeat=kNoRepeat)
Send a Panasonic formatted message. Status: STABLE, but DEPRECATED.
Definition: ir_Panasonic.cpp:89
const uint16_t kAirtonBits
Definition: IRremoteESP8266.h:1148
VIRTUAL void space(uint32_t usec)
Turn the pin (LED) off for a given time. Sends an IR space for the specified number of microseconds....
Definition: IRsend.cpp:194
const uint16_t kHitachiAc2StateLength
Definition: IRremoteESP8266.h:1269
void sendGC(uint16_t buf[], uint16_t len)
Send a shortened GlobalCache (GC) IRdb/control tower formatted message. Status: STABLE / Known workin...
Definition: ir_GlobalCache.cpp:35
uint16_t encodeRC5(const uint8_t address, const uint8_t command, const bool key_released=false)
Encode a Philips RC-5 data message. Status: Beta / Should be working.
Definition: ir_RC5_RC6.cpp:115
void sendHitachiAc264(const unsigned char data[], const uint16_t nbytes=kHitachiAc264StateLength, const uint16_t repeat=kHitachiAcDefaultRepeat)
Send a Hitachi 33-byte/264-bit A/C message (HITACHI_AC264) Basically the same as sendHitachiAC() exce...
Definition: ir_Hitachi.cpp:1609
void sendJVC(uint64_t data, uint16_t nbits=kJvcBits, uint16_t repeat=kNoRepeat)
Send a JVC formatted message. Status: STABLE / Working.
Definition: ir_JVC.cpp:46
void sendDoshisha(const uint64_t data, uint16_t nbits=kDoshishaBits, const uint16_t repeat=kNoRepeat)
Send a Doshisha formatted message. Status: STABLE / Works on real device.
Definition: ir_Doshisha.cpp:53
const uint16_t kTotoBits
Definition: IRremoteESP8266.h:1406
uint64_t toggleRC5(const uint64_t data)
Flip the toggle bit of a Philips RC-5/RC-5X data message. Used to indicate a change of remote button'...
Definition: ir_RC5_RC6.cpp:142
void sendDaikin(const unsigned char data[], const uint16_t nbytes=kDaikinStateLength, const uint16_t repeat=kDaikinDefaultRepeat)
Send a Daikin 280-bit A/C formatted message. Status: STABLE.
Definition: ir_Daikin.cpp:65
const uint16_t kWowweeDefaultRepeat
Definition: IRremoteESP8266.h:1421
const uint16_t kCarrierAcMinRepeat
Definition: IRremoteESP8266.h:1174
const uint16_t kNikaiBits
Definition: IRremoteESP8266.h:1331
uint64_t encodeMagiQuest(const uint32_t wand_id, const uint16_t magnitude)
Encode a MagiQuest wand_id, and a magnitude into a single 64bit value. (Only 48 bits of real data + 8...
Definition: ir_Magiquest.cpp:42
const uint16_t kKelvinatorDefaultRepeat
Definition: IRremoteESP8266.h:1291
void sendHitachiAC2(const unsigned char data[], const uint16_t nbytes=kHitachiAc2StateLength, const uint16_t repeat=kHitachiAcDefaultRepeat)
Send a Hitachi 53 byte/424-bit A/C formatted message. (HITACHI_AC2) Basically the same as sendHitachi...
Definition: ir_Hitachi.cpp:115
const uint16_t kLutronBits
Definition: IRremoteESP8266.h:1299
void sendDaikin128(const unsigned char data[], const uint16_t nbytes=kDaikin128StateLength, const uint16_t repeat=kDaikin128DefaultRepeat)
Send a Daikin128 (128-bit) A/C formatted message. Status: STABLE / Known Working.
Definition: ir_Daikin.cpp:2479
void sendCarrierAC40(uint64_t data, uint16_t nbits=kCarrierAc40Bits, uint16_t repeat=kCarrierAc40MinRepeat)
Send a Carrier 40bit HVAC formatted message. Status: STABLE / Tested against a real device.
Definition: ir_Carrier.cpp:147
void sendPanasonicAC32(const uint64_t data, const uint16_t nbits=kPanasonicAc32Bits, const uint16_t repeat=kPanasonicAcDefaultRepeat)
Send a Panasonic AC 32/16bit formatted message. Status: STABLE / Confirmed working.
Definition: ir_Panasonic.cpp:920
const uint16_t kSharpAcDefaultRepeat
Definition: IRremoteESP8266.h:1379
void sendTrotec(const unsigned char data[], const uint16_t nbytes=kTrotecStateLength, const uint16_t repeat=kTrotecDefaultRepeat)
Send a Trotec message. Status: Beta / Probably Working.
Definition: ir_Trotec.cpp:50
void sendCoronaAc(const uint8_t data[], const uint16_t nbytes=kCoronaAcStateLength, const uint16_t repeat=kNoRepeat)
Send a CoronaAc formatted message. Status: STABLE / Working on real device.
Definition: ir_Corona.cpp:50
@ A903
Definition: IRsend.h:195
mirage_ac_remote_model_t
MIRAGE A/C model numbers.
Definition: IRsend.h:175
bool light
Definition: IRsend.h:127
stdAc::fanspeed_t fanspeed
Definition: IRsend.h:121
const uint16_t kEliteScreensDefaultRepeat
Definition: IRremoteESP8266.h:1238
const uint16_t kTcl112AcStateLength
Definition: IRremoteESP8266.h:1392
void sendRCMM(uint64_t data, uint16_t nbits=kRCMMBits, uint16_t repeat=kNoRepeat)
Send a Philips RC-MM packet. Status: STABLE / Should be working.
Definition: ir_RCMM.cpp:46
void sendManchester(const uint16_t headermark, const uint32_t headerspace, const uint16_t half_period, const uint16_t footermark, const uint32_t gap, const uint64_t data, const uint16_t nbits, const uint16_t frequency=38, const bool MSBfirst=true, const uint16_t repeat=kNoRepeat, const uint8_t dutycycle=kDutyDefault, const bool GEThomas=true)
Generic method for sending Manchester code messages. Will send leading or trailing 0's if the nbits i...
Definition: IRsend.cpp:506
const uint16_t kDaikin160StateLength
Definition: IRremoteESP8266.h:1199
void sendHitachiAC(const unsigned char data[], const uint16_t nbytes=kHitachiAcStateLength, const uint16_t repeat=kHitachiAcDefaultRepeat)
Send a Hitachi 28-byte/224-bit A/C formatted message. (HITACHI_AC) Status: STABLE / Working.
Definition: ir_Hitachi.cpp:68
const uint16_t kDaikin2StateLength
Definition: IRremoteESP8266.h:1194
void sendElectraAC(const unsigned char data[], const uint16_t nbytes=kElectraAcStateLength, const uint16_t repeat=kNoRepeat)
Send a Electra A/C formatted message. Status: Alpha / Needs testing against a real device.
Definition: ir_Electra.cpp:40
const uint16_t kCoolix48Bits
Definition: IRremoteESP8266.h:1171
const uint16_t kEcoclimBits
Definition: IRremoteESP8266.h:1230
const uint16_t kSherwoodMinRepeat
Definition: IRremoteESP8266.h:1381
const uint16_t kCarrierAc64MinRepeat
Definition: IRremoteESP8266.h:1178
@ DG11J191
Definition: IRsend.h:213
void sendBose(const uint64_t data, const uint16_t nbits=kBoseBits, const uint16_t repeat=kNoRepeat)
Send a Bose formatted message. Status: STABLE / Known working.
Definition: ir_Bose.cpp:29
const uint16_t kDaikin312StateLength
Definition: IRremoteESP8266.h:1217
void begin()
Enable the pin for output.
Definition: IRsend.cpp:45
const uint16_t kSanyoAcStateLength
Definition: IRremoteESP8266.h:1361
const uint16_t kTechnibelAcDefaultRepeat
Definition: IRremoteESP8266.h:1223
@ SAC_WREM3
Definition: IRsend.h:228
void sendFujitsuAC(const unsigned char data[], const uint16_t nbytes, const uint16_t repeat=kFujitsuAcMinRepeat)
Send a Fujitsu A/C formatted message. Status: STABLE / Known Good.
Definition: ir_Fujitsu.cpp:53
uint32_t encodeSharp(const uint16_t address, const uint16_t command, const uint16_t expansion=1, const uint16_t check=0, const bool MSBfirst=false)
Encode a (raw) Sharp message from it's components. Status: STABLE / Works okay.
Definition: ir_Sharp.cpp:100
static uint32_t encodeArris(const uint32_t command, const bool release)
Construct a raw 32-bit Arris message code from the supplied command & release setting.
Definition: ir_Arris.cpp:64
const uint16_t kLegoPfBits
Definition: IRremoteESP8266.h:1294
const uint16_t kSharpBits
Definition: IRremoteESP8266.h:1376
int16_t sleep
Definition: IRsend.h:131
bool power
Definition: IRsend.h:117
const uint16_t kWowweeBits
Definition: IRremoteESP8266.h:1420
const uint16_t kTotoDefaultRepeat
Definition: IRremoteESP8266.h:1409
void sendHitachiAc424(const unsigned char data[], const uint16_t nbytes=kHitachiAc424StateLength, const uint16_t repeat=kHitachiAcDefaultRepeat)
Send a Hitachi 53-byte/424-bit A/C formatted message. (HITACHI_AC424) Status: STABLE / Reported as wo...
Definition: ir_Hitachi.cpp:946
void sendTeco(const uint64_t data, const uint16_t nbits=kTecoBits, const uint16_t repeat=kNoRepeat)
Send a Teco A/C message. Status: Beta / Probably working.
Definition: ir_Teco.cpp:37
const uint16_t kMitsubishi136StateLength
Definition: IRremoteESP8266.h:1317
void sendLutron(uint64_t data, uint16_t nbits=kLutronBits, uint16_t repeat=kNoRepeat)
Send a Lutron formatted message. Status: Stable / Appears to be working for real devices.
Definition: ir_Lutron.cpp:41
void sendSamsungAC(const unsigned char data[], const uint16_t nbytes=kSamsungAcStateLength, const uint16_t repeat=kSamsungAcDefaultRepeat)
Send a Samsung A/C message. Status: Stable / Known working.
Definition: ir_Samsung.cpp:256
uint64_t encodePanasonic(const uint16_t manufacturer, const uint8_t device, const uint8_t subdevice, const uint8_t function)
Calculate the raw Panasonic data based on device, subdevice, & function. Status: STABLE / Should be w...
Definition: ir_Panasonic.cpp:103
void sendSanyoLC7461(const uint64_t data, const uint16_t nbits=kSanyoLC7461Bits, const uint16_t repeat=kNoRepeat)
Send a Sanyo LC7461 message. Status: BETA / Probably works.
Definition: ir_Sanyo.cpp:130
IRsend(uint16_t IRsendPin, bool inverted=false, bool use_modulation=true)
Constructor for an IRsend object.
Definition: IRsend.cpp:28
void sendDISH(uint64_t data, uint16_t nbits=kDishBits, uint16_t repeat=kDishMinRepeat)
Send a DISH NETWORK formatted message. Status: STABLE / Working.
Definition: ir_Dish.cpp:48
void sendCOOLIX(const uint64_t data, const uint16_t nbits=kCoolixBits, const uint16_t repeat=kCoolixDefaultRepeat)
Send a Coolix 24-bit message Status: STABLE / Confirmed Working.
Definition: ir_Coolix.cpp:50
const uint16_t kRCMMBits
Definition: IRremoteESP8266.h:1353
const uint8_t kVestelAcBits
Definition: IRremoteESP8266.h:1422
const uint16_t kTranscoldBits
Definition: IRremoteESP8266.h:1410
const uint16_t kInaxBits
Definition: IRremoteESP8266.h:1283
@ YBOFB
Definition: IRsend.h:157
const uint16_t kLegoPfMinRepeat
Definition: IRremoteESP8266.h:1295
@ A907
Definition: IRsend.h:193
const uint16_t kAmcorDefaultRepeat
Definition: IRremoteESP8266.h:1157
argo_ac_remote_model_t
Argo A/C model numbers.
Definition: IRsend.h:226
void sendDaikin216(const unsigned char data[], const uint16_t nbytes=kDaikin216StateLength, const uint16_t repeat=kDaikin216DefaultRepeat)
Send a Daikin216 (216-bit) A/C formatted message. Status: Alpha / Untested on a real device.
Definition: ir_Daikin.cpp:1394
const uint16_t kSamsungBits
Definition: IRremoteESP8266.h:1354
uint64_t encodePioneer(uint16_t address, uint16_t command)
Calculate the raw Pioneer data code based on two NEC sub-codes Status: STABLE / Expected to work.
Definition: ir_Pioneer.cpp:82
const uint16_t kDaikin64Bits
Definition: IRremoteESP8266.h:1197
bool quiet
Definition: IRsend.h:124
uint16_t encodeRC5X(const uint8_t address, const uint8_t command, const bool key_released=false)
Encode a Philips RC-5X data message. Status: Beta / Should be working.
Definition: ir_RC5_RC6.cpp:127
Structure to hold a common A/C state.
Definition: IRsend.h:114
const uint16_t kPanasonicAc32Bits
Definition: IRremoteESP8266.h:1345
const uint16_t kLasertagMinRepeat
Definition: IRremoteESP8266.h:1293
const uint8_t kDutyDefault
Definition: IRsend.h:35
const uint16_t kHaierAc160DefaultRepeat
Definition: IRremoteESP8266.h:1260
bool turbo
Definition: IRsend.h:125
void sendMagiQuest(const uint64_t data, const uint16_t nbits=kMagiquestBits, const uint16_t repeat=kNoRepeat)
Send a MagiQuest formatted message. Status: Beta / Should be working.
Definition: ir_Magiquest.cpp:25
void sendTechnibelAc(uint64_t data, uint16_t nbits=kTechnibelAcBits, uint16_t repeat=kTechnibelAcDefaultRepeat)
Send an Technibel AC formatted message. Status: STABLE / Reported as working on a real device.
Definition: ir_Technibel.cpp:35
bool modulation
Definition: IRsend.h:913
const uint16_t kNeoclimaMinRepeat
Definition: IRremoteESP8266.h:1335
const uint16_t kMitsubishi112StateLength
Definition: IRremoteESP8266.h:1320
const uint16_t kDaikin312DefaultRepeat
Definition: IRremoteESP8266.h:1219
void sendTcl112Ac(const unsigned char data[], const uint16_t nbytes=kTcl112AcStateLength, const uint16_t repeat=kTcl112AcDefaultRepeat)
Send a TCL 112-bit A/C message. Status: Beta / Probably working.
Definition: ir_Tcl.cpp:46
@ kPanasonicJke
Definition: IRsend.h:186
const uint16_t kSonyMinRepeat
Definition: IRremoteESP8266.h:1386
const uint16_t kEpsonBits
Definition: IRremoteESP8266.h:1232
void sendNEC(uint64_t data, uint16_t nbits=kNECBits, uint16_t repeat=kNoRepeat)
Send a raw NEC(Renesas) formatted message. Status: STABLE / Known working.
Definition: ir_NEC.cpp:28
void sendMWM(const unsigned char data[], const uint16_t nbytes, const uint16_t repeat=kNoRepeat)
Send a MWM packet/message. Status: Implemented.
Definition: ir_MWM.cpp:37
voltas_ac_remote_model_t
Voltas A/C model numbers.
Definition: IRsend.h:205
void sendDaikin64(const uint64_t data, const uint16_t nbits=kDaikin64Bits, const uint16_t repeat=kDaikin64DefaultRepeat)
Send a Daikin64 (64-bit) A/C formatted message. Status: Beta / Probably Working.
Definition: ir_Daikin.cpp:3339
void sendCarrierAC84(const uint8_t data[], const uint16_t nbytes=kCarrierAc84StateLength, const uint16_t repeat=kNoRepeat)
Send a Carroer A/C 84 Bit formatted message. Status: BETA / Untested but probably works.
Definition: ir_Carrier.cpp:664
void sendRC6(const uint64_t data, const uint16_t nbits=kRC6Mode0Bits, const uint16_t repeat=kNoRepeat)
Send a Philips RC-6 packet. Status: Stable.
Definition: ir_RC5_RC6.cpp:190
const int8_t kPeriodOffset
Definition: IRsend.h:26
@ LG6711A20083V
Definition: IRsend.h:222
const uint16_t kLgBits
Definition: IRremoteESP8266.h:1296
void sendDaikin176(const unsigned char data[], const uint16_t nbytes=kDaikin176StateLength, const uint16_t repeat=kDaikin176DefaultRepeat)
Send a Daikin176 (176-bit) A/C formatted message. Status: STABLE / Working on a real device.
Definition: ir_Daikin.cpp:2085
sharp_ac_remote_model_t
Sharp A/C model numbers.
Definition: IRsend.h:192
const uint16_t kGoodweatherMinRepeat
Definition: IRremoteESP8266.h:1247
const uint16_t kElectraAcStateLength
Definition: IRremoteESP8266.h:1234
float sensorTemperature
Definition: IRsend.h:135
void sendSanyoAc152(const uint8_t *data, const uint16_t nbytes=kSanyoAc152StateLength, const uint16_t repeat=kSanyoAc152MinRepeat)
Send a SanyoAc152 formatted message. Status: BETA / Probably works.
Definition: ir_Sanyo.cpp:998
haier_ac176_remote_model_t
HAIER_AC176 A/C model numbers.
Definition: IRsend.h:163
const uint16_t kGreeDefaultRepeat
Definition: IRremoteESP8266.h:1251
opmode_t
Common A/C settings for A/C operating modes.
Definition: IRsend.h:49
void sendGoodweather(const uint64_t data, const uint16_t nbits=kGoodweatherBits, const uint16_t repeat=kGoodweatherMinRepeat)
Send a Goodweather HVAC formatted message. Status: BETA / Needs testing on real device.
Definition: ir_Goodweather.cpp:32