]>
git.zerfleddert.de Git - proxmark3-svn/blob - client/cmdlfhid.h
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
7 //-----------------------------------------------------------------------------
8 // Low frequency HID commands
9 //-----------------------------------------------------------------------------
17 // Structure for unpacked HID Prox tags.
19 // Format length, in bits.
30 // When used with pack_hid, this determines if we should calculate
31 // parity values for the ID.
33 // When used with unpack_hid, this indicates if we got valid parity
38 bool pack_hid(/* out */ uint32_t *hi2
, /* out */ uint32_t *hi
, /* out */ uint32_t *lo
, /* in */ const hid_info
*info
);
39 bool unpack_hid(hid_info
* out
, uint32_t hi2
, uint32_t hi
, uint32_t lo
);
42 int CmdLFHID(const char *Cmd
);
43 int CmdFSKdemodHID(const char *Cmd
);
44 int CmdHIDReadDemod(const char *Cmd
);
45 int CmdHIDSim(const char *Cmd
);
46 int CmdHIDClone(const char *Cmd
);
47 int CmdHIDPack(const char *Cmd
);
48 int CmdHIDUnpack(const char *Cmd
);