rtl433
UNKNOWN
RTL-433 utility
|
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 |
Device protocol decoder struct.
struct r_device*(* r_device::create_fn) (char *args) |
Referenced by register_protocol().
void* r_device::decode_ctx |
Referenced by fineoffset_WH2_callback(), fineoffset_WH2_create(), flex_callback(), flex_create_device(), and free_protocol().
unsigned r_device::decode_events |
Referenced by account_event(), create_report_data(), and flush_report_data().
unsigned r_device::decode_fails[5] |
Referenced by account_event(), create_report_data(), and flush_report_data().
unsigned r_device::decode_messages |
Referenced by account_event(), create_report_data(), and flush_report_data().
unsigned r_device::decode_ok |
Referenced by account_event(), create_report_data(), and flush_report_data().
unsigned r_device::disabled |
Referenced by determine_csv_fields(), help_protocols(), parse_conf_option(), and register_all_protocols().
float r_device::f_long_width |
precision reciprocal for PCM.
Referenced by pulse_demod_pcm(), and update_protocol().
float r_device::f_short_width |
precision reciprocal for PCM.
Referenced by pulse_demod_pcm(), pulse_demod_piwm_raw(), and update_protocol().
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().
float r_device::gap_limit |
Referenced by flex_create_device(), and update_protocol().
float r_device::long_width |
Referenced by flex_create_device(), and update_protocol().
unsigned r_device::modulation |
Referenced by flex_create_device(), main(), pulse_analyzer(), run_fsk_demods(), and run_ook_demods().
char* r_device::name |
Referenced by create_report_data(), data_acquired_handler(), determine_csv_fields(), flex_create_device(), main(), pulse_analyzer(), pulse_demod_dmc(), pulse_demod_manchester_zerobit(), pulse_demod_pcm(), pulse_demod_piwm_dc(), pulse_demod_piwm_raw(), pulse_demod_ppm(), pulse_demod_pwm(), pulse_demod_string(), register_protocol(), and unregister_protocol().
int r_device::new_model_keys |
TODO: temporary allow to change to new style model keys.
Referenced by update_protocol().
void* r_device::output_ctx |
Referenced by data_acquired_handler(), and register_protocol().
Referenced by decoder_output_data(), and register_protocol().
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().
float r_device::reset_limit |
Referenced by flex_create_device(), and update_protocol().
int r_device::s_gap_limit |
Referenced by pulse_analyzer(), pulse_demod_ppm(), pulse_demod_pwm(), and update_protocol().
int r_device::s_long_width |
int r_device::s_reset_limit |
int r_device::s_short_width |
int r_device::s_sync_width |
Referenced by pulse_analyzer(), pulse_demod_ppm(), pulse_demod_pwm(), and update_protocol().
int r_device::s_tolerance |
float r_device::short_width |
Referenced by flex_create_device(), and update_protocol().
float r_device::sync_width |
Referenced by flex_create_device(), and update_protocol().
float r_device::tolerance |
Referenced by flex_create_device(), and update_protocol().
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().
int r_device::verbose_bits |
Referenced by decoder_output_bitbuffer(), decoder_output_bitrow(), and update_protocol().