My application can retrieve the dictionary from the Elektron Edge server without a problem but when it connects to an RDF-D server and issues the same request,
the Dictionary response on the
RDM_DC_MT_REFRESH message has the type field in the dictionary refresh message
set to 0. (DictionaryMsgEvent->pRDMDictionaryMsg->refresh->type)
The valid values in the ETA API
are shown here:
typedef enum {
RDM_DICTIONARY_FIELD_DEFINITIONS = 1
RDM_DICTIONARY_ENUM_TABLES = 2
RDM_DICTIONARY_RECORD_TEMPLATES = 3
RDM_DICTIONARY_DISPLAY_TEMPLATES = 4
RDM_DICTIONARY_DATA_DEFINITIONS = 5
RDM_DICTIONARY_STYLE_SHEET = 6
RDM_DICTIONARY_REFERENCE = 7
RDM_DICTIONARY_FIELD_SET_DEFINITION = 8
RDM_DICTIONARY_ELEMENT_SET_DEFINITION = 9
} RDMDictionaryTypes;
The enum does not contain a 0 value.
Fortunately I've been able to work around the problem by specifying the path to the static dictionary files RDMFieldDictionary and enumtype.def in calls to rsslLoadFieldDictionary and rsslLoadEnumTypeDictionary.
Is it possible to get the dictionaries from an RDF-D server or must they be loaded locally from files on the disk