]> git.zerfleddert.de Git - proxmark3-svn/blob - client/cmdlfpcf7931.h
fix "hf mf chk" <t|d|s|ss> flags (based on PR #700) (#718)
[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
5 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
6 // at your option, any later version. See the LICENSE.txt file for the text of
7 // the license.
8 //-----------------------------------------------------------------------------
9 // Low frequency PCF7931 commands
10 //-----------------------------------------------------------------------------
11
12 #ifndef CMDLFPCF7931_H__
13 #define CMDLFPCF7931_H__
14
15 #include <stdint.h>
16
17 struct pcf7931_config{
18 uint8_t Pwd[7];
19 uint16_t InitDelay;
20 int16_t OffsetWidth;
21 int16_t OffsetPosition;
22 };
23
24 int pcf7931_resetConfig();
25 int pcf7931_printConfig();
26
27 int usage_pcf7931_read();
28 int usage_pcf7931_write();
29 int usage_pcf7931_config();
30
31 int CmdLFPCF7931(const char *Cmd);
32
33 int CmdLFPCF7931Read(const char *Cmd);
34 int CmdLFPCF7931Write(const char *Cmd);
35 int CmdLFPCF7931Config(const char *Cmd);
36
37 #endif
Impressum, Datenschutz