| 1 | //----------------------------------------------------------------------------- |
| 2 | // |
| 3 | // This code is licensed to you under the terms of the GNU GPL, version 2 or, |
| 4 | // at your option, any later version. See the LICENSE.txt file for the text of |
| 5 | // the license. |
| 6 | //----------------------------------------------------------------------------- |
| 7 | // Low frequency T55xx commands |
| 8 | //----------------------------------------------------------------------------- |
| 9 | #ifndef CMDLFPRESCO_H__ |
| 10 | #define CMDLFPRESCO_H__ |
| 11 | #include "proxmark3.h" |
| 12 | #include "ui.h" |
| 13 | #include "util.h" |
| 14 | #include "graph.h" |
| 15 | #include "cmdparser.h" |
| 16 | #include "cmddata.h" |
| 17 | #include "cmdmain.h" |
| 18 | #include "cmdlf.h" |
| 19 | #include "protocols.h" // for T55xx config register definitions |
| 20 | #include "lfdemod.h" // parityTest |
| 21 | int CmdLFPresco(const char *Cmd); |
| 22 | int CmdPrescoClone(const char *Cmd); |
| 23 | int CmdPrescoSim(const char *Cmd); |
| 24 | |
| 25 | int GetWiegandFromPresco(const char *id, uint32_t *sitecode, uint32_t *usercode, uint32_t *fullcode, bool *Q5); |
| 26 | |
| 27 | int usage_lf_presco_clone(void); |
| 28 | int usage_lf_presco_sim(void); |
| 29 | #endif |
| 30 | |