summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2005-06-13 09:17:05 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2005-06-13 09:17:05 +0000
commit5506978158f63fc1f51267f443e193d183cb45d7 (patch)
treebe96fdbe902b4754bb76809e91493f17629eb8c5 /include
parentc4b74a5b7f05b91bf2b90d79c915e0eeed1e7221 (diff)
add speed information to data structures
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1207 e0336214-984f-0b4b-a45f-81c69e1f0ede
Diffstat (limited to 'include')
-rw-r--r--include/rfid/rfid_reader.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/rfid/rfid_reader.h b/include/rfid/rfid_reader.h
index d6ad3a1..11f2ca1 100644
--- a/include/rfid/rfid_reader.h
+++ b/include/rfid/rfid_reader.h
@@ -24,9 +24,11 @@ struct rfid_reader {
int (*transcieve_acf)(struct rfid_reader_handle *h,
struct iso14443a_anticol_cmd *cmd,
unsigned int *bit_of_col);
+ unsigned int speed;
} iso14443a;
struct rfid_14443b_reader {
int (*init)(struct rfid_reader_handle *rh);
+ unsigned int speed;
} iso14443b;
struct rfid_15693_reader {
@@ -39,6 +41,13 @@ enum rfid_reader_id {
RFID_READER_PEGODA,
};
+enum rfid_reader_14443a_speed {
+ RFID_READER_SPEED_106K,
+ RFID_READER_SPEED_212K,
+ RFID_READER_SPEED_424K,
+ RFID_READER_SPEED_848K,
+};
+
struct rfid_reader_handle {
struct rfid_asic_handle *ah;
personal git repositories of Harald Welte. Your mileage may vary