| 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 CMDLFVISA2000_H__ |
| 10 | #define CMDLFVISA2000_H__ |
| 11 | #include <string.h> |
| 12 | #include <inttypes.h> |
| 13 | #include <math.h> |
| 14 | #include "proxmark3.h" |
| 15 | #include "ui.h" |
| 16 | #include "util.h" |
| 17 | #include "graph.h" |
| 18 | #include "cmdparser.h" |
| 19 | #include "cmddata.h" |
| 20 | #include "cmdmain.h" |
| 21 | #include "cmdlf.h" |
| 22 | #include "protocols.h" // for T55xx config register definitions |
| 23 | #include "lfdemod.h" // parityTest |
| 24 | int CmdLFVisa2k(const char *Cmd); |
| 25 | int CmdVisa2kClone(const char *Cmd); |
| 26 | int CmdVisa2kSim(const char *Cmd); |
| 27 | int CmdVisa2kRead(const char *Cmd); |
| 28 | int CmdVisa2kDemod(const char *Cmd); |
| 29 | |
| 30 | int getvisa2kBits(uint64_t fullcode, uint8_t *bits); |
| 31 | |
| 32 | int usage_lf_visa2k_clone(void); |
| 33 | int usage_lf_visa2k_sim(void); |
| 34 | int usage_lf_visa2k_read(void); |
| 35 | int usage_lf_visa2k_demod(void); |
| 36 | #endif |
| 37 | |