.. _everest_modules_PN7160TokenProvider: ################### PN7160TokenProvider ################### | PN7160 RFID/NFC token provider returning the token as soon as the tag can be read by the reader ************************* Handwritten Documentation ************************* .. include:: index.inc ************************ Auto-Generated Reference ************************ Provides ======== | **main**: :ref:`auth_token_provider ` | Implementation of PN7160 RFID/NFC token provider | **config:** | **transport**: *string* | *default: "file"* | Defines which interface to use to access the reader, that is usually either I2C or SPI. The third option 'file' - which is the default - is only to provide backwards compatibity - in this case, the/a static configuration file (usually /etc/everest/libnfc_config/libnfc-nxp.conf) is used and the following hardware related config options here are not used at all. | enum: | - file | - i2c | - spi | **device**: *string* | This is either the I2C bus user-space device, e.g. '/dev/i2c-1', or the SPI user-space device, e.g. '/dev/spidev0.0'. | **i2c_address**: *string* | *default: 40* | When using 'i2c' as transport, defines at which I2C address the reader can be found. Note that this configuration value must be given as hex string and so quoted correctly! | enum: | - 40 | - 41 | - 42 | - 43 | **pin_int**: *string* | *default: ""* | Defines which input GPIO is connected to the interrupt pin of the PN7160. This can be either an integer value when using the older number based sysfs interface, or a GPIO line name (defined for example via board's device tree) when libnfc-nci is compiled with enabled libgpiod support. Note: When using plain GPIO sysfs numbers, then this must be properly enclosed in quotes since this configuration option must be given as string. | **pin_enable**: *string* | *default: ""* | The output GPIO which is used as enable/reset pin. This can be either an integer value when using the older number based sysfs interface, or a GPIO line name (defined for example via board's device tree) when libnfc-nci is compiled with enabled libgpiod support. Note: When using plain GPIO sysfs numbers, then this must be properly enclosed in quotes since this configuration option must be given as string. | **pin_fwdnld**: *string* | *default: ""* | The output GPIO which is connected to the firmware download mode pin. This can be either an integer value when using the older number based sysfs interface, or a GPIO line name (defined for example via board's device tree) when libnfc-nci is compiled with enabled libgpiod support. Note: When using plain GPIO sysfs numbers, then this must be properly enclosed in quotes since this configuration option must be given as string. | **token_debounce_interval_ms**: *integer* | *default: 3000* | Minimal wait time in ms until next token will be published (debounce interval). | **disable_nfc_rfid**: *boolean* | *default: False* | Disable NFC RFID reader | **debug**: *boolean* | *default: False* | Show debug output on command line. ******** Metadata ******** Authors ======= | Cornelius Claussen | Kai-Uwe Hermann | Thilo Molitor | Anton Wöllert | Christoph Burandt License ======= | https://opensource.org/licenses/Apache-2.0