diff --git a/armsrc/hitag2.h b/armsrc/hitag2.h new file mode 100644 index 00000000..985b6796 --- /dev/null +++ b/armsrc/hitag2.h @@ -0,0 +1,10 @@ +/* + * Hitag2 emulation public interface + * + * (c) 2009 Henryk Plötz + */ + +typedef int (*hitag2_response_callback_t)(const char* response_data, const int response_length, const int fdt, void *cb_cookie); + +extern int hitag2_init(void); +extern int hitag2_handle_command(const char* data, const int length, hitag2_response_callback_t cb, void *cb_cookie);