comparison doc/RF-cal/Test-system-interface @ 192:bab88077deba

doc/RF-cal/Test-system-interface written
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 23 Apr 2017 21:03:44 +0000
parents
children
comparison
equal deleted inserted replaced
191:80bd2c652c46 192:bab88077deba
1 The Test System Interface Daemon (TSID) will provide a connection-oriented
2 (SOCK_STREAM) UNIX domain local socket at /tmp/fc_rftest_socket, and will speak
3 an ASCII line-based command-response protocol on this socket. All command and
4 response lines will end with \n only (no \r), and each TSID response including
5 the initial greeting on connection establishment will begin with a '+' or '-'
6 character to indicate OK or error, respectively, like in POP3.
7
8 The following commands are currently defined:
9
10 vcxo-cal-setup band arfcn
11
12 This command is sent to the TSID to prepare the RF test system for the VCXO
13 calibration procedure. The first argument after the command keyword is the
14 band to be used (850, 900, 1800 or 1900) and the second argument is the ARFCN
15 in that band on which the DUT will be transmitting.
16
17 freq-meas hint
18
19 This command directs the RF test system to take a frequency offset measurement
20 (vcxo-cal-setup must have been performed previously) and report it back to the
21 client in the response line. The hint argument after the freq-meas keyword will
22 be sent by the VCXO calibration program (fc-rfcal-vcxo) to tell the RF test
23 system what kind of frequency offset measurement is being made, i.e., which step
24 in the VCXO calibration sequence is being performed; the hint keywords remain
25 to be defined.
26
27 signal-gen-setup band
28
29 This command is sent to the TSID to prepare the RF test system for tests in
30 which the latter acts as a signal generator. The argument after the command
31 keyword is the band number (850, 900, 1800 or 1900), and it selects the
32 downlink frequency band in which the signal generator will need to operate.
33
34 signal-gen-sine arfcn offset level
35
36 This command directs the RF test system to turn on its signal generator and put
37 out a pure sine wave at the frequency corresponding to the specified ARFCN (in
38 the downlink band previously selected with signal-get-setup) plus the specified
39 offset in kHz (-67 or +67 with TI's Rx path calibration procedures), and at the
40 specified Tx power level in dBm.
41
42 signal-gen-off
43
44 Turn off the signal generator.
45
46 The commands for Tx power level calibration remain to be defined.