question

Upvote
Accepted
100 4 4 7

rsslDecodeFilterEntry returns RSSL_RET_INCOMPLETE_DATA (-26)

when parsing source directory response, rsslDecodeFilterEntry keeps returns -26 (RSSL_RET_INCOMPLETE_DATA) after two successful (return 0) iterations. any idea?

elektronelektron-sdkrrteta-apielektron-transport-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
100 4 4 7

Thanks Steven. I figured out that it's due to I exit a rsslDecode loop early without calling rsslFinishDecodeEntries. Problem is gone once rsslFinishDecodeEntries gets added.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
1.2k 23 28 42

I would recommend using the ValueAdd RDM library functions rsslDecodeRDMDirectoryMsg() and rsslDecodeRDMDictionaryMsg() to decode the source directory and field dictionaries as generally these are boiler plate operations that rarely occur during market hours and incur development of a lot of code that needs to be tested and maintained.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea