* MDF [dds] move `forward_rules` location on the config file.
# It receive messages from MQTT network in topic DDSCMD/topic1 and send them to DDS network with topic MQTT/topic1.
# It receive messages from DDS network in topic MQTTCMD/topic1 and send them to MQTT network with topic DDS/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"
+ }
+}
+
dds {
idl_type = topic1Type
domain_id = 0
@@ -84,16 +97,3 @@ mqtt {
}
}
}
-
-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
