Choose the dictionary ID to compress a packet with, based on its CoT type.
Aircraft types use DICT_ID_AIRCRAFT; everything else uses DICT_ID_NON_AIRCRAFT. When the type is known (COTTYPE_OTHER not returned by the enum) the decision is made from the enum via isAircraft; otherwise it falls back to classifying the raw cotTypeStr with isAircraftString.
cotTypeStr
The packet's CotType enum value.
CotType
Optional
The raw CoT type string, used only when cotTypeId is COTTYPE_OTHER.
cotTypeId
DICT_ID_AIRCRAFT or DICT_ID_NON_AIRCRAFT.
Choose the dictionary ID to compress a packet with, based on its CoT type.
Aircraft types use DICT_ID_AIRCRAFT; everything else uses DICT_ID_NON_AIRCRAFT. When the type is known (COTTYPE_OTHER not returned by the enum) the decision is made from the enum via isAircraft; otherwise it falls back to classifying the raw
cotTypeStrwith isAircraftString.