Fast-DDS
Fast-DDS copied to clipboard
I want a sequence string, but if the string exceeds 255, an error will be reported ([DYN_TYPES Error] Error setting string value. The given string is greater than the length limit. -> Function eprosima::fastrtps::types::DynamicData::set_string_value)
Is there an already existing issue for this?
- [X] I have searched the existing issues
Expected behavior
Sequence can contain strings of more than 255 characters
Current behavior
More than the error exceeds the maximum value
Steps to reproduce
。
Fast DDS version/commit
2.3
Platform/Architecture
Windows 10 Visual Studio 2019
Transport layer
UDPv4
Additional context
No response
XML configuration file
No response
Relevant log output
2022-05-25 17:09:11.590 [DYN_TYPES Error] Error setting string value. The given string is greater than the length limit. -> Function eprosima::fastrtps::types::DynamicData::set_string_value
2022-05-25 17:09:11.590 [DYN_TYPES Error] Error setting string value. The given string is greater than the length limit. -> Function eprosima::fastrtps::types::DynamicData::set_string_value
Network traffic capture
No response
@huqin-RM First of all, sorry for the late answer.
It would be nice if you can give a minimal reproducer, so we can take a look at whether this is a bug or a misuse of the library.
Could you provide that?
According to our CONTRIBUTING.md guidelines, I am closing this issue due to inactivity.