From 57d61853745ebc99813734fb363a618b1eef2ac0 Mon Sep 17 00:00:00 2001 From: Justin Gerhardt Date: Sat, 13 Feb 2021 03:36:39 -0500 Subject: [PATCH] Correct Native API Wire Format Documentation (#1528) --- esphome/components/api/api.proto | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/api/api.proto b/esphome/components/api/api.proto index 271b1d6c5f..85706fcfcc 100644 --- a/esphome/components/api/api.proto +++ b/esphome/components/api/api.proto @@ -46,6 +46,7 @@ service APIConnection { // The Home Assistant protocol is structured as a simple // TCP socket with short binary messages encoded in the protocol buffers 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 type of message. // * The message object encoded as a ProtoBuf message