aboutsummaryrefslogtreecommitdiffstats
path: root/src/libsdr/sdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsdr/sdr.h')
-rw-r--r--src/libsdr/sdr.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libsdr/sdr.h b/src/libsdr/sdr.h
new file mode 100644
index 0000000..360f424
--- /dev/null
+++ b/src/libsdr/sdr.h
@@ -0,0 +1,8 @@
+
+int sdr_start(void *inst);
+void *sdr_open(const char *audiodev, double *tx_frequency, double *rx_frequency, int channels, double paging_frequency, int samplerate, int latspl, double bandwidth, double sample_deviation);
+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);
+