rtl433  UNKNOWN
RTL-433 utility
ambient_weather.c File Reference

Functions

static int ambient_weather_decode (r_device *decoder, bitbuffer_t *bitbuffer, unsigned row, unsigned bitpos)
 
static int ambient_weather_callback (r_device *decoder, bitbuffer_t *bitbuffer)
 

Variables

static const uint8_t preamble_pattern [2] = {0x01, 0x45}
 
static const uint8_t preamble_inverted [2] = {0xfd, 0x45}
 
static char * output_fields []
 
r_device ambient_weather
 

Function Documentation

◆ ambient_weather_callback()

static int ambient_weather_callback ( r_device decoder,
bitbuffer_t bitbuffer 
)
static

◆ ambient_weather_decode()

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

Variable Documentation

◆ ambient_weather

r_device ambient_weather
Initial value:
= {
.name = "Ambient Weather Temperature Sensor",
.short_width = 500,
.long_width = 0,
.reset_limit = 2400,
.decode_fn = &ambient_weather_callback,
.disabled = 0,
.fields = output_fields
}
static char * output_fields[]
Definition: ambient_weather.c:92
Manchester encoding. Hardcoded zerobit. Rising Edge = 0, Falling edge = 1.
Definition: r_device.h:10
static int ambient_weather_callback(r_device *decoder, bitbuffer_t *bitbuffer)
Definition: ambient_weather.c:63

◆ output_fields

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

◆ preamble_inverted

const uint8_t preamble_inverted[2] = {0xfd, 0x45}
static

◆ preamble_pattern

const uint8_t preamble_pattern[2] = {0x01, 0x45}
static