Ir esp8266 lib update and code impacts (#235)
* integrate new IRremoteESP8266 lib 2.4.2 and add new protocols IR_RC6 IR_MITSUBISHI IR_GICABLE IR_MITSUBISHI2 IR_LASERTAG IR_CARRIER_AC IR_MIDEA IR_NIKAI IR_SHERWOOD IR_DENON IR_AIWA_RC_T501 IR_JVC
This commit is contained in:
1 parent
9b258723a8
commit
b12ee19979
130 files changed
+16548
-1693
No files matched your search
@@ -19,7 +19,7 @@ TEST(TestSendWhynter, SendDataOnly) {
|
||||
"m750s750m750s750m750s750m750s750m750s750m750s750m750s750m750s750"
|
||||
"m750s750m750s750m750s750m750s750m750s750m750s750m750s750m750s750"
|
||||
"m750s750m750s750m750s750m750s750m750s750m750s750m750s750m750s750"
|
||||
"m750s108000", irsend.outputStr());
|
||||
"m750s52050", irsend.outputStr());
|
||||
|
||||
irsend.reset();
|
||||
irsend.sendWhynter(0xFFFFFFFF);
|
||||
@@ -29,7 +29,7 @@ TEST(TestSendWhynter, SendDataOnly) {
|
||||
"m750s2150m750s2150m750s2150m750s2150m750s2150m750s2150m750s2150m750s2150"
|
||||
"m750s2150m750s2150m750s2150m750s2150m750s2150m750s2150m750s2150m750s2150"
|
||||
"m750s2150m750s2150m750s2150m750s2150m750s2150m750s2150m750s2150m750s2150"
|
||||
"m750s108000", irsend.outputStr());
|
||||
"m750s12200", irsend.outputStr());
|
||||
|
||||
irsend.reset();
|
||||
irsend.sendWhynter(0x87654321);
|
||||
@@ -39,7 +39,7 @@ TEST(TestSendWhynter, SendDataOnly) {
|
||||
"m750s750m750s2150m750s2150m750s750m750s750m750s2150m750s750m750s2150"
|
||||
"m750s750m750s2150m750s750m750s750m750s750m750s750m750s2150m750s2150"
|
||||
"m750s750m750s750m750s2150m750s750m750s750m750s750m750s750m750s2150"
|
||||
"m750s108000", irsend.outputStr());
|
||||
"m750s33850", irsend.outputStr());
|
||||
}
|
||||
|
||||
// Test sending with different repeats.
|
||||
@@ -55,7 +55,7 @@ TEST(TestSendWhynter, SendWithRepeats) {
|
||||
"m750s750m750s2150m750s2150m750s750m750s750m750s2150m750s750m750s2150"
|
||||
"m750s750m750s2150m750s750m750s750m750s750m750s750m750s2150m750s2150"
|
||||
"m750s750m750s750m750s2150m750s750m750s750m750s750m750s750m750s2150"
|
||||
"m750s108000", irsend.outputStr());
|
||||
"m750s33850", irsend.outputStr());
|
||||
|
||||
irsend.reset();
|
||||
irsend.sendWhynter(0x87654321, WHYNTER_BITS, 1); // 1 repeat.
|
||||
@@ -65,13 +65,15 @@ TEST(TestSendWhynter, SendWithRepeats) {
|
||||
"m750s750m750s2150m750s2150m750s750m750s750m750s2150m750s750m750s2150"
|
||||
"m750s750m750s2150m750s750m750s750m750s750m750s750m750s2150m750s2150"
|
||||
"m750s750m750s750m750s2150m750s750m750s750m750s750m750s750m750s2150"
|
||||
"m750s108000"
|
||||
"m750s33850"
|
||||
"m750s750m2850s2850"
|
||||
"m750s2150m750s750m750s750m750s750m750s750m750s2150m750s2150m750s2150"
|
||||
"m750s750m750s2150m750s2150m750s750m750s750m750s2150m750s750m750s2150"
|
||||
"m750s750m750s2150m750s750m750s750m750s750m750s750m750s2150m750s2150"
|
||||
"m750s750m750s750m750s2150m750s750m750s750m750s750m750s750m750s2150"
|
||||
"m750s108000", irsend.outputStr());
|
||||
"m750s33850", irsend.outputStr());
|
||||
|
||||
irsend.reset();
|
||||
irsend.sendWhynter(0x87654321, WHYNTER_BITS, 2); // 2 repeats.
|
||||
EXPECT_EQ(
|
||||
"m750s750m2850s2850"
|
||||
@@ -79,19 +81,19 @@ TEST(TestSendWhynter, SendWithRepeats) {
|
||||
"m750s750m750s2150m750s2150m750s750m750s750m750s2150m750s750m750s2150"
|
||||
"m750s750m750s2150m750s750m750s750m750s750m750s750m750s2150m750s2150"
|
||||
"m750s750m750s750m750s2150m750s750m750s750m750s750m750s750m750s2150"
|
||||
"m750s108000"
|
||||
"m750s33850"
|
||||
"m750s750m2850s2850"
|
||||
"m750s2150m750s750m750s750m750s750m750s750m750s2150m750s2150m750s2150"
|
||||
"m750s750m750s2150m750s2150m750s750m750s750m750s2150m750s750m750s2150"
|
||||
"m750s750m750s2150m750s750m750s750m750s750m750s750m750s2150m750s2150"
|
||||
"m750s750m750s750m750s2150m750s750m750s750m750s750m750s750m750s2150"
|
||||
"m750s108000"
|
||||
"m750s33850"
|
||||
"m750s750m2850s2850"
|
||||
"m750s2150m750s750m750s750m750s750m750s750m750s2150m750s2150m750s2150"
|
||||
"m750s750m750s2150m750s2150m750s750m750s750m750s2150m750s750m750s2150"
|
||||
"m750s750m750s2150m750s750m750s750m750s750m750s750m750s2150m750s2150"
|
||||
"m750s750m750s750m750s2150m750s750m750s750m750s750m750s750m750s2150"
|
||||
"m750s108000", irsend.outputStr());
|
||||
"m750s33850", irsend.outputStr());
|
||||
}
|
||||
|
||||
// Test sending an atypical data size.
|
||||
@@ -104,7 +106,7 @@ TEST(TestSendWhynter, SendUnusualSize) {
|
||||
EXPECT_EQ(
|
||||
"m750s750m2850s2850"
|
||||
"m750s750m750s750m750s750m750s750m750s750m750s750m750s750m750s750"
|
||||
"m750s108000", irsend.outputStr());
|
||||
"m750s88050", irsend.outputStr());
|
||||
|
||||
irsend.reset();
|
||||
irsend.sendWhynter(0x1234567890ABCDEF, 64);
|
||||
@@ -118,7 +120,7 @@ TEST(TestSendWhynter, SendUnusualSize) {
|
||||
"m750s2150m750s750m750s2150m750s750m750s2150m750s750m750s2150m750s2150"
|
||||
"m750s2150m750s2150m750s750m750s750m750s2150m750s2150m750s750m750s2150"
|
||||
"m750s2150m750s2150m750s2150m750s750m750s2150m750s2150m750s2150m750s2150"
|
||||
"m750s108000", irsend.outputStr());
|
||||
"m750s12200", irsend.outputStr());
|
||||
}
|
||||
|
||||
// Tests for decodeWhynter().
|
||||
|
||||
Reference in new issue
Block a user