-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.toml
46 lines (36 loc) · 975 Bytes
/
config.toml
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
name = "OIF Device"
client_id = "oif-device"
schema_path = "./oc2/schemas"
schema_file = "resolved-hunt-03-14-2024.json"
# schema_file = "th_ap_vbeta.json"
# schema_file = "slpf_ap_v2.0.json"
[HTTP]
is_enabled = true
host = "127.0.0.1"
port = 5000
log_Level="info"
[MQTT]
is_enabled = true
protocol = "MQTTv5"
# protocol = "MQTTv311"
transport = "tcp"
# transport = "websockets"
# broker = "localhost"
# broker="mosquitto.olympus.mtn"
broker = "test.mosquitto.org"
# port = 8883
port = 1883
username = ""
password = ""
# oc2/cmd/device/<ownDeviceID>
# oc2/cmd/ap/<topic for every profile the consumer supports>
# listen_topics = ["oc2/cmd/all","oc2/cmd/ap/hunt","oc2/cmd/ap/slpf", "oc2/cmd/device/th"]
listen_topics = ["oc2/cmd/ap/hunt"]
# listen_topics = ["oc2/cmd/test"]
resp_topics = ["oc2/rsp"]
[KESTREL]
is_enabled = false
is_sample_data = true
results_path = "./hunts/results/"
datasources = ["elastic", "file", "uri"]
huntbook_paths = ["./hunts/huntflow/"]