From 40bf6fbf1a821fdb0891ed7c0989d1a3548d503a Mon Sep 17 00:00:00 2001 From: henryk Date: Sat, 15 Dec 2007 17:13:26 +0000 Subject: Further the distinction between SSC and PDC transfersize Add convenient access to the last data bit from the miller decoder for type a frames git-svn-id: https://svn.openpcd.org:2342/trunk@391 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpicc/application/iso14443_layer3a.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openpicc/application/iso14443_layer3a.h') diff --git a/openpicc/application/iso14443_layer3a.h b/openpicc/application/iso14443_layer3a.h index 9b00ccb..a31c92f 100644 --- a/openpicc/application/iso14443_layer3a.h +++ b/openpicc/application/iso14443_layer3a.h @@ -100,7 +100,8 @@ typedef struct { enum { PARITY, /* Calculate parity on the fly, ignore the parity field below */ GIVEN_PARITY, /* Use the parity bits from the parity field below */ NO_PARITY, /* Don't send any parity */ - } parity; + } parity; + enum { ISO14443A_LAST_BIT_0 = 0, ISO14443A_LAST_BIT_1 = 1, ISO14443A_LAST_BIT_NONE } last_bit; } a; } parameters; u_int32_t numbytes; -- cgit v1.2.3