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