mirror of
https://github.com/nikdoof/pytikitag.git
synced 2025-12-18 04:09:26 +00:00
Further work and annotations. Correction to the read functions of MiFare
to get the correct bytes
This commit is contained in:
8
test.py
8
test.py
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user