]> git.zerfleddert.de Git - proxmark3-svn/blob - client/cmdlfpcf7931.h
Merge pull request #909 from pwpiwi/fix_button_break
[proxmark3-svn] / client / cmdlfpcf7931.h
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2012 Chalk <chalk.secu at gmail.com>
3 // 2015 Dake <thomas.cayrou at gmail.com>
4 // 2018 sguerrini97 <sguerrini97 at gmail.com>
5
6 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
7 // at your option, any later version. See the LICENSE.txt file for the text of
8 // the license.
9 //-----------------------------------------------------------------------------
10 // Low frequency PCF7931 commands
11 //-----------------------------------------------------------------------------
12
13 #ifndef CMDLFPCF7931_H__
14 #define CMDLFPCF7931_H__
15
16 #include <stdint.h>
17
18 struct pcf7931_config{
19 uint8_t Pwd[7];
20 uint16_t InitDelay;
21 int16_t OffsetWidth;
22 int16_t OffsetPosition;
23 };
24
25 int pcf7931_resetConfig();
26 int pcf7931_printConfig();
27
28 int usage_pcf7931_read();
29 int usage_pcf7931_write();
30 int usage_pcf7931_bruteforce();
31 int usage_pcf7931_config();
32
33 int CmdLFPCF7931(const char *Cmd);
34
35 int CmdLFPCF7931Read(const char *Cmd);
36 int CmdLFPCF7931Write(const char *Cmd);
37 int CmdLFPCF7931BruteForce(const char *Cmd);
38 int CmdLFPCF7931Config(const char *Cmd);
39
40 #endif
Impressum, Datenschutz