proxmark3/client/cmdlfindala.h

39 lines
1.4 KiB
C
Raw Normal View History

//-----------------------------------------------------------------------------
//
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
// at your option, any later version. See the LICENSE.txt file for the text of
// the license.
//-----------------------------------------------------------------------------
// Low frequency Indala commands
//-----------------------------------------------------------------------------
#ifndef CMDLFINDALA_H__
#define CMDLFINDALA_H__
#include <stdio.h> // sscanf
#include <stdlib.h>
#include <string.h>
#include "proxmark3.h" // Definitions, USB controls, etc
#include "ui.h" // PrintAndLog
#include "cmdparser.h" // CmdsParse, CmdsHelp
2018-02-21 23:41:39 +08:00
#include "lfdemod.h" // parityTest, bitbytes_to_byte
#include "util.h" // weigandparity
#include "protocols.h" // for T55xx config register definitions
#include "cmdmain.h"
#include "cmddata.h"
2019-03-10 06:35:06 +08:00
#include "cmdlf.h" // lf_read
2019-04-06 06:38:22 +08:00
int CmdLFINDALA(const char *Cmd);
2019-04-06 06:38:22 +08:00
int CmdIndalaDemod(const char *Cmd);
int CmdIndalaDemodAlt(const char *Cmd);
int CmdIndalaRead(const char *Cmd);
int CmdIndalaClone(const char *Cmd);
int CmdIndalaSim(const char *Cmd);
2019-04-06 06:38:22 +08:00
int detectIndala26(uint8_t *bitStream, size_t *size, uint8_t *invert);
int detectIndala64(uint8_t *bitStream, size_t *size, uint8_t *invert);
int detectIndala224(uint8_t *bitStream, size_t *size, uint8_t *invert);
#endif