fix little endian vs big endian in the macros... again... but this time correct
[RRG-proxmark3.git] / client / src / cmdlfindala.h
blob4ae858901cc9bb1ea31f2497aa54ae78b8cce5fb
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 Indala commands
8 //-----------------------------------------------------------------------------
10 #ifndef CMDLFINDALA_H__
11 #define CMDLFINDALA_H__
13 #include "common.h"
15 int CmdLFINDALA(const char *Cmd);
17 int detectIndala(uint8_t *dest, size_t *size, uint8_t *invert);
18 //int detectIndala26(uint8_t *bitStream, size_t *size, uint8_t *invert);
19 //int detectIndala64(uint8_t *bitStream, size_t *size, uint8_t *invert);
20 //int detectIndala224(uint8_t *bitStream, size_t *size, uint8_t *invert);
21 int demodIndalaEx(int clk, int invert, int maxErr, bool verbose);
22 int demodIndala(bool verbose);
23 int getIndalaBits(uint8_t fc, uint16_t cn, uint8_t *bits);
25 #endif