Subversion Repositories HomeAutomation

Rev

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       0
32
#define IR_PROTOCOLS_USE_SIRC       1
33
#define IR_PROTOCOLS_USE_RC5        0
33
#define IR_PROTOCOLS_USE_RC5        1
34
#define IR_PROTOCOLS_USE_SHARP      0
34
#define IR_PROTOCOLS_USE_SHARP      1
35
#define IR_PROTOCOLS_USE_NEC        0
35
#define IR_PROTOCOLS_USE_NEC        1
36
#define IR_PROTOCOLS_USE_SAMSUNG    0
36
#define IR_PROTOCOLS_USE_SAMSUNG    1
37
#define IR_PROTOCOLS_USE_MARANTZ    0
37
#define IR_PROTOCOLS_USE_MARANTZ    1
38
#define IR_PROTOCOLS_USE_PANASONIC  0
38
#define IR_PROTOCOLS_USE_PANASONIC  1
39
#define IR_PROTOCOLS_USE_SKY        0
39
#define IR_PROTOCOLS_USE_SKY        1
40
#define IR_PROTOCOLS_USE_NEXA2      0
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)