Rev 2120 | Rev 2200 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 2120 | Rev 2199 | ||
|---|---|---|---|
| Line 85... | Line 85... | ||
| 85 | int8_t parsePanasonic(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |
85 | int8_t parsePanasonic(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |
| 86 | #endif |
86 | #endif |
| 87 | #if (IR_PROTOCOLS_USE_SKY) |
87 | #if (IR_PROTOCOLS_USE_SKY) |
| 88 | int8_t parseSky(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |
88 | int8_t parseSky(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |
| 89 | #endif |
89 | #endif |
| - | 90 | ||
| - | 91 | /* RF protocols needs index parameter */ |
|
| 90 | #if (IR_PROTOCOLS_USE_NEXA2) |
92 | #if (IR_PROTOCOLS_USE_NEXA2) |
| 91 | int8_t parseNexa2(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |
93 | int8_t parseNexa2(const uint16_t *buf, uint8_t len, uint8_t index, Ir_Protocol_Data_t *proto); |
| 92 | #endif |
94 | #endif |
| 93 | #if (IR_PROTOCOLS_USE_NEXA1) |
95 | #if (IR_PROTOCOLS_USE_NEXA1) |
| 94 | int8_t parseNexa1(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |
96 | int8_t parseNexa1(const uint16_t *buf, uint8_t len, uint8_t index, Ir_Protocol_Data_t *proto); |
| 95 | #endif |
97 | #endif |
| 96 | 98 | ||
| 97 | /* Try to parse all above protocols until a match is found. */ |
99 | /* Try to parse all above protocols until a match is found. */ |
| 98 | int8_t parseProtocol(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |
100 | int8_t parseProtocol(const uint16_t *buf, uint8_t len, uint8_t index, Ir_Protocol_Data_t *proto); |
| 99 | /* The Hash protocol always succeeds and creates a one-way signature of the |
101 | /* The Hash protocol always succeeds and creates a one-way signature of the |
| 100 | * pulse times buffer that is supposed to be unique and constant for a specific |
102 | * pulse times buffer that is supposed to be unique and constant for a specific |
| 101 | * IR event. It may be used to send a valid event even if the protocol hasn't |
103 | * IR event. It may be used to send a valid event even if the protocol hasn't |
| 102 | * been implemented or decoded yet. */ |
104 | * been implemented or decoded yet. */ |
| 103 | int8_t parseHash(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |
105 | int8_t parseHash(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |