| 92 | } |
| 93 | |
| 94 | bool IRrecv::decodeWhynter() { |
| 95 | // Check we have the right amount of data (68). The +4 is for initial gap, start bit mark and space + stop bit mark. |
| 96 | if (decodedIRData.rawlen != (2 * WHYNTER_BITS) + 4) { |
| 97 | return false; |
| 98 | } |
| 99 | if (!checkHeader_P(&WhynterProtocolConstants)) { |
| 100 | return false; |
| 101 | } |
| 102 | decodePulseDistanceWidthData_P(&WhynterProtocolConstants, WHYNTER_BITS); |
| 103 | |
| 104 | decodedIRData.flags = IRDATA_FLAGS_IS_MSB_FIRST; |
| 105 | decodedIRData.numberOfBits = WHYNTER_BITS; |
| 106 | decodedIRData.protocol = WHYNTER; |
| 107 | return true; |
| 108 | } |
| 109 | |
| 110 | /** |
| 111 | * VELUX |
nothing calls this directly
no outgoing calls
no test coverage detected