1 //-----------------------------------------------------------------------------
2 // (c) 2009 Henryk Plötz <henryk@ploetzli.ch>
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 // Hitag2 emulation public interface
9 //-----------------------------------------------------------------------------
14 typedef int (*hitag2_response_callback_t
)(const char* response_data
, const int response_length
, const int fdt
, void *cb_cookie
);
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
);