fix little endian vs big endian in the macros... again... but this time correct
[RRG-proxmark3.git] / client / src / cmdlffdxb.h
blob34c474a082b00d610a58a530e2758b94b2e99d92
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 fdx-b tag commands
8 //-----------------------------------------------------------------------------
9 #ifndef CMDLFFDXB_H__
10 #define CMDLFFDXB_H__
12 #include "common.h"
14 typedef struct {
15 uint16_t code;
16 const char *desc;
17 } fdxbCountryMapping_t;
19 int CmdLFFdxB(const char *Cmd);
20 int detectFDXB(uint8_t *dest, size_t *size);
21 int demodFDXB(bool verbose);
22 //int getFDXBBits(uint64_t national_code, uint16_t country_code, uint8_t is_animal, uint8_t is_extended, uint16_t extended, uint8_t *bits);
24 #endif