rtl433  UNKNOWN
RTL-433 utility
oil_watchman.c File Reference

Functions

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

Variables

static const unsigned char preamble_pattern = 0xe0
 
static const unsigned char postamble_pattern [2] = { 0x00, 0xc0 }
 
static char * output_fields []
 
r_device oil_watchman
 

Function Documentation

◆ oil_watchman_callback()

Variable Documentation

◆ oil_watchman

r_device oil_watchman
Initial value:
= {
.name = "Watchman Sonic / Apollo Ultrasonic / Beckett Rocket oil tank monitor",
.modulation = FSK_PULSE_PCM,
.short_width = 1000,
.long_width = 1000,
.reset_limit = 4000,
.decode_fn = &oil_watchman_callback,
.disabled = 0,
.fields = output_fields,
}
static char * output_fields[]
Definition: oil_watchman.c:97
static int oil_watchman_callback(r_device *decoder, bitbuffer_t *bitbuffer)
Definition: oil_watchman.c:21
FSK, Pulse Code Modulation.
Definition: r_device.h:19

◆ output_fields

char* output_fields[]
static
Initial value:
= {
"model",
"id",
"flags",
"maybetemp",
"temperature_C",
"binding_countdown",
"depth",
"depth_cm",
NULL,
}

◆ postamble_pattern

const unsigned char postamble_pattern[2] = { 0x00, 0xc0 }
static

Referenced by oil_watchman_callback().

◆ preamble_pattern

const unsigned char preamble_pattern = 0xe0
static

Referenced by oil_watchman_callback().