]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - client/cmdlfpcf7931.h
fix 'hf 15 csetuid' (#890)
[proxmark3-svn] / client / cmdlfpcf7931.h
... / ...
CommitLineData
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
18struct pcf7931_config{
19 uint8_t Pwd[7];
20 uint16_t InitDelay;
21 int16_t OffsetWidth;
22 int16_t OffsetPosition;
23};
24
25int pcf7931_resetConfig();
26int pcf7931_printConfig();
27
28int usage_pcf7931_read();
29int usage_pcf7931_write();
30int usage_pcf7931_bruteforce();
31int usage_pcf7931_config();
32
33int CmdLFPCF7931(const char *Cmd);
34
35int CmdLFPCF7931Read(const char *Cmd);
36int CmdLFPCF7931Write(const char *Cmd);
37int CmdLFPCF7931BruteForce(const char *Cmd);
38int CmdLFPCF7931Config(const char *Cmd);
39
40#endif
Impressum, Datenschutz