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
@@ -17,7 +17,7 @@ TEST(TestSendJVC, SendDataOnly) {
|
||||
"m8400s4200"
|
||||
"m525s1725m525s1725m525s525m525s525m525s525m525s525m525s1725m525s525"
|
||||
"m525s1725m525s525m525s1725m525s1725m525s1725m525s525m525s525m525s525"
|
||||
"m525s60000", irsend.outputStr());
|
||||
"m525s21675", irsend.outputStr());
|
||||
}
|
||||
|
||||
// Test sending with different repeats.
|
||||
@@ -31,26 +31,26 @@ TEST(TestSendJVC, SendWithRepeats) {
|
||||
"m8400s4200"
|
||||
"m525s1725m525s1725m525s525m525s525m525s525m525s525m525s1725m525s525"
|
||||
"m525s1725m525s525m525s1725m525s1725m525s1725m525s525m525s525m525s525"
|
||||
"m525s60000"
|
||||
"m525s21675"
|
||||
"m525s1725m525s1725m525s525m525s525m525s525m525s525m525s1725m525s525"
|
||||
"m525s1725m525s525m525s1725m525s1725m525s1725m525s525m525s525m525s525"
|
||||
"m525s60000", irsend.outputStr());
|
||||
"m525s34275", irsend.outputStr());
|
||||
irsend.sendJVC(0xC2B8, JVC_BITS, 2); // 2 repeats.
|
||||
EXPECT_EQ(
|
||||
"m8400s4200"
|
||||
"m525s1725m525s1725m525s525m525s525m525s525m525s525m525s1725m525s525"
|
||||
"m525s1725m525s525m525s1725m525s1725m525s1725m525s525m525s525m525s525"
|
||||
"m525s60000"
|
||||
"m525s21675"
|
||||
"m525s1725m525s1725m525s525m525s525m525s525m525s525m525s1725m525s525"
|
||||
"m525s1725m525s525m525s1725m525s1725m525s1725m525s525m525s525m525s525"
|
||||
"m525s60000"
|
||||
"m525s34275"
|
||||
"m525s1725m525s1725m525s525m525s525m525s525m525s525m525s1725m525s525"
|
||||
"m525s1725m525s525m525s1725m525s1725m525s1725m525s525m525s525m525s525"
|
||||
"m525s60000", irsend.outputStr());
|
||||
"m525s34275", irsend.outputStr());
|
||||
}
|
||||
|
||||
// Test sending an atypical data size.
|
||||
TEST(TestSendJVC, SendUsualSize) {
|
||||
TEST(TestSendJVC, SendUnusualSize) {
|
||||
IRsendTest irsend(4);
|
||||
irsend.begin();
|
||||
|
||||
@@ -59,7 +59,7 @@ TEST(TestSendJVC, SendUsualSize) {
|
||||
EXPECT_EQ(
|
||||
"m8400s4200"
|
||||
"m525s525m525s525m525s525m525s525m525s525m525s525m525s525m525s525"
|
||||
"m525s60000", irsend.outputStr());
|
||||
"m525s38475", irsend.outputStr());
|
||||
|
||||
irsend.reset();
|
||||
irsend.sendJVC(0x1234567890ABCDEF, 64);
|
||||
@@ -73,7 +73,7 @@ TEST(TestSendJVC, SendUsualSize) {
|
||||
"m525s1725m525s525m525s1725m525s525m525s1725m525s525m525s1725m525s1725"
|
||||
"m525s1725m525s1725m525s525m525s525m525s1725m525s1725m525s525m525s1725"
|
||||
"m525s1725m525s1725m525s1725m525s525m525s1725m525s1725m525s1725m525s1725"
|
||||
"m525s60000", irsend.outputStr());
|
||||
"m525s10875", irsend.outputStr());
|
||||
}
|
||||
|
||||
// Tests for encodeJVC().
|
||||
|
||||
Reference in new issue
Block a user