-
Notifications
You must be signed in to change notification settings - Fork 0
/
mqtt.yml
43 lines (42 loc) · 930 Bytes
/
mqtt.yml
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
mqttd:
# Globally unique id
id: 1
# metadata: key value
static:
link_id: "2"
type: "drone"
lat: "22.6876423001"
lng: "114.2248673001"
alt: "10088.0001"
# MQTT client-ID Globally unique id
# '%s' Will be replaced with 'mqttd.id'
client: "node-%s"
# status mqtt topic
status: "nodes/%s/status"
# network mqtt topic
network: "nodes/%s/network"
# MQTT Broker address
# broker: "mqtt[s]://[username][:password]@host.domain[:port]"
broker: "mqtt://localhost:1883"
rpc:
qos: 0
lru: 128
i: "nodes/%s/rpc/recv"
o: "nodes/%s/rpc/send"
# 'gtran' is 'trans' global settings
gtran:
# '%s, %s' Will be replaced with 'mqttd.id, mqttd.trans[key]'
prefix: "nodes/%s/msg/%s"
trans:
wether:
retain: true
qos: 0
battery:
retain: true
qos: 0
sensor:
retain: true
qos: 1
notification:
retain: false
qos: 2