diff options
author | Thomas Tsou <tom@tsou.cc> | 2014-04-16 22:24:00 -0400 |
---|---|---|
committer | Thomas Tsou <tom@tsou.cc> | 2014-10-06 10:35:29 -0700 |
commit | c7f36c282a917a4718f9b116ba59d2daffa16eb2 (patch) | |
tree | 6c74ec97723488a62fb801cdcd55f6e44104f574 /Transceiver52M/radioInterface.h | |
parent | f31e4bb089453c18d42f998d8aa45b9c7947ff8a (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/radioInterface.h')
-rw-r--r-- | Transceiver52M/radioInterface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Transceiver52M/radioInterface.h b/Transceiver52M/radioInterface.h index 36bc6ea..7798e5c 100644 --- a/Transceiver52M/radioInterface.h +++ b/Transceiver52M/radioInterface.h @@ -102,6 +102,9 @@ public: /** return the basestation clock */ RadioClock* getClock(void) { return &mClock;}; + /** apply an offset to the main clock */ + void adjustClock(GSM::Time &offset); + /** set transmit frequency */ bool tuneTx(double freq, size_t chan = 0); |