Changes
Page history
Updated article on Configuring DDS
authored
Jul 29, 2022
by
Marcus Schilling
Hide whitespace changes
Inline
Side-by-side
KnowledgeBase/CII.md
View page @
c568e284
...
...
@@ -1188,7 +1188,8 @@ Code (C++)
```
cpp
// Create DDS-MAL with custom mal properties
// With Fast DDS, the profile.library prop *must* be same as the env var!
// 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).
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"
}
};
...
...
...
...