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 @
e069cde3
...
...
@@ -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
win
s, but you c
an also
do the inverse (using setenv).
// Here the env var
precede
s, but you c
ould
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"
}
};
...
...
...
...