mirror of
https://github.com/brmlab/brmdoor_libnfc.git
synced 2025-06-09 00:44:13 +02:00
9 lines
196 B
Python
Executable file
9 lines
196 B
Python
Executable file
#!/usr/bin/env python
|
|
from brmdoor_nfc import NFCDevice
|
|
from binascii import hexlify
|
|
|
|
nfc = NFCDevice()
|
|
nfc.close()
|
|
nfc.open()
|
|
print hexlify(nfc.scanUID())
|
|
print "Device is opened:", nfc.opened()
|