FreeCalypso > hg > freecalypso-tools
annotate rvinterf/etmsync/tmscmdtab.c @ 877:2fe0f7fe1f86
ringtools/fc-meltest-e1: parallel to fc-meltest-pwt
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 30 Mar 2022 20:30:32 +0000 |
parents | aec320fe2653 |
children |
rev | line source |
---|---|
269
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 * fc-tmsync command dispatch table |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 */ |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 #include "cmdtab.h" |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
841
379574e5cf5e
fc-tmsync aur command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
323
diff
changeset
|
7 extern int cmd_aur(); |
842
9da5fb3f42dd
fc-tmsync aur-all command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
841
diff
changeset
|
8 extern int cmd_aur_all(); |
269
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 extern int cmd_dieid(); |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 extern int cmd_exec(); |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 extern int cmd_exit(); |
845
aec320fe2653
fc-tmsync: new madc command reads all 8 MADC channels
Mychaela Falconia <falcon@freecalypso.org>
parents:
844
diff
changeset
|
12 extern int cmd_madc(); |
269
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 extern int cmd_memdump(); |
844
4694c7686ccd
fc-tmsync: add mpr command
Mychaela Falconia <falcon@freecalypso.org>
parents:
842
diff
changeset
|
14 extern int cmd_mpr(); |
269
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 extern int cmd_omemdump(); |
274
f22874b351b7
fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents:
269
diff
changeset
|
16 extern int cmd_rfpr(); |
f22874b351b7
fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents:
269
diff
changeset
|
17 extern int cmd_rfpw(); |
f22874b351b7
fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents:
269
diff
changeset
|
18 extern int cmd_rftr(); |
f22874b351b7
fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents:
269
diff
changeset
|
19 extern int cmd_tms(); |
f22874b351b7
fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents:
269
diff
changeset
|
20 extern int cmd_ttr(); |
291
dd97e75620a7
fc-tmsync: ttr-all implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
290
diff
changeset
|
21 extern int cmd_ttr_all(); |
269
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 |
323
886f65760d09
fc-tmsync: added pirelli-vbat-cal command to read Pirelli's ADC calibration
Mychaela Falconia <falcon@freecalypso.org>
parents:
291
diff
changeset
|
23 extern int get_pirelli_vbat_cal(); |
269
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 extern int get_pirelli_imei(); |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 struct cmdtab cmdtab[] = { |
841
379574e5cf5e
fc-tmsync aur command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
323
diff
changeset
|
27 {"aur", 1, 1, cmd_aur}, |
842
9da5fb3f42dd
fc-tmsync aur-all command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
841
diff
changeset
|
28 {"aur-all", 0, 0, cmd_aur_all}, |
269
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 {"dieid", 0, 0, cmd_dieid}, |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 {"exec", 1, 1, cmd_exec}, |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 {"exit", 0, 0, cmd_exit}, |
845
aec320fe2653
fc-tmsync: new madc command reads all 8 MADC channels
Mychaela Falconia <falcon@freecalypso.org>
parents:
844
diff
changeset
|
32 {"madc", 0, 0, cmd_madc}, |
269
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 {"memdump", 2, 2, cmd_memdump}, |
844
4694c7686ccd
fc-tmsync: add mpr command
Mychaela Falconia <falcon@freecalypso.org>
parents:
842
diff
changeset
|
34 {"mpr", 1, 1, cmd_mpr}, |
269
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 {"omemdump", 2, 2, cmd_omemdump}, |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 {"pirelli-get-imei", 0, 0, get_pirelli_imei}, |
323
886f65760d09
fc-tmsync: added pirelli-vbat-cal command to read Pirelli's ADC calibration
Mychaela Falconia <falcon@freecalypso.org>
parents:
291
diff
changeset
|
37 {"pirelli-vbat-cal", 0, 0, get_pirelli_vbat_cal}, |
274
f22874b351b7
fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents:
269
diff
changeset
|
38 {"rfpr", 1, 1, cmd_rfpr}, |
f22874b351b7
fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents:
269
diff
changeset
|
39 {"rfpw", 2, 3, cmd_rfpw}, |
290
94234e9c843b
fc-tmsync: rftr save to file implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
274
diff
changeset
|
40 {"rftr", 1, 2, cmd_rftr}, |
274
f22874b351b7
fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents:
269
diff
changeset
|
41 {"tms", 1, 1, cmd_tms}, |
f22874b351b7
fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents:
269
diff
changeset
|
42 {"ttr", 1, 1, cmd_ttr}, |
291
dd97e75620a7
fc-tmsync: ttr-all implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
290
diff
changeset
|
43 {"ttr-all", 1, 1, cmd_ttr_all}, |
269
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 {0, 0, 0, 0} |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 }; |