aboutsummaryrefslogtreecommitdiffstats
path: root/src/libsdr/sdr.h
blob: daaed7c469211d5be95cde7ecd42f1177a585790 (plain)
1
2
3
4
5
6
7
8
9
10
11
enum paging_signal;

int sdr_start(void *inst);
void *sdr_open(const char *audiodev, double *tx_frequency, double *rx_frequency, int *am, int channels, double paging_frequency, int samplerate, int latspl, double max_deviation, double max_modulation, double modulation_index);
void sdr_close(void *inst);
int sdr_write(void *inst, sample_t **samples, uint8_t **power, int num, enum paging_signal *paging_signal, int *on, int channels);
int sdr_read(void *inst, sample_t **samples, int num, int channels, double *rf_level_db);
int sdr_get_tosend(void *inst, int latspl);
void calibrate_bias(void);