Sending Binary Data

3 posts / 0 new
Last post
Offline
Last seen: 9 months 2 weeks ago
Joined: 01/22/2021
Posts: 8
Sending Binary Data

I'm helping a group switch to using Connext DDS for sending messages, but they aren't ready to switch over completely and use IDL types. Is there a best way to send binary data on a topic?

 

Unless I'm missing something, the only options seems to be Dynamic Data or creating an IDL type for them with an unbounded string. Is one of these better than the other? Are there any other options?

PK_RTI's picture
Offline
Last seen: 1 month 2 weeks ago
Joined: 07/01/2021
Posts: 19

This is actually a very common use case when legacy applications begin migrating to DDS. It's so common that we have a slide in our standard presentations that discusses this situation. See the attached PDF.

I'd recommend making an IDL type similar to the "Mixed Type" if they are amenable to it. Dynamic Data would seem to be a big step for a team reluctant to switch to IDL. If you'd like additional information, just let me know. I'm happy to share directly.

Thanks!

PK

File Attachments: 
Offline
Last seen: 9 months 2 weeks ago
Joined: 01/22/2021
Posts: 8

Exactly what I was looking for, thanks!