Does Micro-DDS 2.4.14 support multi domains

2 posts / 0 new
Last post
Offline
Last seen: 3 months 5 days ago
Joined: 01/22/2024
Posts: 1
Does Micro-DDS 2.4.14 support multi domains

Hi,

We want to enable multi domains for different Qos, but when I call the function DDS_DomainParticipantFactory_create_participant couldn't return right value when I call it twice. 

Does anyone know if the MicroDDS 2.4.14 support multi domain? If yes, is there an example to demostrate the multi doamin, or how to create multi domains?

Thanks a lot!
Keywords:
Offline
Last seen: 8 months 2 weeks ago
Joined: 11/19/2015
Posts: 21

Hi,

DDS_ReturnCode_t DDS_DomainParticipantFactory_get_qos     (     DDS_DomainParticipantFactory *      self,
        struct DDS_DomainParticipantFactoryQos *      qos     )    ;

 

qos.resource_limits.max_participants = 2; //Default is 1. https://community.rti.com/static/documentation/connext-micro/2.4.14.1/doc/api_c/html/structDDS__SystemResourceLimitsQosPolicy.html#a64a65159d79b1007d02f7aa9e8655bee

 

DDS_ReturnCode_t DDS_DomainParticipantFactory_set_qos     (     DDS_DomainParticipantFactory *      self,
        const struct DDS_DomainParticipantFactoryQos *      qos   )    ;

 

should fix it.