|
945 | 945 | #define SEND_CARRIER_AC84 _IR_ENABLE_DEFAULT_ |
946 | 946 | #endif // SEND_CARRIER_AC84 |
947 | 947 |
|
| 948 | +#ifndef DECODE_YORK |
| 949 | +#define DECODE_YORK _IR_ENABLE_DEFAULT_ |
| 950 | +#endif // DECODE_YORK |
| 951 | +#ifndef SEND_YORK |
| 952 | +#define SEND_YORK _IR_ENABLE_DEFAULT_ |
| 953 | +#endif // SEND_YORK |
| 954 | + |
948 | 955 | #if (DECODE_ARGO || DECODE_DAIKIN || DECODE_FUJITSU_AC || DECODE_GREE || \ |
949 | 956 | DECODE_KELVINATOR || DECODE_MITSUBISHI_AC || DECODE_TOSHIBA_AC || \ |
950 | 957 | DECODE_TROTEC || DECODE_HAIER_AC || DECODE_HITACHI_AC || \ |
|
963 | 970 | DECODE_KELON168 || DECODE_HITACHI_AC296 || DECODE_CARRIER_AC128 || \ |
964 | 971 | DECODE_DAIKIN200 || DECODE_HAIER_AC160 || DECODE_TCL96AC || \ |
965 | 972 | DECODE_BOSCH144 || DECODE_SANYO_AC152 || DECODE_DAIKIN312 || \ |
966 | | - DECODE_CARRIER_AC84 || \ |
| 973 | + DECODE_CARRIER_AC84 || DECODE_YORK || \ |
967 | 974 | false) |
968 | 975 | // Add any DECODE to the above if it uses result->state (see kStateSizeMax) |
969 | 976 | // you might also want to add the protocol to hasACState function |
@@ -1129,8 +1136,9 @@ enum decode_type_t { |
1129 | 1136 | GORENJE, |
1130 | 1137 | WOWWEE, |
1131 | 1138 | CARRIER_AC84, // 125 |
| 1139 | + YORK, |
1132 | 1140 | // Add new entries before this one, and update it to point to the last entry. |
1133 | | - kLastDecodeType = CARRIER_AC84, |
| 1141 | + kLastDecodeType = YORK, |
1134 | 1142 | }; |
1135 | 1143 |
|
1136 | 1144 | // Message lengths & required repeat values |
@@ -1423,6 +1431,8 @@ const uint16_t kRhossStateLength = 12; |
1423 | 1431 | const uint16_t kRhossBits = kRhossStateLength * 8; |
1424 | 1432 | const uint16_t kRhossDefaultRepeat = 0; |
1425 | 1433 | const uint16_t kClimaButlerBits = 52; |
| 1434 | +const uint16_t kYorkBits = 136; |
| 1435 | +const uint16_t kYorkStateLength = 17; |
1426 | 1436 |
|
1427 | 1437 |
|
1428 | 1438 | // Legacy defines. (Deprecated) |
|
0 commit comments