rtl433  UNKNOWN
RTL-433 utility
tpms_toyota.c File Reference

Functions

static int tpms_toyota_decode (r_device *decoder, bitbuffer_t *bitbuffer, unsigned row, unsigned bitpos)
 
static int tpms_toyota_callback (r_device *decoder, bitbuffer_t *bitbuffer)
 

Variables

static const unsigned char preamble_pattern [2] = {0xa9, 0xe0}
 
static char * output_fields []
 
r_device tpms_toyota
 

Function Documentation

◆ tpms_toyota_callback()

static int tpms_toyota_callback ( r_device decoder,
bitbuffer_t bitbuffer 
)
static

◆ tpms_toyota_decode()

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

Variable Documentation

◆ output_fields

char* output_fields[]
static
Initial value:
= {
"model",
"type",
"id",
"status",
"pressure_PSI",
"temperature_C",
"mic",
NULL
}

◆ preamble_pattern

const unsigned char preamble_pattern[2] = {0xa9, 0xe0}
static

Referenced by tpms_toyota_callback().

◆ tpms_toyota

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