From 6304718e371e590b09e176c05df21fc5fb631cec Mon Sep 17 00:00:00 2001 From: henryk Date: Wed, 5 Mar 2008 05:03:36 +0000 Subject: Port over the differential miller decoder from the sniffonly host tool Move clock switch to its own header file Specify default (and for non-clock switching capable hardware: single) clock source in hardware definitions git-svn-id: https://svn.openpcd.org:2342/trunk@443 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpicc/application/iso14443a_diffmiller.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 openpicc/application/iso14443a_diffmiller.h (limited to 'openpicc/application/iso14443a_diffmiller.h') diff --git a/openpicc/application/iso14443a_diffmiller.h b/openpicc/application/iso14443a_diffmiller.h new file mode 100644 index 0000000..f5336d6 --- /dev/null +++ b/openpicc/application/iso14443a_diffmiller.h @@ -0,0 +1,12 @@ +#ifndef ISO14443A_DIFFMILLER_H_ +#define ISO14443A_DIFFMILLER_H_ + +#include "iso14443.h" + +struct diffmiller_state; + +extern int iso14443a_decode_diffmiller(struct diffmiller_state *state, iso14443_frame *frame, + const u_int32_t buffer[], unsigned int *offset, const unsigned int buflen); +extern struct diffmiller_state *iso14443a_init_diffmiller(int pauses_count); + +#endif /*ISO14443A_DIFFMILLER_H_*/ -- cgit v1.2.3