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
@@ -36,7 +36,7 @@ TEST(TestSendPanasonic64, SendDataOnly) {
|
||||
"m432s432m432s432m432s432m432s432m432s432m432s432m432s432m432s432"
|
||||
"m432s432m432s432m432s432m432s432m432s432m432s432m432s432m432s432"
|
||||
"m432s432m432s432m432s432m432s432m432s432m432s432m432s432m432s432"
|
||||
"m432s129600", irsend.outputStr());
|
||||
"m432s116208", irsend.outputStr());
|
||||
|
||||
irsend.reset();
|
||||
irsend.sendPanasonic64(0x40040190ED7C);
|
||||
@@ -48,7 +48,7 @@ TEST(TestSendPanasonic64, SendDataOnly) {
|
||||
"m432s1296m432s432m432s432m432s1296m432s432m432s432m432s432m432s432"
|
||||
"m432s1296m432s1296m432s1296m432s432m432s1296m432s1296m432s432m432s1296"
|
||||
"m432s432m432s1296m432s1296m432s1296m432s1296m432s1296m432s432m432s432"
|
||||
"m432s129600", irsend.outputStr());
|
||||
"m432s102384", irsend.outputStr());
|
||||
|
||||
irsend.reset();
|
||||
irsend.sendPanasonic64(0xFFFFFFFFFFFF);
|
||||
@@ -60,7 +60,7 @@ TEST(TestSendPanasonic64, SendDataOnly) {
|
||||
"m432s1296m432s1296m432s1296m432s1296m432s1296m432s1296m432s1296m432s1296"
|
||||
"m432s1296m432s1296m432s1296m432s1296m432s1296m432s1296m432s1296m432s1296"
|
||||
"m432s1296m432s1296m432s1296m432s1296m432s1296m432s1296m432s1296m432s1296"
|
||||
"m432s129600", irsend.outputStr());
|
||||
"m432s74736", irsend.outputStr());
|
||||
}
|
||||
|
||||
// Test sending with different repeats.
|
||||
@@ -78,7 +78,7 @@ TEST(TestSendPanasonic64, SendWithRepeats) {
|
||||
"m432s1296m432s432m432s432m432s1296m432s432m432s432m432s432m432s432"
|
||||
"m432s1296m432s1296m432s1296m432s432m432s1296m432s1296m432s432m432s1296"
|
||||
"m432s432m432s1296m432s1296m432s1296m432s1296m432s1296m432s432m432s432"
|
||||
"m432s129600", irsend.outputStr());
|
||||
"m432s102384", irsend.outputStr());
|
||||
|
||||
irsend.reset();
|
||||
irsend.sendPanasonic64(0x40040190ED7C, PANASONIC_BITS, 1); // 1 repeat.
|
||||
@@ -90,7 +90,7 @@ TEST(TestSendPanasonic64, SendWithRepeats) {
|
||||
"m432s1296m432s432m432s432m432s1296m432s432m432s432m432s432m432s432"
|
||||
"m432s1296m432s1296m432s1296m432s432m432s1296m432s1296m432s432m432s1296"
|
||||
"m432s432m432s1296m432s1296m432s1296m432s1296m432s1296m432s432m432s432"
|
||||
"m432s129600"
|
||||
"m432s102384"
|
||||
"m3456s1728"
|
||||
"m432s432m432s1296m432s432m432s432m432s432m432s432m432s432m432s432"
|
||||
"m432s432m432s432m432s432m432s432m432s432m432s1296m432s432m432s432"
|
||||
@@ -98,7 +98,7 @@ TEST(TestSendPanasonic64, SendWithRepeats) {
|
||||
"m432s1296m432s432m432s432m432s1296m432s432m432s432m432s432m432s432"
|
||||
"m432s1296m432s1296m432s1296m432s432m432s1296m432s1296m432s432m432s1296"
|
||||
"m432s432m432s1296m432s1296m432s1296m432s1296m432s1296m432s432m432s432"
|
||||
"m432s129600", irsend.outputStr());
|
||||
"m432s102384", irsend.outputStr());
|
||||
|
||||
irsend.sendPanasonic64(0x40040190ED7C, PANASONIC_BITS, 2); // 2 repeats.
|
||||
EXPECT_EQ(
|
||||
@@ -109,7 +109,7 @@ TEST(TestSendPanasonic64, SendWithRepeats) {
|
||||
"m432s1296m432s432m432s432m432s1296m432s432m432s432m432s432m432s432"
|
||||
"m432s1296m432s1296m432s1296m432s432m432s1296m432s1296m432s432m432s1296"
|
||||
"m432s432m432s1296m432s1296m432s1296m432s1296m432s1296m432s432m432s432"
|
||||
"m432s129600"
|
||||
"m432s102384"
|
||||
"m3456s1728"
|
||||
"m432s432m432s1296m432s432m432s432m432s432m432s432m432s432m432s432"
|
||||
"m432s432m432s432m432s432m432s432m432s432m432s1296m432s432m432s432"
|
||||
@@ -117,7 +117,7 @@ TEST(TestSendPanasonic64, SendWithRepeats) {
|
||||
"m432s1296m432s432m432s432m432s1296m432s432m432s432m432s432m432s432"
|
||||
"m432s1296m432s1296m432s1296m432s432m432s1296m432s1296m432s432m432s1296"
|
||||
"m432s432m432s1296m432s1296m432s1296m432s1296m432s1296m432s432m432s432"
|
||||
"m432s129600"
|
||||
"m432s102384"
|
||||
"m3456s1728"
|
||||
"m432s432m432s1296m432s432m432s432m432s432m432s432m432s432m432s432"
|
||||
"m432s432m432s432m432s432m432s432m432s432m432s1296m432s432m432s432"
|
||||
@@ -125,7 +125,7 @@ TEST(TestSendPanasonic64, SendWithRepeats) {
|
||||
"m432s1296m432s432m432s432m432s1296m432s432m432s432m432s432m432s432"
|
||||
"m432s1296m432s1296m432s1296m432s432m432s1296m432s1296m432s432m432s1296"
|
||||
"m432s432m432s1296m432s1296m432s1296m432s1296m432s1296m432s432m432s432"
|
||||
"m432s129600", irsend.outputStr());
|
||||
"m432s102384", irsend.outputStr());
|
||||
}
|
||||
|
||||
// Test sending an atypical data size.
|
||||
@@ -138,7 +138,7 @@ TEST(TestSendPanasonic64, SendUnusualSize) {
|
||||
EXPECT_EQ(
|
||||
"m3456s1728"
|
||||
"m432s432m432s432m432s432m432s432m432s432m432s432m432s432m432s432"
|
||||
"m432s129600", irsend.outputStr());
|
||||
"m432s150768", irsend.outputStr());
|
||||
|
||||
irsend.reset();
|
||||
irsend.sendPanasonic64(0x1234567890ABCDEF, 64);
|
||||
@@ -152,7 +152,7 @@ TEST(TestSendPanasonic64, SendUnusualSize) {
|
||||
"m432s1296m432s432m432s1296m432s432m432s1296m432s432m432s1296m432s1296"
|
||||
"m432s1296m432s1296m432s432m432s432m432s1296m432s1296m432s432m432s1296"
|
||||
"m432s1296m432s1296m432s1296m432s432m432s1296m432s1296m432s1296m432s1296"
|
||||
"m432s129600", irsend.outputStr());
|
||||
"m432s74736", irsend.outputStr());
|
||||
}
|
||||
|
||||
// Tests for sendPanasonic().
|
||||
|
||||
Reference in new issue
Block a user