rtl433  UNKNOWN
RTL-433 utility
pulse_data Struct Reference

Data for a compact representation of generic pulse train. More...

#include <pulse_detect.h>

Data Fields

uint64_t offset
 Offset to first pulse in number of samples from start of stream. More...
 
uint32_t sample_rate
 Sample rate the pulses are recorded with. More...
 
unsigned start_ago
 Start of first pulse in number of samples ago. More...
 
unsigned end_ago
 End of last pulse in number of samples ago. More...
 
unsigned int num_pulses
 
int pulse [PD_MAX_PULSES]
 Width of pulses (high) in number of samples. More...
 
int gap [PD_MAX_PULSES]
 Width of gaps between pulses (low) in number of samples. More...
 
int ook_low_estimate
 Estimate for the OOK low level (base noise level) at beginning of package. More...
 
int ook_high_estimate
 Estimate for the OOK high level at end of package. More...
 
int fsk_f1_est
 Estimate for the F1 frequency for FSK. More...
 
int fsk_f2_est
 Estimate for the F2 frequency for FSK. More...
 
float freq1_hz
 
float freq2_hz
 
float rssi_db
 
float snr_db
 
float noise_db
 

Detailed Description

Data for a compact representation of generic pulse train.

Field Documentation

◆ end_ago

unsigned pulse_data::end_ago

End of last pulse in number of samples ago.

Referenced by pulse_detect_package(), and sdr_callback().

◆ freq1_hz

float pulse_data::freq1_hz

◆ freq2_hz

float pulse_data::freq2_hz

◆ fsk_f1_est

int pulse_data::fsk_f1_est

Estimate for the F1 frequency for FSK.

Referenced by calc_rssi_snr(), pulse_analyzer(), and pulse_detect_package().

◆ fsk_f2_est

int pulse_data::fsk_f2_est

Estimate for the F2 frequency for FSK.

Referenced by calc_rssi_snr(), data_acquired_handler(), main(), pulse_analyzer(), pulse_data_dump(), and pulse_detect_package().

◆ gap

◆ noise_db

float pulse_data::noise_db

◆ num_pulses

◆ offset

uint64_t pulse_data::offset

Offset to first pulse in number of samples from start of stream.

Referenced by pulse_data_dump_raw(), pulse_data_print_vcd(), and pulse_detect_package().

◆ ook_high_estimate

int pulse_data::ook_high_estimate

Estimate for the OOK high level at end of package.

Referenced by calc_rssi_snr(), pulse_analyzer(), and pulse_detect_package().

◆ ook_low_estimate

int pulse_data::ook_low_estimate

Estimate for the OOK low level (base noise level) at beginning of package.

Referenced by calc_rssi_snr(), pulse_analyzer(), and pulse_detect_package().

◆ pulse

◆ rssi_db

float pulse_data::rssi_db

◆ sample_rate

uint32_t pulse_data::sample_rate

Sample rate the pulses are recorded with.

Referenced by pulse_analyzer(), pulse_data_dump(), pulse_data_load(), pulse_data_print_vcd(), and pulse_detect_package().

◆ snr_db

float pulse_data::snr_db

◆ start_ago

unsigned pulse_data::start_ago

Start of first pulse in number of samples ago.

Referenced by data_acquired_handler(), pulse_detect_package(), and sdr_callback().


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