Updated article on Configuring DDS authored by Marcus Schilling's avatar Marcus Schilling
......@@ -1170,7 +1170,6 @@ XML file (see https://fast-dds.docs.eprosima.com/en/latest/fastdds/discovery/gen
<?xml version="1.0" encoding="UTF-8" ?>
<dds>
<profiles xmlns="http://www.eprosima.com/XMLSchemas/fastRTPS_Profiles">
<topic profile_name = "MyApp_Default"/>
<participant profile_name="MyApp_Default">
<rtps>
<builtin>
......@@ -1189,7 +1188,7 @@ Code (C++)
// Create DDS-MAL with custom mal properties
// With Fast DDS, profile.library prop and env var *must* have same value!
// Here the env var wins, but you can also do the inverse (using setenv).
// Here the env var precedes, but you could do the inverse (using setenv).
char* env_var = std::getenv("FASTRTPS_DEFAULT_PROFILES_FILE");
const ::elt::mal::Mal::Properties malprops { {"dds.qos.profile.library", env_var},
{"dds.qos.profile.name", "MyApp_Default"} };
......
......