Skip to content

Setting DataWriter representation #58

@sanderkukk

Description

@sanderkukk

What is the correct format or is it possible to set the DataWriter representation?
In OpenDDS 3.16 the default was set to "DDS::XCDR2_DATA_REPRESENTATION"
Is it possible to set it to "DDS::XCDR_DATA_REPRESENTATION" through create_datawriter QoS?

I tried to set: { ...qualityOfService, representation: { value: "DDS::XCDR_DATA_REPRESENTATION" } }

and it seems it is an array :

{ ...qualityOfService, representation: { value: ["DDS::XCDR_DATA_REPRESENTATION", "DDS::XCDR2_DATA_REPRESENTATION"] } }

but this does not seem to set because in the debug logs I still get : dds_demarshal: Deserializing with encoding kind XCDR2.

Any pointers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions