mirror of
https://github.com/brmlab/brmdoor_libnfc.git
synced 2025-06-08 08:34:00 +02:00
Remove open-close-select from test script.
This commit is contained in:
parent
f184df9bf6
commit
9dcc30fc8d
1 changed files with 3 additions and 3 deletions
|
@ -24,12 +24,12 @@ try:
|
||||||
nfc = NFCDevice()
|
nfc = NFCDevice()
|
||||||
uid = nfc.scanUID()
|
uid = nfc.scanUID()
|
||||||
print "UID", hexlify(uid)
|
print "UID", hexlify(uid)
|
||||||
nfc.close()
|
#nfc.close()
|
||||||
nfc.open()
|
#nfc.open()
|
||||||
|
|
||||||
print "Now trying to send ISO14443-4 APDUs"
|
print "Now trying to send ISO14443-4 APDUs"
|
||||||
try:
|
try:
|
||||||
nfc.selectPassiveTarget()
|
#nfc.selectPassiveTarget()
|
||||||
for apdu in apdus:
|
for apdu in apdus:
|
||||||
print "Command APDU:", formatAPDU(apdu)
|
print "Command APDU:", formatAPDU(apdu)
|
||||||
rapdu = nfc.sendAPDU(apdu)
|
rapdu = nfc.sendAPDU(apdu)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue