RTI Connext DDS Micro C++ API
Version 4.0.1
|
<<eXtension>> Specifies the wire protocol related attributes for the DDSDomainParticipant. More...
Classes | |
struct | DDS_RtpsWellKnownPorts_t |
RTPS well-known port mapping configuration. More... | |
struct | DDS_WireProtocolQosPolicy |
<<cert>> Specifies the wire-protocol-related attributes for the DDSDomainParticipant. More... |
Variables | |
struct DDS_RtpsWellKnownPorts_t | DDS_RTI_BACKWARDS_COMPATIBLE_RTPS_WELL_KNOWN_PORTS |
Assign to use well-known port mappings which are compatible with previous versions of the RTI Connext DDS Micro middleware. | |
struct DDS_RtpsWellKnownPorts_t | DDS_INTEROPERABLE_RTPS_WELL_KNOWN_PORTS |
Assign to use well-known port mappings which are compliant with OMG's DDS Interoperability Wire Protocol. |
<<eXtension>> Specifies the wire protocol related attributes for the DDSDomainParticipant.
struct DDS_RtpsWellKnownPorts_t DDS_RTI_BACKWARDS_COMPATIBLE_RTPS_WELL_KNOWN_PORTS |
Assign to use well-known port mappings which are compatible with previous versions of the RTI Connext DDS Micro middleware.
Assign DDS_WireProtocolQosPolicy::rtps_well_known_ports to this value to remain compatible with previous versions of the RTI Connext DDS Micro middleware that used fixed port mappings.
The following are the rtps_well_known_ports
values for DDS_RTI_BACKWARDS_COMPATIBLE_RTPS_WELL_KNOWN_PORTS:
port_base
= 7400
domain_id_gain
= 10
participant_id_gain
= 1000
builtin_multicast_port_offset
= 2
builtin_unicast_port_offset
= 0
user_multicast_port_offset
= 1
user_unicast_port_offset
= 3
These settings are not compliant with OMG's DDS Interoperability Wire Protocol. To comply with the specification, please use DDS_INTEROPERABLE_RTPS_WELL_KNOWN_PORTS.
struct DDS_RtpsWellKnownPorts_t DDS_INTEROPERABLE_RTPS_WELL_KNOWN_PORTS |
Assign to use well-known port mappings which are compliant with OMG's DDS Interoperability Wire Protocol.
Assign DDS_WireProtocolQosPolicy::rtps_well_known_ports to this value to use well-known port mappings which are compliant with OMG's DDS Interoperability Wire Protocol.
The following are the rtps_well_known_ports
values for DDS_INTEROPERABLE_RTPS_WELL_KNOWN_PORTS:
port_base
= 7400
domain_id_gain
= 250
participant_id_gain
= 2
builtin_multicast_port_offset
= 0
builtin_unicast_port_offset
= 10
user_multicast_port_offset
= 1
user_unicast_port_offset
= 11
Assuming a maximum port number of 65535 (UDPv4), the above settings enable the use of about 230 domains with up to 120 Participants per node per domain.
These settings are not backwards compatible with previous versions of the RTI Connext DDS Micro middleware that used fixed port mappings. For backwards compability, please use DDS_RTI_BACKWARDS_COMPATIBLE_RTPS_WELL_KNOWN_PORTS.