Octets in RTI DDS 7.0.0 for Python

2 posts / 0 new
Last post
Offline
Last seen: 1 year 9 months ago
Joined: 11/23/2021
Posts: 4
Octets in RTI DDS 7.0.0 for Python

Hi,

I'm trying to port my applications over to the new Python API that runs on RTI DDS 7.0.0.

I have other applications running RTI for Java and the messages are using Bytes but are translated to Octets.

The Octets I have replicated and the built-in one has different TypeObject. 

 

I have tried using the built-in Bytes message type but it seems to be incompatible with Octets.

I've also tried defining the Octets in the XML and using it but DynamicData doesn't work as expected.

I've tried to make my own Octets using the definition of Bytes but with a different name but the hash for the message type is different 

 

Is there a Octets library for Python that I could use?

Is there a way to configure sequence max length of the Octets message in Python code? My Java application uses a custom MaxSequenceLength.

 

Thanks in advance!

Organization:
Offline
Last seen: 1 month 4 weeks ago
Joined: 04/02/2013
Posts: 196

Hi,

 

Can you explain a bit more what is not working when you use the Bytes built-in type or your own IDL definition? If you can, please provide some code showing the problem.

 

Thanks,

Alex