rtl433  UNKNOWN
RTL-433 utility
r_device Struct Reference

Device protocol decoder struct. More...

#include <r_device.h>

Data Fields

unsigned protocol_num
 fixed sequence number, assigned in main(). More...
 
char * name
 
unsigned modulation
 
float short_width
 
float long_width
 
float reset_limit
 
float gap_limit
 
float sync_width
 
float tolerance
 
int(* decode_fn )(struct r_device *decoder, struct bitbuffer *bitbuffer)
 
struct r_device *(* create_fn )(char *args)
 
unsigned disabled
 
char ** fields
 List of fields this decoder produces; required for CSV output. NULL-terminated. More...
 
int new_model_keys
 TODO: temporary allow to change to new style model keys. More...
 
int verbose
 
int verbose_bits
 
void(* output_fn )(struct r_device *decoder, struct data *data)
 
unsigned decode_events
 
unsigned decode_ok
 
unsigned decode_messages
 
unsigned decode_fails [5]
 
void * decode_ctx
 
void * output_ctx
 
float f_short_width
 precision reciprocal for PCM. More...
 
float f_long_width
 precision reciprocal for PCM. More...
 
int s_short_width
 
int s_long_width
 
int s_reset_limit
 
int s_gap_limit
 
int s_sync_width
 
int s_tolerance
 

Detailed Description

Device protocol decoder struct.

Field Documentation

◆ create_fn

struct r_device*(* r_device::create_fn) (char *args)

Referenced by register_protocol().

◆ decode_ctx

◆ decode_events

unsigned r_device::decode_events

◆ decode_fails

unsigned r_device::decode_fails[5]

◆ decode_fn

◆ decode_messages

unsigned r_device::decode_messages

◆ decode_ok

unsigned r_device::decode_ok

◆ disabled

unsigned r_device::disabled

◆ f_long_width

float r_device::f_long_width

precision reciprocal for PCM.

Referenced by pulse_demod_pcm(), and update_protocol().

◆ f_short_width

float r_device::f_short_width

precision reciprocal for PCM.

Referenced by pulse_demod_pcm(), pulse_demod_piwm_raw(), and update_protocol().

◆ fields

char** r_device::fields

List of fields this decoder produces; required for CSV output. NULL-terminated.

Referenced by determine_csv_fields(), and flex_create_device().

◆ gap_limit

float r_device::gap_limit

◆ long_width

float r_device::long_width

◆ modulation

unsigned r_device::modulation

◆ name

◆ new_model_keys

int r_device::new_model_keys

TODO: temporary allow to change to new style model keys.

Referenced by update_protocol().

◆ output_ctx

void* r_device::output_ctx

◆ output_fn

void(* r_device::output_fn) (struct r_device *decoder, struct data *data)

◆ protocol_num

unsigned r_device::protocol_num

fixed sequence number, assigned in main().

Referenced by create_report_data(), data_acquired_handler(), determine_csv_fields(), main(), and register_protocol().

◆ reset_limit

float r_device::reset_limit

◆ s_gap_limit

int r_device::s_gap_limit

◆ s_long_width

◆ s_reset_limit

◆ s_short_width

◆ s_sync_width

int r_device::s_sync_width

◆ s_tolerance

◆ short_width

float r_device::short_width

◆ sync_width

float r_device::sync_width

◆ tolerance

float r_device::tolerance

◆ verbose

int r_device::verbose

Referenced by acurite_00275rm_decode(), acurite_6045_decode(), acurite_606_decode(), acurite_986_decode(), acurite_rain_896_decode(), acurite_txr_decode(), alecto_checksum(), alecto_ws1200v1_callback(), alecto_ws1200v2_callback(), alecto_ws1200v2_dcf_callback(), ambient_weather_decode(), ambientweather_tx8300_callback(), ambientweather_wh31e_callback(), bresser_3ch_callback(), bresser_5in1_callback(), companion_wtr001_decode(), danfoss_cfr_callback(), decode_xc0324_message(), directv_decode(), dish_remote_6_3_callback(), dsc_callback(), efergy_optical_callback(), fineoffset_WH0290_callback(), fineoffset_WH0530_callback(), fineoffset_wh1080_callback(), fineoffset_WH24_callback(), fineoffset_WH25_callback(), fineoffset_WH2_callback(), flex_callback(), fordremote_callback(), hideki_ts04_callback(), honeywell_wdb_callback(), ikea_sparsnas_callback(), interlogix_callback(), intertechno_callback(), kw9015b_callback(), lacrosse_it(), lacrosse_tx141th_bv2_callback(), lacrosse_ws7000_decode(), lacrossetx_callback(), lacrossetx_detect(), lacrossews_callback(), lacrossews_detect(), lightwave_rf_callback(), m_bus_crc_valid(), m_bus_decode_format_a(), m_bus_decode_format_b(), m_bus_mode_c_t_callback(), m_bus_mode_f_callback(), m_bus_mode_r_callback(), maverick_et73_sensor_callback(), maverick_et73x_callback(), new_template_decode(), nexus_callback(), oregon_scientific_sl109h_callback(), oregon_scientific_v2_1_decode(), oregon_scientific_v3_decode(), philips_callback(), pulse_demod_dmc(), pulse_demod_manchester_zerobit(), pulse_demod_osv1(), pulse_demod_pcm(), pulse_demod_piwm_dc(), pulse_demod_piwm_raw(), pulse_demod_ppm(), pulse_demod_pwm(), pulse_demod_string(), radiohead_ask_extract(), ss_sensor_callback(), thermopro_tp12_sensor_callback(), tpms_pmv107j_decode(), tpms_toyota_decode(), ttx201_callback(), ttx201_decode(), update_protocol(), validate_checksum(), validate_os_checksum(), validate_os_v2_message(), ws2000_callback(), wssensor_callback(), wt1024_callback(), wt450_callback(), x10_sec_callback(), and xc0324_callback().

◆ verbose_bits

int r_device::verbose_bits

The documentation for this struct was generated from the following file: