projects
/
librfid
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ead52a4
)
add more debugging about CID/NAD capability of card
author
Harald Welte
<laforge@gnumonks.org>
Fri, 23 Jun 2006 21:45:49 +0000
(21:45 +0000)
committer
Harald Welte
<laforge@gnumonks.org>
Fri, 23 Jun 2006 21:45:49 +0000
(21:45 +0000)
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1832
e0336214
-984f-0b4b-a45f-
81c69e1f0ede
src/rfid_proto_tcl.c
patch
|
blob
|
history
diff --git
a/src/rfid_proto_tcl.c
b/src/rfid_proto_tcl.c
index
4a92c62
..
ae47f87
100644
(file)
--- a/
src/rfid_proto_tcl.c
+++ b/
src/rfid_proto_tcl.c
@@
-150,10
+150,14
@@
tcl_parse_ats(struct rfid_protocol_handle *h,
if (t0 & (1 << 6)) {
/* TC is transmitted */
- if (*cur & 0x01)
+ if (*cur & 0x01)
{
h->priv.tcl.flags |= TCL_HANDLE_F_NAD_SUPPORTED;
- if (*cur & 0x02)
+ DEBUGP("This PICC supports NAD\n");
+ }
+ if (*cur & 0x02) {
h->priv.tcl.flags |= TCL_HANDLE_F_CID_SUPPORTED;
+ DEBUGP("This PICC supports CID\n");
+ }
cur++;
}