Login Page - Create Account

Support Board


Date/Time: Wed, 05 Mar 2025 19:46:10 +0000



Post From: Malformed DTC EncodingResponse

[2022-01-16 12:21:05]
User322148 - Posts: 17
If I send an EncodingRequest to the historical data port of the SierraChart DTC server (v 2345 rev 40737M), I get the following response (from WireShark)

0b 00 07 00 08 08 1a 03 44 54 43

Hence:
len = 11
msg type = 7

From DTCProtocol.h

struct s_EncodingResponse
{
  uint16_t Size;
  uint16_t Type;
  int32_t ProtocolVersion;
  EncodingEnum Encoding; // which is uint32_t
  char ProtocolType[4];

.....
}

Which I make to be 16 bytes.

Why is the server sending 11 bytes in its response?
Notably, there's missing /incorrect data and "DTC" is not \0 terminated.

This doesn't seem to be documented behaviour.

The same message to the other port gets a reply as expected.

Thanks