]>
Commit | Line | Data |
---|---|---|
6658905f | 1 | #ifndef __PROX_H\r |
2 | #define __PROX_H\r | |
3 | \r | |
4 | #include "../include/usb_cmd.h"\r | |
5 | \r | |
6 | // prox.cpp\r | |
7 | void ReceiveCommand(UsbCommand *c);\r | |
8 | BOOL ReceiveCommandPoll(UsbCommand *c);\r | |
9 | void SendCommand(UsbCommand *c, BOOL wantAck);\r | |
10 | \r | |
11 | // gui.cpp\r | |
9760414b | 12 | void ShowGui();\r |
6658905f | 13 | void HideGraphWindow(void);\r |
14 | void ShowGraphWindow(void);\r | |
15 | void RepaintGraphWindow(void);\r | |
16 | void PrintToScrollback(char *fmt, ...);\r | |
17 | #define MAX_GRAPH_TRACE_LEN (1024*128)\r | |
18 | extern int GraphBuffer[MAX_GRAPH_TRACE_LEN];\r | |
19 | extern int GraphTraceLen;\r | |
20 | extern double CursorScaleFactor;\r | |
21 | extern int CommandFinished;\r | |
9760414b | 22 | extern int offline;\r |
6658905f | 23 | \r |
24 | // command.cpp\r | |
f23e056d | 25 | static void CmdBuffClear(char *str);\r |
9760414b | 26 | static void GetFromBigBuf(BYTE *dest, int bytes);\r |
27 | static void CmdReset(char *str);\r | |
28 | static void CmdQuit(char *str);\r | |
29 | static void CmdEM410xread(char *str);\r | |
30 | static void CmdEM410xwatch(char *str);\r | |
31 | static void ChkBitstream(char *str);\r | |
32 | int GetClock(char *str, int peak);\r | |
33 | static void CmdHIDdemodFSK(char *str);\r | |
34 | static void Cmdmanchestermod(char *str);\r | |
35 | static void CmdTune(char *str);\r | |
36 | static void CmdHi15read(char *str);\r | |
37 | static void CmdHi14read(char *str);\r | |
38 | static void CmdSri512read(char *str);\r | |
39 | static void CmdHi14areader(char *str);\r | |
40 | static void CmdHi15reader(char *str);\r | |
41 | static void CmdHi15tag(char *str);\r | |
42 | static void CmdHi14read_sim(char *str);\r | |
43 | static void CmdHi14readt(char *str);\r | |
44 | static void CmdHisimlisten(char *str);\r | |
1dff8c42 | 45 | static void CmdReadmem(char *str);\r |
9760414b | 46 | static void CmdHi14sim(char *str);\r |
47 | static void CmdHi14asim(char *str);\r | |
48 | static void CmdHi14snoop(char *str);\r | |
49 | static void CmdHi14asnoop(char *str);\r | |
50 | static void CmdFPGAOff(char *str);\r | |
51 | int CmdClearGraph(int redraw);\r | |
52 | static void CmdAppendGraph(int redraw, int clock, int bit);\r | |
53 | static void CmdEM410xsim(char *str);\r | |
54 | static void CmdLosim(char *str);\r | |
959baa89 | 55 | static void CmdLoCommandRead(char *str);\r |
9760414b | 56 | static void CmdLoread(char *str);\r |
57 | static void CmdLosamples(char *str);\r | |
58 | static void CmdBitsamples(char *str);\r | |
59 | static void CmdHisamples(char *str);\r | |
60 | static int CmdHisamplest(char *str, int nrlow);\r | |
61 | static void CmdHexsamples(char *str);\r | |
62 | static void CmdHisampless(char *str);\r | |
63 | static WORD Iso15693Crc(BYTE *v, int n);\r | |
64 | static void CmdHi14bdemod(char *str);\r | |
65 | static void CmdHi14list(char *str);\r | |
66 | static void CmdHi14alist(char *str);\r | |
67 | static void CmdHi15demod(char *str);\r | |
68 | static void CmdTiread(char *str);\r | |
69 | static void CmdTibits(char *str);\r | |
70 | static void CmdTidemod(char *cmdline);\r | |
71 | static void CmdNorm(char *str);\r | |
72 | static void CmdDec(char *str);\r | |
73 | static void CmdHpf(char *str);\r | |
74 | static void CmdZerocrossings(char *str);\r | |
75 | static void CmdLtrim(char *str);\r | |
76 | static void CmdAutoCorr(char *str);\r | |
77 | static void CmdVchdemod(char *str);\r | |
78 | static void CmdIndalademod(char *str);\r | |
79 | static void CmdFlexdemod(char *str);\r | |
80 | static void Cmdaskdemod(char *str);\r | |
81 | static void Cmddetectclockrate(char *str);\r | |
82 | int detectclock(int peak);\r | |
83 | static void Cmdbitstream(char *str);\r | |
84 | static void Cmdmanchesterdemod(char *str);\r | |
85 | static void CmdHiddemod(char *str);\r | |
86 | static void CmdPlot(char *str);\r | |
87 | static void CmdHide(char *str);\r | |
88 | static void CmdScale(char *str);\r | |
89 | static void CmdSave(char *str);\r | |
90 | static void CmdLoad(char *str);\r | |
91 | static void CmdHIDsimTAG(char *str);\r | |
92 | static void CmdLcdReset(char *str);\r | |
93 | static void CmdLcd(char *str);\r | |
94 | static void CmdTest(char *str);\r | |
95 | static void CmdSetDivisor(char *str);\r | |
96 | static void CmdSweepLF(char *str);\r | |
6658905f | 97 | void CommandReceived(char *cmd);\r |
98 | void UsbCommandReceived(UsbCommand *c);\r | |
99 | \r | |
9760414b | 100 | \r |
6658905f | 101 | // cmdline.cpp\r |
102 | void ShowCommandline(void);\r | |
103 | void ExecCmd(char *cmd);\r | |
104 | //void PrintToScrollback(char *fmt, ...);\r | |
105 | \r | |
106 | #endif\r |