]> git.zerfleddert.de Git - proxmark3-svn/blame - common/lfdemod.h
CHG: minor code clean up.
[proxmark3-svn] / common / lfdemod.h
CommitLineData
eb191de6 1// Copyright (C) 2014
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 commands
8//-----------------------------------------------------------------------------
9
10#ifndef LFDEMOD_H__
11#define LFDEMOD_H__
12#include <stdint.h>
13
f822a063 14int DetectASKClock(uint8_t dest[], size_t size, int clock);
eb191de6 15int askmandemod(uint8_t *BinStream,uint32_t *BitLen,int *clk, int *invert);
66707a3b 16uint64_t Em410xDecode(uint8_t *BitStream,uint32_t BitLen);
f822a063 17int manrawdecode(uint8_t *BitStream, int *bitLen);
18int BiphaseRawDecode(uint8_t * BitStream, int *bitLen, int offset);
eb191de6 19int askrawdemod(uint8_t *BinStream, int *bitLen,int *clk, int *invert);
20int HIDdemodFSK(uint8_t *dest, size_t size, uint32_t *hi2, uint32_t *hi, uint32_t *lo);
21int IOdemodFSK(uint8_t *dest, size_t size);
f822a063 22int fskdemod(uint8_t *dest, size_t size, uint8_t rfLen, uint8_t invert, uint8_t fchigh, uint8_t fclow);
eb191de6 23uint32_t bytebits_to_byte(uint8_t* src, int numbits);
24
eb191de6 25#endif
Impressum, Datenschutz