mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
mqtt: added example configuration
This commit is contained in:
parent
2a1bdbc639
commit
cb8cc1e942
1 changed files with 23 additions and 0 deletions
|
@ -302,6 +302,29 @@ nodes = {
|
|||
"int32"
|
||||
]
|
||||
}
|
||||
},
|
||||
mqtt_node = {
|
||||
type = "mqtt",
|
||||
|
||||
format = "protobuf",
|
||||
|
||||
host = "localhost",
|
||||
port = 1883,
|
||||
|
||||
keepalive = 5, # Send ping every 5 seconds to keep connection alive
|
||||
retain = false,
|
||||
qos = 0,
|
||||
|
||||
publish = "test-topic",
|
||||
subscribe = "test-topic",
|
||||
|
||||
ssl = {
|
||||
enabled = false,
|
||||
insecure = true,
|
||||
cafile = "/etc/ssl/certs/ca-bundle.crt",
|
||||
certfile = "/etc/ssl/certs/my.crt",
|
||||
keyfile = "/etc/ssl/keys/my.key"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue