Login Page - Create Account

DTC Protocol Discussion Forum


Date/Time: Fri, 29 Nov 2024 14:49:41 +0000



Post From: Google Protocol Buffers and Python example?

[2021-02-18 11:14:15]
User157497 - Posts: 3
Hi,
I have been trying to implement DTC protobuf under python. Greatly inspired by https://github.com/Queeq/pydtc.git. I managed to get connected, but when it comes to decoding logon_response, i am confronted to the pack/unpacking issue of the fields.
The solution of Queed is not standard to what we would expect.
Why does the function Message.FromString not work. Could Sierra team provide code for encoding/decoding all the messages under python?

Many thanks