aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/Transceiver.h
diff options
context:
space:
mode:
authorThomas Tsou <tom@tsou.cc>2014-04-16 22:24:00 -0400
committerThomas Tsou <tom@tsou.cc>2014-10-06 10:35:29 -0700
commitc7f36c282a917a4718f9b116ba59d2daffa16eb2 (patch)
tree6c74ec97723488a62fb801cdcd55f6e44104f574 /Transceiver52M/Transceiver.h
parentf31e4bb089453c18d42f998d8aa45b9c7947ff8a (diff)
Transceiver52M: Decode SCH and adjust GSM clock
When in MS acquisition mode, attempt to decode SCH and establish the BTS frame timing. Lock the transceiver GSM clock to the BTS by adjusting the clock value by the measured burst-SCH offset. Add tracking state, TRX_MODE_MS_TRACKING, which continues to detect and decode the SCH with timing tracking, but only on SCH poitions within the 51 multiframe. Signed-off-by: Thomas Tsou <tom@tsou.cc>
Diffstat (limited to 'Transceiver52M/Transceiver.h')
-rw-r--r--Transceiver52M/Transceiver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Transceiver52M/Transceiver.h b/Transceiver52M/Transceiver.h
index c167519..170af77 100644
--- a/Transceiver52M/Transceiver.h
+++ b/Transceiver52M/Transceiver.h
@@ -155,6 +155,8 @@ private:
signalVector &burst,
complex &amp, float &toa);
+ bool decodeSCH(SoftVector *burst, GSM::Time *time);
+
/** Detect normal bursts */
bool detectTSC(TransceiverState *state,
signalVector &burst,
@@ -238,6 +240,7 @@ public:
TRX_MODE_OFF,
TRX_MODE_BTS,
TRX_MODE_MS_ACQUIRE,
+ TRX_MODE_MS_TRACK,
};
protected: