aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/radioDevice.h
diff options
context:
space:
mode:
authorTom Tsou <tom.tsou@ettus.com>2017-06-03 18:31:48 -0700
committerTom Tsou <tom.tsou@ettus.com>2017-06-14 10:15:04 -0700
commitb79895c9990c77f7aa5c72ca3795e9d0d8443dfb (patch)
treebe7b53c67e18019e7619a7288bca3033580fcb6e /Transceiver52M/radioDevice.h
parent980525c8a9cc620314aa36e566d30e0592f280d5 (diff)
siggen: Add osmo-siggen for GSM/EDGE test signal generationttsou/siggen
* Adds 4 and 1 pulse Laurent GMSK modulators * Adds NCO based modulator * Adds synchronization and frequency burst generators * Adds GPIO frame trigger on GPIO-0 * Tested on USRP B210 only * Requires C++14 support B210 GPIO Pin Map J504 --------- fp_gpio<0> | 1 | 2 | fp_gpio<1> --------- fp_gpio<2> | 3 | 4 | fp_gpio<3> --------- fp_gpio<4> | 5 | 6 | fp_gpio<5> --------- fp_gpio<6> | 7 | 8 | fp_gpio<7> --------- gnd | 9 | 10| gnd --------- Change-Id: I891725d7f0cfa97c79e64f978a60dc11a206195c Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
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 3624c58..d2e349d 100644
--- a/Transceiver52M/radioDevice.h
+++ b/Transceiver52M/radioDevice.h
@@ -58,7 +58,7 @@ class RadioDevice {
virtual ~RadioDevice() { }
/** Start the USRP */
- virtual bool start()=0;
+ virtual bool start(bool txOnly = false)=0;
/** Stop the USRP */
virtual bool stop()=0;
@@ -91,6 +91,7 @@ class RadioDevice {
@param isControl Set if data is a control packet, e.g. a ping command
@return The number of samples actually written
*/
+ virtual void triggerGPIO(TIMESTAMP timestamp) = 0;
virtual int writeSamples(std::vector<short *> &bufs, int len, bool *underrun,
TIMESTAMP timestamp, bool isControl = false) = 0;