* MDF [conf] change dds_gateway's structure.
dds {
idl_type = topic1Type
domain_id = 0
-
- to.mqtt.topics = [
- {
- in = "MQTTCMD/topic1"
- out = "DDS/topic1"
- }
- ]
}
mqtt {
@@ -22,7 +15,7 @@ mqtt {
# # Value: String
# # Example: mqtt-tcp://127.0.0.1:1883
# # tls+mqtt-tcp://127.0.0.1:8883
- server = "mqtt-tcp://127.0.0.1:1883"
+ server = "mqtt-tcp://broker.emqx.io:1883"
# # Protocol version of the bridge.
# #
@@ -90,11 +83,17 @@ mqtt {
cacertfile = "/etc/certs/cacert.pem"
}
}
- to.dds.topics = [
- {
- in = "DDSCMD/topic1"
- out = "MQTT/topic1"
}
- ]
+
+forward_rules = {
+ dds_to_mqtt = {
+ from_dds = "MQTTCMD/topic1"
+ to_mqtt = "DDS/topic1"
}
+ mqtt_to_dds =
+ {
+ from_mqtt = "DDSCMD/topic1"
+ to_dds = "MQTT/topic1"
+ }
+}
\ No newline at end of file
