rtl433  UNKNOWN
RTL-433 utility
ts_ft002.c File Reference

TS-FT002 Tank Liquid Level decoder. More...

Functions

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

Variables

static char * output_fields []
 
r_device ts_ft002
 

Detailed Description

TS-FT002 Tank Liquid Level decoder.

Copyright (C) 2019 Christian W. Zuckschwerdt zany@.nosp@m.triq.nosp@m..net

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

◆ ts_ft002_decoder()

Variable Documentation

◆ output_fields

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

◆ ts_ft002

r_device ts_ft002
Initial value:
= {
.name = "TS-FT002 Wireless Ultrasonic Tank Liquid Level Meter With Temperature Sensor",
.modulation = OOK_PULSE_PPM,
.short_width = 464,
.long_width = 948,
.gap_limit = 1200,
.reset_limit = 2000,
.decode_fn = &ts_ft002_decoder,
.disabled = 0,
.fields = output_fields,
}
Pulse Position Modulation. Short gap = 0, Long = 1.
Definition: r_device.h:12
static int ts_ft002_decoder(r_device *decoder, bitbuffer_t *bitbuffer)
Definition: ts_ft002.c:39
static char * output_fields[]
Definition: ts_ft002.c:106