I am looking for example code for setting share memory transport only, no UDP.
I am using vxWorks 6.9, and I don't have the XML file to change the environment. How do I change it in the generated code?
Thanks
I am looking for example code for setting share memory transport only, no UDP.
I am using vxWorks 6.9, and I don't have the XML file to change the environment. How do I change it in the generated code?
Thanks
Hi,
The XML just configures QoS and you can do the same QoS configuration directly from compiled code.
In your case you just need to set the TransportBuiltinQosPolicy found in the transport_builtin member of the DomainParticipantQos.
You may also want to take a look at the HOWTO titled Control or Restrict the Network Interfaces (NICs) used for discovery and data distribution. The use-case is slightly different it describes how to configure transport properties first using first the XML configuration and then (in section 2) using the domain participant QoS directly from the code.
Gerardo