Rev 1830 | Rev 1837 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1830 | Rev 1831 | ||
|---|---|---|---|
| Line 27... | Line 27... | ||
| 27 | uint8_t framecnt; |
27 | uint8_t framecnt; |
| 28 | } Ir_Protocol_Data_t; |
28 | } Ir_Protocol_Data_t; |
| 29 | 29 | ||
| 30 | /* Which protocols to use. These should perhaps be configuration options |
30 | /* Which protocols to use. These should perhaps be configuration options |
| 31 | * (config.inc). Only applies to receiver right now */ |
31 | * (config.inc). Only applies to receiver right now */ |
| 32 | #define IR_PROTOCOLS_USE_SIRC |
32 | #define IR_PROTOCOLS_USE_SIRC 1 |
| 33 | #define IR_PROTOCOLS_USE_RC5 |
33 | #define IR_PROTOCOLS_USE_RC5 1 |
| 34 | #define IR_PROTOCOLS_USE_SHARP |
34 | #define IR_PROTOCOLS_USE_SHARP 1 |
| 35 | #define IR_PROTOCOLS_USE_NEC |
35 | #define IR_PROTOCOLS_USE_NEC 1 |
| 36 | #define IR_PROTOCOLS_USE_SAMSUNG |
36 | #define IR_PROTOCOLS_USE_SAMSUNG 1 |
| 37 | #define IR_PROTOCOLS_USE_MARANTZ |
37 | #define IR_PROTOCOLS_USE_MARANTZ 1 |
| 38 | #define IR_PROTOCOLS_USE_PANASONIC |
38 | #define IR_PROTOCOLS_USE_PANASONIC 1 |
| 39 | #define IR_PROTOCOLS_USE_SKY |
39 | #define IR_PROTOCOLS_USE_SKY 1 |
| 40 | #define IR_PROTOCOLS_USE_NEXA2 |
40 | #define IR_PROTOCOLS_USE_NEXA2 1 |
| 41 | 41 | ||
| 42 | /* All these functions take a buffer with pulse times and tries to parse it |
42 | /* All these functions take a buffer with pulse times and tries to parse it |
| 43 | * to a Ir_Protocol_Data_t structure. They return IR_OK on success |
43 | * to a Ir_Protocol_Data_t structure. They return IR_OK on success |
| 44 | * and IR_NOT_CORRECT_DATA if there was no match. */ |
44 | * and IR_NOT_CORRECT_DATA if there was no match. */ |
| 45 | #if (IR_PROTOCOLS_USE_SIRC) |
45 | #if (IR_PROTOCOLS_USE_SIRC) |