NTUT

10 posts / 0 new
Last post
Offline
Last seen: 4 years 3 months ago
Joined: 09/29/2019
Posts: 8
string too long

Hi, I have a problem on DDS.

I set string lenth in idl is 65536, but when I publish data, it said: string too long, truncated to 1024.

Here is my idl struct setting, 

struct datamsg {
string<8> ID;
string<128> file_name;
string<65536> data;
long timestamp;
};

please tell me how to fix it, thanks.

Karen

Organization:
Keywords:
Subscribe to RSS - NTUT