11.1.22. PN532TokenProvider¶
PN532 RFID/NFC token provider returning the token as soon as the tag can be read by the reader
11.1.22.1. Provides¶
main:auth_token_provider
Implementation of PN532 RFID/NFC token provider
config:
serial_port:
description:
type:
default:
baud_rate:
description:
type:
timeout:
description:
type:
read_timeout:
description:
type:
debug:
description:
type:
config:
serial_port:string
default: /dev/ttyS0
Serial port the PN532 hardware is connected to
baud_rate:integer
default: 115200
Serial baud rate to use when communicating with PN532 hardware
timeout:number
default: 30
Time a new token is valid (in s)
read_timeout:integer
default: 5
Time between subsequent card reads (in s)
debug:boolean
default: False
Show debug output on command line.