| 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 Presco tag commands |
| 8 | //----------------------------------------------------------------------------- |
| 9 | #ifndef CMDLFPRESCO_H__ |
| 10 | #define CMDLFPRESCO_H__ |
| 11 | |
| 12 | #include <stdint.h> //uint_32+ |
| 13 | #include <stdbool.h> //bool |
| 14 | |
| 15 | int CmdLFPresco(const char *Cmd); |
| 16 | int CmdPrescoClone(const char *Cmd); |
| 17 | int CmdPrescoSim(const char *Cmd); |
| 18 | |
| 19 | int GetWiegandFromPresco(const char *id, uint32_t *sitecode, uint32_t *usercode, uint32_t *fullcode, bool *Q5); |
| 20 | |
| 21 | int usage_lf_presco_clone(void); |
| 22 | int usage_lf_presco_sim(void); |
| 23 | #endif |
| 24 | |