aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/radioDevice.h
diff options
context:
space:
mode:
authorttsou <ttsou@19bc5d8c-e614-43d4-8b26-e1612bc8e597>2012-10-22 00:07:14 +0000
committerttsou <ttsou@19bc5d8c-e614-43d4-8b26-e1612bc8e597>2012-10-22 00:07:14 +0000
commitf60dafa4ff101800efd8b332498971ca22489bb7 (patch)
tree668b5c1bc5e8019f5493251c8b69da1ac1c300c4 /Transceiver52M/radioDevice.h
parent60dc4c9da4392eeec627118e6245ec9a34bce0bb (diff)
Transceiver52M: UHD: Setup option to pass arguments from command line
UHD accepts optional 'args' that can be used for device descriptions such as IP address, device type, etc. Allow these to be passed in on the transceiver command line as the third argument (number of supported carriers is the second argument). This option benefits those who may have multiple UHD devices attached to a single system. This option is not yet supported by GSM core and requires starting the transceiver independently on the command line. This option has no effect when USRP1 is used. Signed-off-by: Thomas Tsou <tom@tsou.cc> git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4315 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Diffstat (limited to 'Transceiver52M/radioDevice.h')
-rw-r--r--Transceiver52M/radioDevice.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Transceiver52M/radioDevice.h b/Transceiver52M/radioDevice.h
index 47012a1..f7dcb03 100644
--- a/Transceiver52M/radioDevice.h
+++ b/Transceiver52M/radioDevice.h
@@ -15,6 +15,7 @@
#ifndef __RADIO_DEVICE_H__
#define __RADIO_DEVICE_H__
+#include <string>
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -33,7 +34,7 @@ class RadioDevice {
static RadioDevice *make(double desiredSampleRate, bool skipRx = false);
/** Initialize the USRP */
- virtual bool open()=0;
+ virtual bool open(const std::string &args)=0;
/** Start the USRP */
virtual bool start()=0;