Correct Native API Wire Format Documentation (#1528)

This commit is contained in:
Justin Gerhardt 2021-02-13 03:36:39 -05:00 committed by GitHub
parent e288aa07fb
commit 57d6185374
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,7 @@ service APIConnection {
// The Home Assistant protocol is structured as a simple // The Home Assistant protocol is structured as a simple
// TCP socket with short binary messages encoded in the protocol buffers format // TCP socket with short binary messages encoded in the protocol buffers format
// First, a message in this protocol has a specific format: // First, a message in this protocol has a specific format:
// * A zero byte.
// * VarInt denoting the size of the message object. (type is not part of this) // * VarInt denoting the size of the message object. (type is not part of this)
// * VarInt denoting the type of message. // * VarInt denoting the type of message.
// * The message object encoded as a ProtoBuf message // * The message object encoded as a ProtoBuf message