|
| def | __del__ (self) |
| |
| def | __init__ (self, path='usb', targets=['106A', B, F) |
| |
| def | read_card (self, targets=None, on_startup=lambda targets:targets, on_discover=lambda target:True, on_connect=lambda tag:False, on_release=lambda tag:False) |
| |
Definition at line 4 of file nfc_interface.py.
◆ __init__()
| def nfc_ros.nfc_interface.NFCInterface.__init__ |
( |
|
self, |
|
|
|
path = 'usb', |
|
|
|
targets = ['106A', |
|
|
|
B, |
|
|
|
F |
|
) |
| |
Args:
path(str):
path to NFC device.
please see reference of nfc.ContactlessFrontEnd.open().
https://nfcpy.readthedocs.io/en/latest/modules/clf.html#nfc.clf.ContactlessFrontend.open
Definition at line 8 of file nfc_interface.py.
◆ __del__()
| def nfc_ros.nfc_interface.NFCInterface.__del__ |
( |
|
self | ) |
|
◆ read_card()
| def nfc_ros.nfc_interface.NFCInterface.read_card |
( |
|
self, |
|
|
|
targets = None, |
|
|
|
on_startup = lambda targets: targets, |
|
|
|
on_discover = lambda target: True, |
|
|
|
on_connect = lambda tag: False, |
|
|
|
on_release = lambda tag: False |
|
) |
| |
◆ clf
| nfc_ros.nfc_interface.NFCInterface.clf |
◆ targets
| nfc_ros.nfc_interface.NFCInterface.targets |
The documentation for this class was generated from the following file: