fix one too small
[RRG-proxmark3.git] / client / src / cmdlfem410x.h
blob4c3886a243104df7df2135169a753d837d7d9c85
1 //-----------------------------------------------------------------------------
2 // Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // See LICENSE.txt for the text of the license.
15 //-----------------------------------------------------------------------------
16 // Low frequency EM 410x commands
17 //-----------------------------------------------------------------------------
19 #ifndef CMDLFEM410X_H__
20 #define CMDLFEM410X_H__
22 #include "common.h"
24 int CmdLFEM410X(const char *Cmd);
26 int demodEM410x(bool verbose);
27 void printEM410x(uint32_t hi, uint64_t id, bool verbose, int type);
29 int AskEm410xDecode(bool verbose, uint32_t *hi, uint64_t *lo);
30 int AskEm410xDemod(int clk, int invert, int maxErr, size_t maxLen, bool amplify, uint32_t *hi, uint64_t *lo, bool verbose);
32 #endif