summaryrefslogtreecommitdiff
path: root/config.json
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-10-15 12:48:30 +0200
committerxengineering <mail2xengineering@protonmail.com>2020-10-15 12:48:30 +0200
commit3f739baab456c2cc977f11090381d1f61eb023c4 (patch)
treea35293cd7a0164601213bdfbd10774a1e998ebc1 /config.json
parent449b490f233371fe28e9089a05982cd5634285d2 (diff)
downloadiot-barcode-scanner-3f739baab456c2cc977f11090381d1f61eb023c4.tar
iot-barcode-scanner-3f739baab456c2cc977f11090381d1f61eb023c4.tar.zst
iot-barcode-scanner-3f739baab456c2cc977f11090381d1f61eb023c4.zip
Split Executable to reduce root-priviledged Code Execution
Diffstat (limited to 'config.json')
-rw-r--r--config.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.json b/config.json
index 3f046a3..223dbcf 100644
--- a/config.json
+++ b/config.json
@@ -2,6 +2,10 @@
"mqtt":{
"broker":"127.0.0.1",
"port":1883,
- "topic":"eu/xengineering/iot-barcode-scanner"
+ "topic":"xengineering.eu/iot-barcode-scanner"
+ },
+ "scanner":{
+ "evdev_path":"/dev/input/event4",
+ "fifo_path":"/tmp/xengineering.eu/iot-barcode-scanner/scanner_fifo"
}
}