mirror of
https://github.com/brmlab/brmdoor_libnfc.git
synced 2025-06-07 16:14:01 +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()
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue