]> cvs.zerfleddert.de Git - proxmark3-svn/blob - client/ui.h
ADD: a minor modification to "HF 14A READ" to enable the correct identification...
[proxmark3-svn] / client / ui.h
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
3 //
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
6 // the license.
7 //-----------------------------------------------------------------------------
8 // UI utilities
9 //-----------------------------------------------------------------------------
10
11 #ifndef UI_H__
12 #define UI_H__
13
14 #include <math.h>
15 #include <complex.h>
16 #include "util.h"
17
18 void ShowGui(void);
19 void HideGraphWindow(void);
20 void ShowGraphWindow(void);
21 void RepaintGraphWindow(void);
22 void PrintAndLog(char *fmt, ...);
23 void SetLogFilename(char *fn);
24
25 extern double CursorScaleFactor;
26 extern int PlotGridX, PlotGridY, PlotGridXdefault, PlotGridYdefault;
27 extern int offline;
28 extern int flushAfterWrite; //buzzy
29
30 int manchester_decode( int * data, const size_t len, uint8_t * dataout, size_t dataoutlen);
31 int GetT55x7Clock( const int * data, const size_t len, int high );
32 int DetectFirstTransition(const int * data, const size_t len, int low);
33 void PrintPaddedManchester( uint8_t * bitStream, size_t len, size_t blocksize);
34 void ManchesterDiffDecodedString( const uint8_t *bitStream, size_t len, uint8_t invert );
35 int ManchesterConvertFrom255(const int * data, const size_t len, uint8_t * dataout,int dataoutlen, int high, int low, int clock, int startIndex);
36 int ManchesterConvertFrom1(const int * data, const size_t len, uint8_t * dataout, int dataoutlen, int clock, int startIndex);
37 void iceFsk2(int * data, const size_t len);
38 void iceFsk3(int * data, const size_t len);
39 #endif
Impressum, Datenschutz