.. include:: ../vars.rst .. _rl_supported: Supported Platforms and Programming Languages ============================================= |me| supports the C and traditional C++ language bindings. Note that RTI only tests on a subset of the possible combinations of OSs and CPUs. Please refer to the following table for a list of specific platforms and the specific configurations that are tested by RTI. .. list-table:: :name: SupportedLinuxPlatforms :widths: 35 10 10 45 :header-rows: 1 * - OS - CPU - Compiler - RTI Architecture Abbreviation * - Red Hat® Enterprise Linux® 6.0, 6.1 (Kernel version 2.6) - x86 - gcc 4.4.5 - i86Linux2.6gcc4.4.5 * - Ubuntu® 18.04 (Kernel version 4) - x64 - gcc 7.3.0 - x64Linux4gcc7.3.0 * - Ubuntu 16.04 (Kernel version 3) - x86 - gcc 5.4.0 - i86Linux3gcc5.4.0 * - PPC Linux (Kernel version 2.6) - ppc7400 - gcc 3.3.3 - ppc7400Linux2.6gcc3.3.3 * - macOS® 10.16 - x64 - clang 8.0 - x64Darwin16clang8.0 * - QNX® 7.0 - armv8 - qcc 5.4.0 - armv8QNX7.0.0qcc_gpp5.4.0 * - QNX 6.6 - armv7a - qcc 4.7.3 - armv7aQNX6.6.0qcc_cpp4.7.3 * - QNX 6.6 - i86 - qcc 4.7.3 - i86QNX6.6qcc_cpp4.7.3 * - Windows® 7 - x86 - Visual Studio® 2010 - i86Win32VS2010 * - Windows® 7 - x64 - Visual Studio® 2015 - x64Win64VS2015 .. _rl_openssl: .. _rl_appgen: Compatibility ============= For backward compatibility information between 3.0.2 and previous releases, see the *Migration Guide* on the RTI Community Portal (https://community.rti.com/documentation). What's New in 3.0.2 =================== Micro Application Generation examples now use ignore_loopback_interface ....................................................................... .. MICRO-2074 Micro Application Generation (MAG) examples now use ``ignore_loopback_interface = 0`` to tell MAG that the loopback interface should be used. Using this setting is preferred over using a unicast address in ``multicast_receive_addresses``. Support for custom prefix properties when configuring the security plugin .......................................................................... .. MICRO-2128 |me| now supports custom prefixes for the RTI specific properties in the security plugin. This property is optional and properties can still be used without the prefixes. Updated OpenSSL version ....................... .. MICRO-2156 The |me| security plugin now requires OpenSSL version 1.1.1d or higher. Note that OpenSSL 1.1.x is NOT backward compatible with 1.0.x. Support for payload encryption between local endpoints ...................................................... .. MICRO-2161 |me| now supports payload encryption for endpoints between endpoints in the same DomainParticipant. Note that payload encryption is not performed for communication over the INTRA transport. Performance optimization on serialization/deserialization for sequences with complex elements ............................................................................................. .. MICRO-2188 This release improves the serialization/deserialization performance for sequences containing complex elements when the element type has the following properties: * It is marked as ``@final``. * It only contains primitive members, or complex members with only primitive members. For example: :: @final struct Point { long x; long y; }; @final struct MyType { sequence points; }; The optimization is applied to the code generation only when the optimization level (``-optimization``) is set to 2 (default value). The optimization always applies to DynamicData. Protocol improvements for fragmented samples ............................................ .. MICRO-2209 This release includes minor improvements to the reliability protocol to prevent excessive retransmission of fragments when the subscriber's network stack is unable to buffer at least one sample. What's Fixed in 3.0.2 ===================== Sample filtering methods are always added to the subscriber code for C ...................................................................... The generated subscriber example code always included code to filter samples-based fields in the IDL type. However, if the generated IDL file was modified to exclude these fields, the code would fail to compile. The generated code now includes instructions for how to filter instead. [RTI Issue ID MICRO-1980] Incorrect text in error message when specifying security properties programmatically .................................................................................... When specifying security plugin properties via code, one must prefix the property with ``data:,``. However, the error message stated to prefix with ``data:`` instead of ``data:,``. This issue has been fixed. [RTI Issue ID MICRO-2127] Invalid serialization of samples with types containing primitive members that require padding ............................................................................................. The serialization of samples with a type containing a nested complex type with primitive members that require padding may have failed. This means that a DataReader may have received an invalid value for a sample. :: @nested struct Struct_3 { float m1; long long m2; short m3; }; @nested struct Struct_2 { Struct_3 m1; }; struct Struct_1 { Struct_2 m1; }; In the above example, Struct_3 is nested, and there is padding between m1 (4-byte aligned) and m2 (8-byte aligned) of 4 bytes. This problem affected DynamicData and the generated code for the following languages: C and C++. For generated code, a potential workaround to this problem was to generate code with a value of 1 for the -optimization, but this may have had performance implications. This problem has been resolved. [RTI Issue ID MICRO-2133] Compiler warning in FreeRTOS port ................................. When compiling the FreeRTOS port, the following warning may have been given by the compiler:: passing argument 1 of 'xTaskCreate' from incompatible pointer type freertosThread.c This issue has been fixed. [RTI Issue ID MICRO-2153] HelloWorld_dpde_waitset C++ example uses wrong loop variable for printing data .............................................................................. When multiple samples are loaned by calling ``take()``, the HelloWorld_dpde_waitset C++ example uses the wrong loop variable, ``i``, with ``data_seq``, instead of the correct index ``j``. This issue has been fixed. [RTI Issue ID MICRO-2158] Warning DDSC_LOG_DESERIALIZE_UNKNOWN_PID_EC is logged when security is disabled ............................................................................... The following INFO message was always logged when security was not compiled: :: [1572432716.821711998]INFO: ModuleID=7 Errcode=1209 X=1 E=0 T=1 dds_c/ParticipantBuiltinTopicDataPlugin.c:443/DPDE_ParticipantBuiltinTopicData_deserialize_pv: pid=89 length=176 This issue has been fixed. [RTI Issue ID MICRO-2162] High memory usage with security enabled ....................................... Enabling security may have caused very high application memory usage. This release reduces the amount of memory allocated. [RTI Issue ID MICRO-2164] FlatData: possible compilation error building data for a type with a sequence with Traditional C++ .................................................................................................. Applications using the member function ``FinalSequenceBuilder::add_n(count)`` failed to compile when the FlatData™ language binding was used with the Traditional C++ API. The member function ``add_next()`` could be used instead, but ``add_n`` may achieve better performance. This problem affected types containing sequences of final structs. This problem has been resolved. [RTI Issue ID MICRO-2187] FlatData: Conversion warning on some platforms ............................................... Applications using FlatData types may have seen a warning such as the following: :: warning: conversion to ‘unsigned int’ from ‘long unsigned int’ may alter its value [-Wconversion] enum { value = primitive_lc_code_helper::single }; This issue has been fixed. [RTI Issue ID MICRO-2189] FlatData: Bad performance of PrimitiveSequenceBuilder:add_n ........................................................... The function ``PrimitiveSequenceBuilder:add_n(int count)``, which adds a number of elements to a primitive sequence in a FlatData sample, initialized the new elements to zero. This initialization added unnecessary latency to the sample-building process. This problem has been resolved by avoiding the initialization in that function, and by adding a separate overload (``PrimitiveSequenceBuilder:add_n(int count, T value)``) that initializes the elements. [RTI Issue ID MICRO-2190] Large timeout values, e.g liveliness and deadline, may cause segmentation fault ............................................................................... Large timeout values, larger than 2000s, may have caused a segmentation fault during creation of DDS entities. This issue has been fixed. [RTI Issue ID MICRO-2192] Generated public APs to serialize/deserialize samples do not work within an IDL module when the -namespace option is used with rtiddsgen ........................................................................................................................................ The code generated with the -namespace option to rtiddsgen would fail to compile if the IDL file contained more than one IDL module. This issue has been fixed. [RTI Issue ID MICRO-2194] Configuring the DPDE Discovery Plugin with max_samples_per_remote_builtin_writer > 1 may result in discovery samples not being processed ........................................................................................................................................ If the Dynamic Participant Dynamic Endpoint (DPDE) discovery plugin was configured with a max_samples_per_remote_builtin_writer > 1, discovery samples may have been received but not processed. This would typically happen when more than 1 discovery sample was being processed at a time. This issue has been resolved. [RTI Issue ID MICRO-2195] Read/take APIs returned more than depth samples if an instance returned to alive without application reading NOT_ALIVE sample .............................................................................................................................. If an instance transitioned from NOT_ALIVE_NO_WRITERS or NOT_ALIVE_DISPOSED to ALIVE and the application did not read/take the sample indicating NOT_ALIVE_NO_WRITERS or NOT_ALIVE_DISPOSED, the number of samples returned would exceed the depth set by the History QoS policy. This issue has been fixed. [RTI Issue ID MICRO-2196] An application may have terminated with a segmentation fault if OSAPI_Semaphore_give() was called from one thread while another called OSAPI_Semaphore_delete() ............................................................................................................................................................... An application may have terminated with a segmentation fault if `OSAPI_Semaphore_give()` was called from one thread while another called `OSAPI_Semaphore_delete()` on Unix-like systems. This issue has been resolved. [RTI Issue ID MICRO-2209] PUBLICATION_MATCHED_STATUS and SUBSCRIPTION_MATCHED_STATUS may never trigger a WaitSet if the status is enabled after the DomainParticipant is enabled ...................................................................................................................................................... A StatusCondition with a PUBLICATION_MATCHED_STATUS or SUBSCRIPTION_MATCHED_STATUS enabled may have never triggered a WaitSet if the status was enabled after the DomainParticipant was enabled. This issue has been resolved. [RTI Issue ID MICRO-2219] Previous Releases ================= What's New in 3.0.1 ................... Support for FreeRTOS and ThreadX -------------------------------- .. MICRO-2038 This release includes support for the FreeRTOS™ and ThreadX® operating systems. New QoS parameter to adjust preemptive ACKNACK period ----------------------------------------------------- .. MICRO-1675 A new QoS parameter has been introduced to expose the preemptive ACKNACK period on DataReaders. The new parameter is configured with: - ``DDS_DataReaderQos.protocol.rtps_reliable_reader.nack_period`` for user DataReaders - ``builtin_endpoint_reader_nack_period`` for the builtin discovery endpoints in the Dynamic discovery plugin. Please see the reference API for details. Deserialization of Presentation QoS policy ------------------------------------------ .. MICRO-1815 This release provides better support for the Presentation QoS policy. Previously this QoS policy was not supported by the DataWriter; the default value was assumed for a discovered DataReader, which caused an "Unknown QoS" warning when the it was received. In this release, DataWriters will deserialize the Presentation QoS policy and check for compatibility. Dynamic memory allocations removed from Dynamic Discovery Plugin ---------------------------------------------------------------- .. MICRO-1911 The dynamic discovery plugin in |me| allocated memory dynamically after the DomainParticipant was enabled to store discovered type and topic names. This release includes improvements which make it possible to avoid all memory allocations. Dynamic memory allocations are avoided by creating the DomainParticipant in a disabled state and creating all local endpoints before the DomainParticipant is enabled. A DomainParticipant is created in a disabled state by setting ``DomainParticipantFactoryQos.entity_factory.autoenable_created_entities = DDS_BOOLEAN_TRUE`` before calling ``create_participant()``. When all entities have been created, call ``enable()`` on the DomainParticipantFactory to enable all entities. New APIs to serialize and deserialize samples --------------------------------------------- .. MICRO-2027 Two new APIs are available to applications to serialize and deserialize samples, for example for record and replay type applications. Please see the C and C++ API reference manuals under "DDS API->Topic->User Data Type Support" for a details. New QoS parameter to set max outstanding samples allowed for remote DataWriter ------------------------------------------------------------------------------ .. MICRO-2103 A new QoS parameter has been exposed for the endpoint discovery endpoints in the dynamic endpoint discovery plugin (DPDE). You can set the new field, ``max_samples_per_remote_builtin_endpoint_writer`` in DPDE_DiscoveryPluginProperty, to increase the number of samples a remote writer may have per builtin endpoint reader and thus decrease network traffic. Please refer to the DPDE reference manual for a description of this new parameter. DomainParticipants no longer allocate dynamic memory during deletion -------------------------------------------------------------------- .. MICRO-2117 DomainParticipants will no longer allocate dynamic memory during deletion. What's Fixed in 3.0.1 ..................... DomainParticipant creation failed if active interface had invalid IP -------------------------------------------------------------------- An active interface without a valid IP address assigned may have caused DomainParticipant creation to fail. This problem has been resolved. Now if an interface with an invalid IP address is used, it will be ignored and the DomainParticipant will still be created. [RTI Issue ID MICRO-1602] Incorrect C++ example publisher generated for certain annotations ----------------------------------------------------------------- Generating a C++ example for a type annotated with ``@transfer_mode(SHMEM_REF)`` and ``@language_binding(FLAT_DATA)`` caused the publisher to run out of available loanable samples to publish. This problem has been resolved. [RTI Issue ID MICRO-1998] Liveliness lease duration matching did not follow OMG specification ------------------------------------------------------------------- |me| allowed a Writer to match with a remote Reader if the requested Liveliness lease duration was INFINITE, ignoring the Liveliness kind. This behavior did not follow the OMG specification. Now matching will only occur if both these conditions are true: - Requested Liveliness lease duration is >= the Offered lease duration. - Requested Liveliness kind is <= the Offered Liveliness kind, where AUTOMATIC_LIVELINESS_KIND < MANUAL_BY_PARTICIPANT_LIVELINESS_KIND < MANUAL_BY_TOPIC_LIVELINESS_KIND. [RTI Issue ID MICRO-2007] rtime-make did not work when started from different shell than Bash ------------------------------------------------------------------- ``rtime-make`` requires Bash on UNIX systems. However it did not explicitly launch Bash and would fail if started from a Bash-incompatible shell. The script now always launches /bin/bash as the shell. [RTI Issue ID MICRO-2013] UDP interface warning using valid interfaces -------------------------------------------- |me| logged a warning if no new interfaces were added for each address listed in the ``enabled_transports``. This applied to the ``enabled_transports`` field in the DiscoveryQosPolicy and UserTrafficQosPolicy in the DomainParticipantQos, and the DDS_TransportQosPolicy in the DataReaderQos and DataWriterQos. This problem has been resolved. Now |me| will only log a warning if no new interfaces are added per enabled transport. [RTI Issue ID MICRO-2018] Payload encryption did not work when using extensible types ----------------------------------------------------------- Due to a miscalculation of resources, payload encryption failed when using extensible types. This problem has been resolved. [RTI Issue ID MICRO-2020] Duplicate DATA messages sent to multicast in some cases ------------------------------------------------------- Duplicate DATA messages were sent to multicast when multiple DataReaders were configured with multicast and unicast receive addresses. This problem has been resolved. [RTI Issue ID MICRO-2043] Could not build source with OSAPI_ENABLE_LOG=0 ---------------------------------------------- The |me| source was compiled with the `-DOSAPI_ENABLE_LOG=0`. This problem has been resolved. [RTI Issue IDs MICRO-2049, MICRO-2048] Compilation error when inter-participant channel disabled --------------------------------------------------------- When disabling the inter-participant channel at compile time, the compiler reported an error. This problem has been resolved. [RTI Issue ID MICRO-2051] Seq_copy on a loaned or discontiguous sequence caused incorrect behavior ------------------------------------------------------------------------ Calling Fooseq_copy() on a loaned or discontiguous sequence did not work correctly. This problem has been resolved. [RTI Issue ID MICRO-2053] Compiler warning with const IDL strings or strings -------------------------------------------------- When declaring a const string or string in IDL, the compiler may have reported a warning. This problem has been resolved. [RTI Issue ID MICRO-2054] Warnings in header file due to conversion between RTI_BOOL C type and bool C++ type ----------------------------------------------------------------------------------- When compiling the security source, the compiler may have reported a warning: "Warnings in header file due to conversion between RTI_BOOL C type and bool C++ type. " This problem has been resolved. [RTI Issue ID MICRO-2056] DDS_Subscriber_create_datareader() affected by local_writer_allocation limit ---------------------------------------------------------------------------- The maximum number of DataReaders that could be created was determined by the ``DomainParticipant.resource_limits.local_writer_alloation`` resource limit. This problem has been resolved. [RTI Issue ID MICRO-2065] Restarting remote participant when using DPSE caused DDSC_LOG_PARTICIPANT_LOOKUP error -------------------------------------------------------------------------------------- When a remote participant was restarted twice or more when using the static discovery plugin (DPSE), the error message DDSC_LOG_PARTICIPANT_LOOKUP was logged. This problem has been resolved. [RTI Issue ID MICRO-2088] 'Failure to give mutex' error ----------------------------- In |me| 3.0.0, a subtle race condition may have occurred on multi-core machines. When this happened, an error message about failing to give a mutex would be printed: error code (EC) 44 in module 1 (OSAPI). This problem has been resolved. [RTI Issue ID MICRO-2095] DDS_LOG_DR_DESERIALIZE_KEYHASH error ------------------------------------ A DDS_LOG_DR_DESERIALIZE_KEYHASH error may have been logged, in particular on Linux systems. This issue has been partially fixed in this release. However, this error may still be logged if the first sample received for an instance is the dispose sample and the dispose sample does not contain the key fields. This is always the case with |me| and may be the case with |core_pro|, if sending the key fields has been disabled. The error is benign and does not cause any communication failure. [RTI Issue ID MICRO-2097] Entity ID generation was not thread-safe ---------------------------------------- Entity ID generation for DataReaders and DataWriters was not thread-safe and may have lead to duplicate entity IDs. This problem has been resolved. [RTI Issue ID MICRO-2104] Fully dropped fragmented sample caused communication to stop with KEEP_ALL on DataWriter ---------------------------------------------------------------------------------------- The combination of a HistoryQosPolicy kind of KEEP_ALL and having fragmented samples may have caused communication to stop between a writer and reader if all fragments for a sample were lost. This problem has been resolved. [RTI Issue ID MICRO-2114] DDS_WaitSet_wait() returned DDS_RETCODE_ERROR if unblocked with no active conditions ------------------------------------------------------------------------------------ An application that used a combination of polling a DataReader and blocking on a DDS_WaitSet may have caused DDS_WaitSet_wait() to return DDS_RETCODE_ERROR. This happened if the DDS_WaitSet was unblocked by an attached condition, but there were no active conditions. This problem has been resolved. [RTI Issue ID MICRO-2115] ALREADY_EXISTS error printed in high-load scenarios --------------------------------------------------- The error code (EC) 23, module 2 (DB) may have been printed if a system was under heavy load and participant lease durations expired. This problem has been resolved. [RTI Issue ID MICRO-2116] Publication handle not set in SampleInfo structure when on_before_sample_commit() called ---------------------------------------------------------------------------------------- The publication_handle member of the DDS_SampleInfo structure passed to a DataReader’s on_before_sample_commit() function was not set. This problem has been resolved. [RTI Issue ID MICRO-2121] Using serialize_data_to_cdr_buffer() with statically allocated buffer gave wrong results ---------------------------------------------------------------------------------------- Using ``serialize_data_to_cdr_buffer`` with a statically allocated buffer may have caused incorrect results if a re-alignment of the buffer size was required. ``Foo_serialize_data_to_cdr_buffer()`` did not support a buffer that was not aligned to 4. This issue has been resolved. Note that it is still a requirement that the buffer is aligned to at least 4. [RTI Issue ID MICRO-2130] Instance resources exhausted even with DDS_REPLACE_OLDEST_INSTANCE_REPLACEMENT_QOS ---------------------------------------------------------------------------------- Instance resources may have been exhausted on the DataReader even when DDS_REPLACE_OLDEST_INSTANCE_REPLACEMENT_QOS was specified as the instance-replacement policy and the DataReader was configured to support both XCDRv1 and XCDRv2. This problem has been resolved. [RTI Issue ID MICRO-2140] UDP Transformation feature did not work in version 3.0.0 -------------------------------------------------------- The UDP Transformation feature was not updated from |me| 2 to work with |me| 3. This problem has been resolved. Please refer to the HelloWorld_transformations example, as |me| 3 uses a different packet structure than |me| 2. [RTI Issue ID MICRO-2144] Flow-controller with insufficient bandwidth may have caused communication failure --------------------------------------------------------------------------------- A flow-controller configured with less bandwidth than required based on the publication rate may have caused a communication failure when a data writer was configured with KEEP_LAST. This problem has been resolved. [RTI Issue ID MICRO-2155] What's New in 3.0.0.1 ..................... New APIs to Serialize and Deserialize Samples --------------------------------------------- Two new APIs are available to applications to serialize and deserialize samples, for example for record and replay type applications. Please refer to the C and C++ API reference manuals under "DDS API->Topic->User Data Type Support" for a details. Dynamic Memory allocations removed from the Dynamic Discovery Plugin -------------------------------------------------------------------- In previous versions of |me| the dynamic discovery plugin (DPDE) allocates memory after the DomainParticipant is enabled to store discovered Topic and Type names. This release includes improvements which make it possible to avoid all memory allocations after the DomainParticipant is enabled. When a DomainParticipant discovers a Topic that exists locally no memory is allocated. However, if a Topic is discovered that does not exist locally memory is allocated to store the Topic and Type names. In order to avoid all dynamic memory allocations during discovery the following rules must be followed: - Create the DomainParticipant disabled by setting `DomainParticipantFactoryQos.entity_factory.autoenable_created_entities = DDS_BOOLEAN_FALSE` before calling `create_participant()`. - Create all local DataReaders and DataWriters for all Topics that will be discovered. - If it is possible to discover DomainParticipants that will not match with local DataReaders and DataWriters, set `DomainParticipantFactoryQos.discovery.accept_unknown_peers = DDS_BOOLEAN_FALSE` and list all DomainParticipants that should be discovered in `DomainParticipantFactoryQos.discovery.initial_peers`. - Call `enable()` on the DomainParticipant to enable all entities. A known limitation is that it is not possible ignore specific Topics. What's Fixed in 3.0.0.1 ....................... Cannot build source with OSAPI_ENABLE_LOG=0 ------------------------------------------- The |me| source did not compile when logging was disabled with the preprocessor definition `-DOSAPI_ENABLE_LOG=0`. This has been fixed. [RTI Issue ID MICRO-2049], [RTI Issue ID MICRO-2048] DDS_Subscriber_create_datareader() was affected by the local_writer_allocation limit ------------------------------------------------------------------------------------ The maximum number of DataReaders that could be created was determined by the `DomainParticipant.resource_limits.local_writer_alloation` resource limit. This issue has been fixed. [RTI Issue ID MICRO-2065] What's New in 3.0.0 ................... Support for XCDR encoding version 2 ----------------------------------- This release adds support for the standard XCDR encoding version 2 data representation described in the "Extensible and Dynamic Topic Types for DDS" specification. This encoding version is more efficient in terms of bandwidth than XCDR encoding version 1, which is supported in previous |core| releases (and still supported in this release). To select between XCDR and XCDR2 data representations, you can use the DataRepresentationQosPolicy for DataReaders and DataWriters. |me| now supports this policy. You may specify XCDR, XCDR2, or AUTO to indicate which versions of the Extended Common Data Representation (CDR) are offered and requested. The default is AUTO. A DataWriter offers a single representation, which indicates the CDR version the DataWriter uses to serialize its data. A DataReader requests one or more representations, which indicate the CDR versions the DataReader accepts. If a DataWriter's offered representation is contained within a reader’s sequence of requested representations, then the offer satisfies the request, and the policies are compatible. Otherwise, they are incompatible. In support of this feature, a new QoS, DATA_REPRESENTATION, has been added for the DataWriter and DataReader. There is also a new annotation, @allowed_data_representation, that can be used to select the supported data representations for a type. For more information, see: - the "Extensible and Dynamic Topic Types for DDS" specification from the Object Management Group (OMG): https://www.omg.org/spec/DDS-XTypes/. - |rti_core_um_datarepqos_verbose|, in the |rti_core_um| (available |rti_core_um_datarepqos|_ if you have Internet access). - |rti_core_xtypes_gsg_datarep_verbose|, in the |rti_core_xtypes_gsg| (available |rti_core_xtypes_gsg_datarep|_ if you have Internet access). Large data streaming using RTI FlatData™ language binding and Zero Copy transfer over shared memory --------------------------------------------------------------------------------------------------- To meet strict latency requirements, you can reduce the default number of copies made by the middleware when publishing and receiving large samples (on the order of MBs) by using two new features: FlatData language binding and Zero Copy transfer over shared memory. These features can be used standalone or in combination. By using the FlatData language binding, you can reduce the number of copies from the default of four copies to two copies, for both UDP and shared memory communications. FlatData is a language binding in which the in-memory representation of a sample matches the wire representation, reducing the cost of serialization/deserialization to zero. You can directly access the serialized data without deserializing it first. To select FlatData as the language binding of a type, annotate it with the new @language_binding(FLAT_DATA) annotation. Zero Copy transfer over shared memory allows you to reduce the number of copies to zero for communications within the same host. This feature accomplishes zero copies by using the shared memory builtin transport to send references to samples within a shared memory segment owned by the DataWriter, instead of using the shared memory builtin transport to send the serialized sample content by making a copy. With Zero Copy transfer over shared memory, there is no need for the DataWriter to serialize a sample, and there is no need for the DataReader to deserialize an incoming sample since the sample is accessed directly on the shared memory segment created by the DataWriter. The new TransferModeQosPolicy specifies the properties of a Zero Copy DataWriter. For more information on setting up and using one or both of these features, see |rti_core_um_sendlargedata_verbose|, in the |rti_core_um| (available |rti_core_um_sendlargedata|_ if you have Internet access). Support for RTI Security Plugins -------------------------------- *RTI Security Plugins* introduce a robust set of security capabilities, including authentication, encryption, access control and logging. Secure multicast support enables efficient and scalable distribution of data to many subscribers. Performance is also optimized by fine-grained control over the level of security applied to each data flow, such as whether encryption or just data integrity is required. *Security Plugins* are available in a separate package from the RTI Support Portal, https://support.rti.com/. See the |rti_security_plugins_rnotes_verbose| and |rti_security_plugins_gsg_verbose| (available |rti_security_plugins_rnotes|_ and |rti_security_plugins_gsg|_ if you have Internet access). Large Data Types ---------------- This release adds support for user-defined data types that exceed the maximum message size supported by the underlying transports, such as 64K in the case of UDP. Its use is fully transparent: samples are automatically fragmented by the DataWriter and reassembled by the DataReader. Once re-assembled, the samples are treated as regular samples and subject to all applicable QoS policies. Asynchronous DataWriters ------------------------ This release adds support for publishing data asynchronously. An asynchronous DataWriter offloads the user thread and makes it possible to coalesce samples across multiple write() calls into a single network packet. Samples written by an asynchronous DataWriter are not sent in the context of the user thread as part of the write() call. Instead, samples are queued and sent in the context of a separate, dedicated thread. An optional flow control mechanism is provided to throttle the rate at which samples are coalesced and sent by the dedicated thread. To implement this feature, there are two new QosPolicies, ASYNCHRONOUS_PUBLISHER and PUBLISH_MODE. The ASYNCHRONOUS_PUBLISHER QosPolicy enables/disables asynchronous publishing for the Publisher. If enabled, the Publisher will spawn a separate asynchronous publishing thread, which will be shared by all of the Publisher’s DataWriters that have their new PUBLISH_MODE QosPolicy set to ASYNCHRONOUS. When data is written asynchronously, a new ‘FlowController’ object can be used to shape the network traffic. The FlowController’s properties determine when the asynchronous publishing thread is allowed to send data and how much. Support for KEEP_ALL History ---------------------------- This release supports setting the History QoS policy **kind** to KEEP_ALL. Support for AUTOMATIC and MANUAL_BY_PARTICIPANT Liveliness ---------------------------------------------------------- Now you can set the Liveliness QoS policy **kind** to AUTOMATIC or MANUAL_BY_PARTICIPANT. - AUTOMATIC: |me| will automatically assert liveliness for the DataWriter at least as often as the lease_duration. - MANUAL_BY_PARTICIPANT: The DataWriter is assumed to be alive if any Entity within the same DomainParticipant has asserted its liveliness. Micro Application Generation ---------------------------- This release includes Micro Application Generation, which enables you to create a |me| application, including registration of factories and creation of DDS entities, from an XML configuration file. Please see |rti_micro_um_mag|_ in this documentation, as well as |rti_core_xml_app_gsg_mag_verbose|, in the |rti_xml_app_gsg| (available |rti_core_xml_app_gsg_mag|_ if you have Internet access). Micro Application Generation is enabled by default in this release when compiling with rtime-make. However, future releases may disable the feature by default. Thus, it is advised to always compile with the Micro Application Generation feature enabled (-DRTIME_DDS_ENABLE_APPGEN=1 to cmake). Ability to use only one UDP port per DomainParticipant ------------------------------------------------------ .. MICRO-1901 This release provides a way to use just one UDP port per DomainParticipant. The advantage of this is that by only using one UDP port, |me| will only create a receive thread, so fewer resources are used, mainly stack memory. The disadvantage is that the port mappings used are not compliant with the OMG's DDS Interoperability Wire Protocol and communication with other DDS implementations might not be possible. You can only use this feature if multicast OR unicast is used for both discovery and user traffic. If both unicast AND multicast are configured, you cannot use this feature. To enable this feature, assign the same value to both the builtin and user port offsets in RtpsWellKnownPorts_t. New C++ DPSE example -------------------- .. MICRO-1934 This release includes a new C++ example that uses DPSE (dynamic participant - static endpoint) discovery. What's Fixed in 3.0.0 ..................... Linker error when using shared libraries on VxWorks systems ----------------------------------------------------------- There was a linker error when compiling examples for architecture ppc604Vx6.9gcc4.3.3 using shared libraries. The compiler reported that the libraries could not be found. This issue has been fixed. [RTI Issue ID MICRO-1841] Failure to link VxWorks RTP mode using shared libraries compiled with CMake --------------------------------------------------------------------------- Wrong compiler options were used when compiling for VxWorks RTP mode using CMake. This problem caused a linker error when trying to link an application using shared libraries. This issue has been fixed. [RTI Issue ID MICRO-1909] CPU endianness detection method improved ---------------------------------------- The CPU endianness detection method has been improved. Now the CMake endian test is used. If CMake is not used to compile, the compiler preprocessor macros are used to infer CPU endianness. [RTI Issue ID MICRO-1919] Examples used untyped register_type APIs instead of typed APIs -------------------------------------------------------------- The provided examples have been updated to use FooTypeSupport_register_type() instead of DDS_DomainParticipant_register_type(). Using the typed API to register types is preferred over using the untyped API. [RTI Issue ID MICRO-1922] Wait_set generic error when returned condition sequence exceeded capacity ------------------------------------------------------------------------- If the number of returned conditions exceeded the maximum size of the returned condition sequence, a generic error, DDS_RETCODE_ERROR, was returned instead of the expected error, DDS_RETCODE_OUT_OF_RESOURCES. This problem has been resolved. [RTI Issue ID MICRO-1933] WaitSet waited less than specified time period ---------------------------------------------- A WaitSet may have waited less than the specified time period. This problem has been resolved. [RTI Issue ID MICRO-1950] Samples with deserialization errors were accepted ------------------------------------------------- In previous versions, samples that could not be deserialized was rejected, causing samples to be resent when reliability was enabled. This behavior has been changed; now samples with deserialization errors are accepted and discarded. [RTI Issue ID MICRO-1954] Potential wrong API used when using host name as peer ----------------------------------------------------- The getaddrinfo() API was incorrectly used when a host name was used as a peer. That error might have caused a run-time error. This problem occurred only if compilation was done for Windows or if FACE compliance was enabled. This issue has been fixed. [RTI Issue ID MICRO-1957] Known Issues ============ Flow Controllers require RTOS ............................. Flow controllers require an RTOS. Using OpenSSL 1.0.x and using OpenSSL APIs outside of the |rti_me_h| libraries may lead to a crash .................................................................................................. In 3.0.0, the destruction of all the DomainParticipants loading the Security Plugin results in the plugin calling OpenSSL's EVP_cleanup and ERR_free_strings APIs to clean up OpenSSL state. As a result, if an application running Connext DDS invoked OpenSSL APIs after this cleanup has taken place without re-initializing OpenSSL, the application may have run into unexpected OpenSSL behavior. OpenSSL 1.1.x has deprecated both EVP_cleanup and ERR_free_strings. For |rti_me| 3.0.2 and later, it is recommended to use OpenSSL 1.1.1d or higher, to avoid this problem. LatencyBudget is not part of the DataReaderQos or DataWriterQos policy ....................................................................... The LatencyBudgetQos policy is not supported and does not appear as part of the DataReader and DataWriter Qos policy documentation. The default value is 0. When creating earliest deadline first (EDF) flow-controllers, the effective scheduling is round-robin. Porting Guide does not include information about shared memory support ...................................................................... The |rti_me| porting guide does not include information about porting the shared memory support. If the target does not support the POSIX shared memory API, it is necessary to compile |rti_me| with `-DOSAPI_ENABLE_SHMEM=0`.