| 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 | // Low frequency HID commands |
| 9 | //----------------------------------------------------------------------------- |
| 10 | |
| 11 | #ifndef CMDLFHID_H__ |
| 12 | #define CMDLFHID_H__ |
| 13 | |
| 14 | #include <stdint.h> |
| 15 | #include <stdbool.h> |
| 16 | |
| 17 | int CmdLFHID(const char *Cmd); |
| 18 | int CmdFSKdemodHID(const char *Cmd); |
| 19 | int CmdHIDReadDemod(const char *Cmd); |
| 20 | int CmdHIDSim(const char *Cmd); |
| 21 | int CmdHIDClone(const char *Cmd); |
| 22 | int CmdHIDDecode(const char *Cmd); |
| 23 | int CmdHIDEncode(const char *Cmd); |
| 24 | int CmdHIDWrite(const char *Cmd); |
| 25 | // This is used by the Paradox code |
| 26 | int hid_hexstring_to_int96(/* out */ uint32_t* hi2,/* out */ uint32_t* hi, /* out */ uint32_t* lo, const char* str); |
| 27 | #endif |