]>
Commit | Line | Data |
---|---|---|
ba1a299c | 1 | // Copyright (C) 2014 |
eb191de6 | 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 | 14 | int DetectASKClock(uint8_t dest[], size_t size, int clock); |
ba1a299c | 15 | int askmandemod(uint8_t *BinStream, size_t *size, int *clk, int *invert); |
16 | uint64_t Em410xDecode(uint8_t *BitStream,size_t size); | |
17 | int manrawdecode(uint8_t *BitStream, size_t *size); | |
18 | int BiphaseRawDecode(uint8_t * BitStream, size_t *size, int offset); | |
19 | int askrawdemod(uint8_t *BinStream, size_t *size, int *clk, int *invert); | |
eb191de6 | 20 | int HIDdemodFSK(uint8_t *dest, size_t size, uint32_t *hi2, uint32_t *hi, uint32_t *lo); |
21 | int IOdemodFSK(uint8_t *dest, size_t size); | |
f822a063 | 22 | int fskdemod(uint8_t *dest, size_t size, uint8_t rfLen, uint8_t invert, uint8_t fchigh, uint8_t fclow); |
ba1a299c | 23 | uint32_t bytebits_to_byte(uint8_t* src, size_t numbits); |
24 | int pskNRZrawDemod(uint8_t *dest, size_t *size, int *clk, int *invert); | |
25 | int DetectpskNRZClock(uint8_t dest[], size_t size, int clock); | |
26 | int indala26decode(uint8_t *bitStream, size_t *size, uint8_t *invert); | |
27 | void pskCleanWave(uint8_t *bitStream, size_t size); | |
eb191de6 | 28 | |
eb191de6 | 29 | #endif |