Merge pull request #2654 from Antiklesys/master
[RRG-proxmark3.git] / client / src / cmdlffdxb.h
blob8db3eaa4773e6e6ee5a0062448c9b43f337cdb63
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 fdx-b tag commands
17 //-----------------------------------------------------------------------------
18 #ifndef CMDLFFDXB_H__
19 #define CMDLFFDXB_H__
21 #include "common.h"
23 typedef struct {
24 uint16_t code;
25 const char *desc;
26 } fdxbCountryMapping_t;
28 int CmdLFFdxB(const char *Cmd);
29 int detectFDXB(uint8_t *dest, size_t *size);
30 int demodFDXB(bool verbose);
31 //int getFDXBBits(uint64_t national_code, uint16_t country_code, uint8_t is_animal, uint8_t is_extended, uint16_t extended, uint8_t *bits);
33 #endif