Further work and annotations. Correction to the read functions of MiFare

to get the correct bytes
This commit is contained in:
2009-02-01 02:28:09 +00:00
parent c984e2b870
commit 75c35102a4
4 changed files with 15 additions and 25 deletions

View File

@@ -1,11 +1,13 @@
#!/usr/bin/python
from pytikitag import reader, tikitag
from smartcard.util import toHexString, toASCIIString
m = tikitag.TikiTag()
print m.tag_id()
print m.get_uid()
#d = m.read_tag()
#rint "%s bytes" % len(d)
d = m.read_tag()
print "%s bytes" % len(d)
print toHexString(d)