aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/radioDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'Transceiver52M/radioDevice.h')
-rw-r--r--Transceiver52M/radioDevice.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Transceiver52M/radioDevice.h b/Transceiver52M/radioDevice.h
index f10da3e..47012a1 100644
--- a/Transceiver52M/radioDevice.h
+++ b/Transceiver52M/radioDevice.h
@@ -27,6 +27,9 @@ typedef unsigned long long TIMESTAMP;
class RadioDevice {
public:
+ /* Available transport bus types */
+ enum busType { USB, NET };
+
static RadioDevice *make(double desiredSampleRate, bool skipRx = false);
/** Initialize the USRP */
@@ -38,6 +41,9 @@ class RadioDevice {
/** Stop the USRP */
virtual bool stop()=0;
+ /** Get the bus type */
+ virtual enum busType getBus()=0;
+
/** Enable thread priority */
virtual void setPriority()=0;