Remove open-close-select from test script.

This commit is contained in:
Ondrej Mikle 2014-07-22 13:12:16 +02:00
parent f184df9bf6
commit 9dcc30fc8d

View file

@ -24,12 +24,12 @@ try:
nfc = NFCDevice()
uid = nfc.scanUID()
print "UID", hexlify(uid)
nfc.close()
nfc.open()
#nfc.close()
#nfc.open()
print "Now trying to send ISO14443-4 APDUs"
try:
nfc.selectPassiveTarget()
#nfc.selectPassiveTarget()
for apdu in apdus:
print "Command APDU:", formatAPDU(apdu)
rapdu = nfc.sendAPDU(apdu)