forked from platypush/platypush
[#299] Refactored NFC backend into a runnable plugin.
This commit is contained in:
parent
bbf755eef2
commit
dfaa5447ac
1 changed files with 3 additions and 5 deletions
|
@ -25,13 +25,11 @@ class NfcPlugin(RunnablePlugin):
|
|||
"""
|
||||
:param device: Address or ID of the device to be opened. Examples:
|
||||
|
||||
* `'usb:003:009'` opens device 9 on bus 3
|
||||
* `'usb:003'` opens the first available device on bus 3
|
||||
* `'usb'` opens the first available USB device (default)
|
||||
* ``usb:003:009`` opens device 9 on bus 3
|
||||
* ``usb:003`` opens the first available device on bus 3
|
||||
* ``usb`` opens the first available USB device (default)
|
||||
"""
|
||||
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
self.device_id = device
|
||||
self._clf = None
|
||||
|
||||
|
|
Loading…
Reference in a new issue