Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 02:18:40 +0000



Post From: DTC Protobuffer server parsing error

[2015-12-06 16:51:16]
Guilherme - Posts: 66
I'm implementing a DTC server using Protocol Buffer. I'm getting error in the very first message I receive from SierraChart when it starts the connection. The message, as defined in the protocol, is the EncodingRequest. I receive the whole 16 bytes and read the 4 bytes header correctly, which is: 16 bytes size, and type 6 message. The following data I send to Protobuffer parsing, which crashes and sends me a Invalid Tag message. I'm using the last .proto file you provide in Github, and generated my code files with protobuf version 2.6.1 . I've attached a picture with the data I receive for this very first message.

Is this encoding already stable?
imageDTC-EncodingRequest-2015-12-06_14-38-25.png / V - Attached On 2015-12-06 16:45:54 UTC - Size: 35.07 KB - 263 views