[#299] Refactored NFC backend into a runnable plugin.

This commit is contained in:
Fabio Manganiello 2024-02-27 00:09:19 +01:00
parent bbf755eef2
commit dfaa5447ac
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -25,13 +25,11 @@ class NfcPlugin(RunnablePlugin):
""" """
:param device: Address or ID of the device to be opened. Examples: :param device: Address or ID of the device to be opened. Examples:
* `'usb:003:009'` opens device 9 on bus 3 * ``usb:003:009`` opens device 9 on bus 3
* `'usb:003'` opens the first available device on bus 3 * ``usb:003`` opens the first available device on bus 3
* `'usb'` opens the first available USB device (default) * ``usb`` opens the first available USB device (default)
""" """
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
self.device_id = device self.device_id = device
self._clf = None self._clf = None