Hello,
I am a bit new to DDS. I am curently working with the request/reply pattern. I successfully managed to send requests and replies containing primitive types of data such as char, long, int, etc. What I am not trying to do is sending some string array with the request reply pattern and using Dynamic Data as the string array I'm trying to send must be custom made. Until now I managed to do something like this:
//Register the type support for creating string arrays
DDS_TypeCode* type = factory->create_struct_tc("MyType", structMembers, out_exc);
type->add_member("my_string_array", TYPECODE_MEMBER_ID_INVALID, factory->create_array_tc(128, factory->create_string_tc(128, out_ex), out_ex);
I've also used some of the example described in here: https://community.rti.com/forum-topic/setting-array-strings , in order to set the string array data on the requester, but somehot the data is not there. Can anyone help me?
Regards,
Andrei