path: root/Transceiver52M/Transceiver.h
diff options
authorThomas Tsou <tom@tsou.cc>2013-08-20 16:10:01 -0400
committerThomas Tsou <tom@tsou.cc>2013-10-18 13:10:04 -0400
commit83e0689e76b0c00ab5d40d04063b7eb50677af64 (patch)
treef684a5e943e1c4b90b2fe6ae6d2e150bb89894d1 /Transceiver52M/Transceiver.h
parentd24cc2cd9647c56c0103490c3a0bfc1dd13d6cd2 (diff)
Transceiver52M: Make GSM pulse filter internal to implementation
There is no reason expose the pulse shaping filter outside of the signal processing calls. The main transceiver object makes no use of the filter and there's no reason to pass it around. Initialize the pulse shape with the signal processing library, and maintain an internal static member like many of the other library variables. Similarly destroy the object when the library is closed. Signed-off-by: Thomas Tsou <tom@tsou.cc>
Diffstat (limited to 'Transceiver52M/Transceiver.h')
1 files changed, 1 insertions, 2 deletions
diff --git a/Transceiver52M/Transceiver.h b/Transceiver52M/Transceiver.h
index 91d92b2..3175213 100644
--- a/Transceiver52M/Transceiver.h
+++ b/Transceiver52M/Transceiver.h
@@ -124,8 +124,6 @@ private:
/** send messages over the clock socket */
void writeClockInterface(void);
- signalVector *gsmPulse; ///< the GSM shaping pulse for modulation
int mSPS; ///< number of samples per GSM symbol
bool mOn; ///< flag to indicate that transceiver is powered on
@@ -168,6 +166,7 @@ public:
/** start the Transceiver */
void start();
+ bool init();
/** attach the radioInterface receive FIFO */
void receiveFIFO(VectorFIFO *wFIFO) { mReceiveFIFO = wFIFO;}