rtl433  UNKNOWN
RTL-433 utility
lightwave_rf.c File Reference

Functions

static int lightwave_rf_nibble_from_byte (uint8_t in)
 Decode a nibble from byte value Will return -1 if invalid byte is input. More...
 
static int lightwave_rf_callback (r_device *decoder, bitbuffer_t *bitbuffer)
 

Variables

static char * output_fields []
 
r_device lightwave_rf
 

Function Documentation

◆ lightwave_rf_callback()

◆ lightwave_rf_nibble_from_byte()

static int lightwave_rf_nibble_from_byte ( uint8_t  in)
static

Decode a nibble from byte value Will return -1 if invalid byte is input.

Referenced by lightwave_rf_callback().

Variable Documentation

◆ lightwave_rf

r_device lightwave_rf
Initial value:
= {
.name = "LightwaveRF",
.modulation = OOK_PULSE_PPM,
.short_width = 250,
.long_width = 1250,
.reset_limit = 1500,
.decode_fn = &lightwave_rf_callback,
.disabled = 1,
.fields = output_fields,
}
Pulse Position Modulation. Short gap = 0, Long = 1.
Definition: r_device.h:12
static int lightwave_rf_callback(r_device *decoder, bitbuffer_t *bitbuffer)
Definition: lightwave_rf.c:44
static char * output_fields[]
Definition: lightwave_rf.c:137

◆ output_fields

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