rtl433  UNKNOWN
RTL-433 utility
tpms_citroen.c File Reference

Functions

static int tpms_citroen_decode (r_device *decoder, bitbuffer_t *bitbuffer, unsigned row, unsigned bitpos)
 
static int tpms_citroen_callback (r_device *decoder, bitbuffer_t *bitbuffer)
 

Variables

static const unsigned char preamble_pattern [2] = { 0x55, 0x56 }
 
static char * output_fields []
 
r_device tpms_citroen
 

Function Documentation

◆ tpms_citroen_callback()

static int tpms_citroen_callback ( r_device decoder,
bitbuffer_t bitbuffer 
)
static

◆ tpms_citroen_decode()

static int tpms_citroen_decode ( r_device decoder,
bitbuffer_t bitbuffer,
unsigned  row,
unsigned  bitpos 
)
static

Variable Documentation

◆ output_fields

char* output_fields[]
static
Initial value:
= {
"model",
"type",
"state",
"id",
"flags",
"repeat",
"pressure_kPa",
"temperature_C",
"maybe_battery",
"code",
"mic",
NULL
}

◆ preamble_pattern

const unsigned char preamble_pattern[2] = { 0x55, 0x56 }
static

Referenced by tpms_citroen_callback().

◆ tpms_citroen

r_device tpms_citroen
Initial value:
= {
.name = "Citroen TPMS",
.modulation = FSK_PULSE_PCM,
.short_width = 52,
.long_width = 52,
.reset_limit = 150,
.decode_fn = &tpms_citroen_callback,
.disabled = 0,
.fields = output_fields,
}
static int tpms_citroen_callback(r_device *decoder, bitbuffer_t *bitbuffer)
Definition: tpms_citroen.c:87
FSK, Pulse Code Modulation.
Definition: r_device.h:19
static char * output_fields[]
Definition: tpms_citroen.c:101