]> cvs.zerfleddert.de Git - proxmark3-svn/blame - client/cmdlfpcf7931.h
Fix gcc10 compiler warnings
[proxmark3-svn] / client / cmdlfpcf7931.h
CommitLineData
f5fca2ed 1//-----------------------------------------------------------------------------
2// Copyright (C) 2012 Chalk <chalk.secu at gmail.com>
dc4300ba 3// 2015 Dake <thomas.cayrou at gmail.com>
818e15b0 4// 2018 sguerrini97 <sguerrini97 at gmail.com>
dc4300ba 5
f5fca2ed 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
ad939de5 16#include <stdint.h>
17
dc4300ba 18struct pcf7931_config{
d10e08ae 19 uint8_t Pwd[7];
20 uint16_t InitDelay;
21 int16_t OffsetWidth;
22 int16_t OffsetPosition;
dc4300ba
D
23};
24
d10e08ae 25int pcf7931_resetConfig();
26int pcf7931_printConfig();
27
28int usage_pcf7931_read();
29int usage_pcf7931_write();
818e15b0 30int usage_pcf7931_bruteforce();
d10e08ae 31int usage_pcf7931_config();
32
f5fca2ed 33int CmdLFPCF7931(const char *Cmd);
34
35int CmdLFPCF7931Read(const char *Cmd);
dc4300ba 36int CmdLFPCF7931Write(const char *Cmd);
818e15b0 37int CmdLFPCF7931BruteForce(const char *Cmd);
dc4300ba
D
38int CmdLFPCF7931Config(const char *Cmd);
39
f5fca2ed 40#endif
Impressum, Datenschutz