FreeCalypso > hg > freecalypso-tools
annotate rvinterf/etmsync/tmscmdtab.c @ 1014:961efadd530a default tip
fc-shell TCH DL handler: add support for CSD modes
TCH DL capture mechanism in FC Tourmaline firmware has been extended
to support CSD modes in addition to speech - add the necessary support
on the host tools side.
It needs to be noted that this mechanism in its present state does NOT
provide the debug utility value that was sought: as we learned only
after the code was implemented, TI's DSP has a misfeature in that the
buffer we are reading (a_dd_0[]) is zeroed out when the IDS block
is enabled, i.e., we are reading all zeros and not the real DL bits
we were after. But since the code has already been written, we are
keeping it - perhaps we can do some tests with IDS disabled.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 26 Nov 2024 06:27:43 +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 }; |