Problem in using sequence<octet> in o... PreviousNext
Data Distribution Service (DDS) Forum > DDS Technical Forum >
Message/Author
Next message jeetendra kumar  posted on Tuesday, July 24, 2012 - 03:33 pm
Hi All,
I need help in the following code that I tried to write for sequence<octet> in opensplice DDS.
//idl
typedef sequence<octet> seq_octet;
struct PP_seq_octet
{
seq_octet userData;
};
#pragma keylist PP_seq_octet block

The work is that, I need to pass the input data(char*) into userData(octet data) and send it over DDS.

When I am using the octet data, then i am not finding any data received on the subscriber side, but when I am using primitive data in IDL, then able to see the same data on subscriber side.

Please suggest the work around for send ing the data in sequence<octet> over DDS. Any snippet will be really helpful.

Any help will be really appreciated.

Thanks,
Jeet
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Post as "Anonymous"
Enable HTML code in message
Automatically activate URLs in message
Action: