rtl433
UNKNOWN
RTL-433 utility
|
IQ sample grabber (ring buffer and dumper). More...
Go to the source code of this file.
Data Structures | |
struct | samp_grab |
Typedefs | |
typedef struct samp_grab | samp_grab_t |
Functions | |
samp_grab_t * | samp_grab_create (unsigned size) |
void | samp_grab_free (samp_grab_t *g) |
void | samp_grab_push (samp_grab_t *g, unsigned char *iq_buf, uint32_t len) |
void | samp_grab_reset (samp_grab_t *g) |
void | samp_grab_write (samp_grab_t *g, unsigned grab_len, unsigned grab_end) |
grab_end is counted in samples from end of buf. More... | |
IQ sample grabber (ring buffer and dumper).
Copyright (C) 2018 Christian Zuckschwerdt
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.
typedef struct samp_grab samp_grab_t |
samp_grab_t* samp_grab_create | ( | unsigned | size | ) |
References samp_grab::sg_buf, samp_grab::sg_counter, and samp_grab::sg_size.
Referenced by parse_conf_option().
void samp_grab_free | ( | samp_grab_t * | g | ) |
References samp_grab::sg_buf.
void samp_grab_push | ( | samp_grab_t * | g, |
unsigned char * | iq_buf, | ||
uint32_t | len | ||
) |
References samp_grab::sg_buf, samp_grab::sg_index, samp_grab::sg_len, and samp_grab::sg_size.
Referenced by sdr_callback().
void samp_grab_reset | ( | samp_grab_t * | g | ) |
References samp_grab::sg_index, and samp_grab::sg_len.
void samp_grab_write | ( | samp_grab_t * | g, |
unsigned | grab_len, | ||
unsigned | grab_end | ||
) |
grab_end is counted in samples from end of buf.
References samp_grab::frequency, samp_grab::samp_rate, samp_grab::sample_size, samp_grab::sg_buf, samp_grab::sg_counter, samp_grab::sg_index, samp_grab::sg_len, and samp_grab::sg_size.
Referenced by am_analyze(), and sdr_callback().