proxmark3/client/src/cmdlfindala.h

29 lines
1.1 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 "common.h"
2019-04-06 06:38:22 +08:00
int CmdLFINDALA(const char *Cmd);
int detectIndala(uint8_t *dest, size_t *size, uint8_t *invert);
2020-09-28 17:50:20 +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);
int demodIndalaEx(int clk, int invert, int maxErr, bool verbose);
int demodIndala(bool verbose);
2020-03-13 21:23:34 +08:00
int getIndalaBits(uint8_t fc, uint16_t cn, uint8_t *bits);
2021-06-08 04:24:42 +08:00
int getIndalaBits4041x(uint8_t fc, uint16_t cn, uint8_t *bits);
2021-06-05 01:24:02 +08:00
bool parityOdd(uint16_t x);
bool parityEven(uint16_t x);
#endif