]> git.zerfleddert.de Git - proxmark3-svn/blob - armsrc/hitag2.h
7606e2ceb8380e169dafd5829380ee27d44eb5f5
[proxmark3-svn] / armsrc / hitag2.h
1 //-----------------------------------------------------------------------------
2 // (c) 2009 Henryk Plötz <henryk@ploetzli.ch>
3 //
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
6 // the license.
7 //-----------------------------------------------------------------------------
8 // Hitag2 emulation public interface
9 //-----------------------------------------------------------------------------
10
11 #ifndef __HITAG2_H
12 #define __HITAG2_H
13
14 typedef int (*hitag2_response_callback_t)(const char* response_data, const int response_length, const int fdt, void *cb_cookie);
15
16 extern int hitag2_init(void);
17 extern int hitag2_handle_command(const char* data, const int length, hitag2_response_callback_t cb, void *cb_cookie);
18
19 #endif
Impressum, Datenschutz