mirror of
https://github.com/brmlab/brmdoor_libnfc.git
synced 2025-06-07 16:14:01 +02:00
Added unlocker classes concept
This commit is contained in:
parent
739c1a1e19
commit
5b77dff18d
3 changed files with 60 additions and 3 deletions
|
@ -4,9 +4,20 @@
|
|||
# prevents too many messages
|
||||
# log_file - logs read UIDs and when was lock opened, use - for stderr
|
||||
# log_level - minimum log level - one of debug, info, warn, error, fatal, default info
|
||||
# unlocker - which unlocker class to use - Unlocker or UnlockerWiringPi
|
||||
# Unlocker is just dummy test class.
|
||||
[brmdoor]
|
||||
auth_db_filename = test_uids_db.sqlite
|
||||
#lock_opened_secs = 5
|
||||
#unknown_uid_timeout_secs = 5
|
||||
log_file = -
|
||||
#log_level = info
|
||||
unlocker = Unlocker
|
||||
|
||||
# Config section for dummy unlocker. It has no options.
|
||||
[Unlocker]
|
||||
|
||||
# Config for wiringPi-based unlocker
|
||||
# lock_pin - which pin needs to be pulled high to disengage the lock
|
||||
[UnlockerWiringPi]
|
||||
lock_pin = 18
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue