Hello,
I have an application that is using DDS Dynamic Data API's to read a DDS Topic with a large payload. I get the following error when the payload is above about 32K bytes. Are there QoS properties I can adjust to support larger topic types?
DDS_DynamicData_copy:unable to grow buffer
PRESPsReaderQueue_readOrTakeNextSample:!copy
PRESPsReader_takeNextSample:!queue takeNextSample
Thanks.
Mark.
Hi Mark,
It looks like you will need to increase DynamicDataProperty_t::max_buffer_size. Here is example code:
DDS.DynamicDataProperty_t property = DDS.DynamicData.DYNAMIC_DATA_PROPERTY_DEFAULT; property.buffer_max_size = 0x3fffffff; _theInstance = new DDS.DynamicData(typeCode, property);
Regards,
Bobby
That worked. Thanks for your help.
Mark.