Add support for multiple serial devices
This commit is contained in:
@ -24,7 +24,8 @@ barcode_server:
|
||||
# (optional) Serial push configuration
|
||||
serial:
|
||||
# URL to send events to using a request
|
||||
path: "/dev/ttyUSB0"
|
||||
pathA: "/dev/ttyUSB0"
|
||||
pathB: "/dev/ttyUSB1"
|
||||
|
||||
# (optional) file push configuration
|
||||
file:
|
||||
@ -62,7 +63,7 @@ barcode_server:
|
||||
|
||||
# A list of regex patterns to match USB device names against
|
||||
devices:
|
||||
- ".*Barcode.*"
|
||||
- ".*ode.*"
|
||||
# A list of absolute file paths to devices
|
||||
device_paths:
|
||||
#- "/dev/input/barcode_scanner"
|
||||
|
Reference in New Issue
Block a user