aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/Transceiver.h
diff options
context:
space:
mode:
Diffstat (limited to 'Transceiver52M/Transceiver.h')
-rw-r--r--Transceiver52M/Transceiver.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Transceiver52M/Transceiver.h b/Transceiver52M/Transceiver.h
index fed2df9..1b4e181 100644
--- a/Transceiver52M/Transceiver.h
+++ b/Transceiver52M/Transceiver.h
@@ -95,6 +95,7 @@ private:
int mSamplesPerSymbol; ///< number of samples per GSM symbol
bool mOn; ///< flag to indicate that transceiver is powered on
+ bool mRunning; ///< flag to indicate control loop is running
double mTxFreq; ///< the transmit frequency
double mRxFreq; ///< the receive frequency
int mPower; ///< the transmit power in dB
@@ -134,6 +135,9 @@ public:
/** start the Transceiver */
void start();
+ /** shutdown (teardown threads) the Transceiver */
+ void shutdown();
+
/** attach the radioInterface receive FIFO */
void receiveFIFO(VectorFIFO *wFIFO) { mReceiveFIFO = wFIFO;}
@@ -165,6 +169,12 @@ protected:
void reset();
+ /** return transceiver on/off status */
+ bool on() { return mOn; }
+
+ /** return control loop operational status */
+ bool running() { return mRunning; }
+
/** set priority on current thread */
void setPriority() { mRadioInterface->setPriority(); }