summaryrefslogtreecommitdiff
path: root/openpicc/application/iso14443_layer3a.h
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-12-15 17:13:26 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-12-15 17:13:26 +0000
commit40bf6fbf1a821fdb0891ed7c0989d1a3548d503a (patch)
treecd9bca4a88562ea7449e01e2cbd4ef10b4d7b318 /openpicc/application/iso14443_layer3a.h
parent91d960e6945a1bb8e70e41d62fbb3be93b16f989 (diff)
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
Diffstat (limited to 'openpicc/application/iso14443_layer3a.h')
-rw-r--r--openpicc/application/iso14443_layer3a.h3
1 files changed, 2 insertions, 1 deletions
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;
personal git repositories of Harald Welte. Your mileage may vary