rtl433  UNKNOWN
RTL-433 utility
vaillant_vrt340f.c File Reference

Functions

static int16_t calculate_checksum (uint8_t *buff, int from, int to)
 
static int validate_checksum (r_device *decoder, uint8_t *msg, int from, int to, int cs_from, int cs_to)
 
static uint16_t get_device_id (uint8_t *msg, int pos)
 
static uint8_t get_heating_mode (uint8_t *msg)
 
static uint8_t get_target_temperature (uint8_t *msg)
 
static uint8_t get_water_preheated (uint8_t *msg)
 
static uint8_t get_battery_status (uint8_t *msg)
 
static int vaillant_vrt340_callback (r_device *decoder, bitbuffer_t *bitbuffer)
 

Variables

static char * output_fields []
 
r_device vaillant_vrt340f
 

Function Documentation

◆ calculate_checksum()

static int16_t calculate_checksum ( uint8_t buff,
int  from,
int  to 
)
static

Referenced by validate_checksum().

◆ get_battery_status()

static uint8_t get_battery_status ( uint8_t msg)
static

◆ get_device_id()

static uint16_t get_device_id ( uint8_t msg,
int  pos 
)
static

◆ get_heating_mode()

static uint8_t get_heating_mode ( uint8_t msg)
static

◆ get_target_temperature()

static uint8_t get_target_temperature ( uint8_t msg)
static

◆ get_water_preheated()

static uint8_t get_water_preheated ( uint8_t msg)
static

◆ vaillant_vrt340_callback()

◆ validate_checksum()

static int validate_checksum ( r_device decoder,
uint8_t msg,
int  from,
int  to,
int  cs_from,
int  cs_to 
)
static

Variable Documentation

◆ output_fields

char* output_fields[]
static
Initial value:
= {
"model",
"device",
"id",
"heating",
"heating_temp",
"water",
"battery",
NULL
}

◆ vaillant_vrt340f

r_device vaillant_vrt340f
Initial value:
= {
.name = "Vaillant calorMatic VRT340f Central Heating Control",
.modulation = OOK_PULSE_DMC,
.short_width = 836,
.long_width = 1648,
.reset_limit = 4000,
.tolerance = 120,
.decode_fn = &vaillant_vrt340_callback,
.disabled = 0,
.fields = output_fields
}
Level shift within the clock cycle.
Definition: r_device.h:16
static char * output_fields[]
Definition: vaillant_vrt340f.c:189
static int vaillant_vrt340_callback(r_device *decoder, bitbuffer_t *bitbuffer)
Definition: vaillant_vrt340f.c:95