aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/uhd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/uhd.h')
-rw-r--r--src/common/uhd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/uhd.h b/src/common/uhd.h
new file mode 100644
index 0000000..d6335b9
--- /dev/null
+++ b/src/common/uhd.h
@@ -0,0 +1,7 @@
+
+int uhd_open(const char *device_args, double tx_frequency, double rx_frequency, double rate, double rx_gain, double tx_gain);
+void uhd_close(void);
+int uhd_send(float *buff, int num);
+int uhd_receive(float *buff, int max);
+int uhd_get_inbuffer(void);
+