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