rtl433  UNKNOWN
RTL-433 utility
new_template.c File Reference

Template decoder for DEVICE, tested with BRAND, BRAND. More...

Functions

static int new_template_decode (r_device *decoder, bitbuffer_t *bitbuffer)
 

Variables

static char * output_fields []
 
r_device new_template
 

Detailed Description

Template decoder for DEVICE, tested with BRAND, BRAND.

Copyright (C) 2016 Benjamin Larsson

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Function Documentation

◆ new_template_decode()

Variable Documentation

◆ new_template

r_device new_template
Initial value:
= {
.name = "Template decoder",
.modulation = OOK_PULSE_PPM,
.short_width = 132,
.long_width = 224,
.gap_limit = 300,
.reset_limit = 1000,
.decode_fn = &new_template_decode,
.disabled = 3,
.fields = output_fields,
}
Pulse Position Modulation. Short gap = 0, Long = 1.
Definition: r_device.h:12
static int new_template_decode(r_device *decoder, bitbuffer_t *bitbuffer)
Definition: new_template.c:66
static char * output_fields[]
Definition: new_template.c:242

◆ output_fields

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