rtl433  UNKNOWN
RTL-433 utility
ttx201.c File Reference

Functions

static int checksum_calculate (uint8_t *b)
 
static int ttx201_decode (r_device *decoder, bitbuffer_t *bitbuffer, unsigned row, unsigned bitpos)
 
static int ttx201_callback (r_device *decoder, bitbuffer_t *bitbuffer)
 

Variables

static char * output_fields []
 
r_device ttx201
 

Function Documentation

◆ checksum_calculate()

static int checksum_calculate ( uint8_t b)
static

Referenced by ttx201_decode().

◆ ttx201_callback()

static int ttx201_callback ( r_device decoder,
bitbuffer_t bitbuffer 
)
static

◆ ttx201_decode()

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

Variable Documentation

◆ output_fields

char* output_fields[]
static
Initial value:
= {
"model",
"id",
"channel",
"battery",
"temperature_C",
"mic",
NULL
}

◆ ttx201

r_device ttx201
Initial value:
= {
.name = "Emos TTX201 Temperature Sensor",
.short_width = 510,
.long_width = 0,
.reset_limit = 1700,
.tolerance = 250,
.decode_fn = &ttx201_callback,
.disabled = 0,
.fields = output_fields
}
Manchester encoding. Hardcoded zerobit. Rising Edge = 0, Falling edge = 1.
Definition: r_device.h:10
static char * output_fields[]
Definition: ttx201.c:196
static int ttx201_callback(r_device *decoder, bitbuffer_t *bitbuffer)
Definition: ttx201.c:181