question

Upvotes
Accepted
3 0 0 2

sdk function rsslDecodeFieldDictionary

When we call your sdk function rsslDecodeFieldDictionary(..., &m_dictionary,..., &errorText) with m_dictionary already filled from previous call we get error saying "Duplicate definition for fid 1." Could you please confirm that the rsslDecodeFieldDictionary can not handle the case when m_dictionary is not empty?

elektron-sdketa-apirsslelektron-data-dictionary
icon clock
10 |1500

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

1 Answer

· Write an Answer
Upvote
Accepted
32.2k 40 11 20

Hello @presciousjoy.tiaba ,

I am guessing you are integrating in ETA space, rather then TREP APIs. Let us know, please share the API details, if this is not the case.

If you are integrating with ETA/UPA, according to Transport API C RDM Usage Guide "rsslDecodeFieldDictionary - Adds data from a Field Dictionary message payload to the RsslDataDictionary (refer to Section 5.5.1). ". To me, this means, that the data is added to the dictionary, rather then replaced in it, and the dictionary has to be cleared and empty, prior to decoding the new dictionary data, you are correct.

Hope that this information is of help.

icon clock
10 |1500

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

Thank you!

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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