rtl433  UNKNOWN
RTL-433 utility
ge_coloreffects.c File Reference

Functions

static int bit (const uint8_t *bytes, unsigned bit)
 
unsigned ge_decode (r_device *decoder, bitbuffer_t *inbuf, unsigned row, unsigned start, bitbuffer_t *outbuf)
 
char * ge_command_name (uint8_t command)
 
static int ge_coloreffects_decode (r_device *decoder, bitbuffer_t *bitbuffer, unsigned row, unsigned start_pos)
 
static int ge_coloreffects_callback (r_device *decoder, bitbuffer_t *bitbuffer)
 

Variables

static const unsigned char preamble_pattern [3] = {0xcc, 0xff, 0x00}
 
static char * output_fields []
 
r_device ge_coloreffects
 

Function Documentation

◆ bit()

static int bit ( const uint8_t bytes,
unsigned  bit 
)
inlinestatic

◆ ge_coloreffects_callback()

static int ge_coloreffects_callback ( r_device decoder,
bitbuffer_t bitbuffer 
)
static

◆ ge_coloreffects_decode()

static int ge_coloreffects_decode ( r_device decoder,
bitbuffer_t bitbuffer,
unsigned  row,
unsigned  start_pos 
)
static

◆ ge_command_name()

char* ge_command_name ( uint8_t  command)

Referenced by ge_coloreffects_decode().

◆ ge_decode()

unsigned ge_decode ( r_device decoder,
bitbuffer_t inbuf,
unsigned  row,
unsigned  start,
bitbuffer_t outbuf 
)

Variable Documentation

◆ ge_coloreffects

r_device ge_coloreffects
Initial value:
= {
.name = "GE Color Effects",
.modulation = FSK_PULSE_PCM,
.short_width = 52,
.long_width = 52,
.reset_limit = 450,
.decode_fn = &ge_coloreffects_callback,
.disabled = 0,
.fields = output_fields,
}
FSK, Pulse Code Modulation.
Definition: r_device.h:19
static int ge_coloreffects_callback(r_device *decoder, bitbuffer_t *bitbuffer)
Definition: ge_coloreffects.c:128
static char * output_fields[]
Definition: ge_coloreffects.c:143

◆ output_fields

char* output_fields[]
static
Initial value:
= {
"model",
"id",
"command",
NULL
}

◆ preamble_pattern

const unsigned char preamble_pattern[3] = {0xcc, 0xff, 0x00}
static