Skip to content

Commit

Permalink
repair service found that CDR serial transmission data has a maximum …
Browse files Browse the repository at this point in the history
…of 65535 bytes
  • Loading branch information
huangjialu committed Aug 13, 2024
1 parent bfef427 commit 12e6358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/rtps/builtin/discovery/endpoint/EDPSimple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ bool EDPSimple::serialize_proxy_data(
#endif // if __BIG_ENDIAN__

data.writeToCDRMessage(&aux_msg, true);
change->serializedPayload.length = (uint16_t)aux_msg.length;
change->serializedPayload.length = aux_msg.length;

if (remove_same_instance)
{
Expand Down

0 comments on commit 12e6358

Please sign in to comment.