]> git.zerfleddert.de Git - proxmark3-svn/blob - common/lfdemod.h
e66ed6f9e3f23a1139b5ce4f9910a5d99aeb0eb1
[proxmark3-svn] / common / lfdemod.h
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
14 int DetectClock2(uint8_t dest[], size_t size, int clock);
15 int askmandemod(uint8_t *BinStream,uint32_t *BitLen,int *clk, int *invert);
16 uint64_t Em410xDecode(uint8_t *BitStream,uint32_t BitLen);
17 int manrawdemod(uint8_t *BitStream, int *bitLen);
18 int askrawdemod(uint8_t *BinStream, int *bitLen,int *clk, int *invert);
19 int HIDdemodFSK(uint8_t *dest, size_t size, uint32_t *hi2, uint32_t *hi, uint32_t *lo);
20 int IOdemodFSK(uint8_t *dest, size_t size);
21 int fskdemod(uint8_t *dest, size_t size, uint8_t rfLen, uint8_t invert);
22 uint32_t bytebits_to_byte(uint8_t* src, int numbits);
23
24 //
25 //#define MAX_BitStream_LEN (1024*128)
26 //extern int BitStreamLen;
27
28 #endif
Impressum, Datenschutz