S o n o m a U s e r M a n u a l
74
C H A P T E R N I N E
75
S o n o m a U s e r M a n u a l
C O N T R O L A N D S T A T U S C O M M A N D S
cdmaleapmode
This command displays the current and future leap second settings. The leap second mode is always
USER, meaning that the leap second information is user-entered. For more information on leap sec-
onds see Appendix F - Leap Seconds.
Command: cdmaleapmode
Sonoma reply: CDMA Leap Second Mode is USER: Current LS = 13, Future LS = 13
cdmastat
is command allows the user to query the status of the CDMA Subsystem. During normal operation,
the NTP daemon polls the CDMA Subsystem every 16 seconds. The results of this poll are used to
steer the system clock and are saved to a log le. This command parses and formats the data con-
tained therein and prints this xed-length string having these elds:
LKSTAT TFOM = ? YEAR DOY HH:MM:SS LS LF S CHANNEL PNO AGC VCDAC OSCDAC
SN.R F.ERR FLTR FLTS
Where:
LKSTAT is the tracking status of the CDMA Subsystem, either LOCKED or NOTLKD.
TFOM = ? A value between 6 and 9 and indicates clock accuracy.
A detailed explanation of TFOM is in Appendix A - TFOM.
YEAR is the year of the UTC timestamp of the most recent NTP polling request received by the
CDMA Subsystem from the NTP reference clock driver.
DOY is the day-of-year of the UTC timestamp of most recent NTP polling request received by
the CDMA subsytem from the NTP reference clock driver.
HH:MM:SS is the hour, minute, second UTC timestamp of the most
recent NTP polling request received by the CDMA Subsystem from the NTP daemon
reference clock driver.
LS is the current number of leap seconds difference between the UTC and GPS timescales
(16 at the time of this writing).
LF is the future (at the next UTC midnight) number of leap seconds difference between the
UTC and GPS timescales (16 at the time of this writing).
S is the signal processor state, one of 0 (Acquiring), 1 (Code Locking), 2 (Locked),
9 (Warming Up).
C is the CDMA frequency channel being used, for example NAP_01_A which is North
American PCS, Provider A, Channel 1.
PNO is the base station pseudonoise offset, 0 to 511 in units of 64 pseudonoise code chips.