-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathrflink-config-schema.coffee
46 lines (46 loc) · 1.42 KB
/
rflink-config-schema.coffee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# #rflink configuration options
module.exports = {
title: "RFLink config"
type: "object"
properties:
driverOptions:
title: "serialport driver options"
type: "object"
properties:
serialDevice:
description: "The name of the serial device to use"
type: "string"
default: "/dev/ttyUSB0"
baudrate:
description: "The baudrate to use for serial communication"
type: "integer"
default: 57600
connectionTimeout:
description: "Time in ms to wait for ready package or data to be received"
type: "integer"
default: 10*1000 # 10 seconds
pingInterval:
description: "Ping is requested at this interval when no other data hase been received"
type: "integer"
default: 5*60*1000 # 5min
reconnectInterval:
description: "Time in ms between reconnect attempts, if undefined will increment gradually to maximum interval of 1 minute"
type: "integer"
required: false
debug:
description: "Log information for debugging, including received messages"
type: "boolean"
default: true
rfdebug:
description: "Log raw RF packets"
type: "boolean"
default: false
rfudebug:
description: "Log raw undecoded RF packets"
type: "boolean"
default: false
qrfdebug:
description: "Log raw undecoded RF packets"
type: "boolean"
default: false
}