Hi,
I am using DynamicData types and have recently run into the issue of messages being dropped in my subscriber. I have changed my datawriter and datareader to use STRICT RELIABLE for my QoS profile. Below is my code for both the datawriter and datareader, please let me know if there is something I am missing.
DDSDataReader *data_reader = participant->create_datareader_with_profile(topic, DDS_BUILTIN_QOS_LIB_EXP, DDS_PROFILE_GENERIC_STRICT_RELIABLE, serialized_listener, DDS_STATUS_MASK_NULL)
and
DDSDataWriter *data_writer = participant->create_datawriter_with_profile(topic, DDS_BUILTIN_QOS_LIB_EXP, DDS_PROFILE_GENERIC_STRICT_RELIABLE, NULL, DDS_STATUS_MASK_NULL)
Hello,
You can find out what all the different settings are for the builtin profiles by going to the resources directory and looking up the correct profile in the xml files that are there. Here are the settings for Strict Reliable builtin profile:
(As you can see, both of those parameters are being set).