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() 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)