1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-19 00:05:43 +00:00

API: Expect a name for connections (#2533)

This commit is contained in:
Otto Winter
2022-01-20 12:03:32 +01:00
committed by GitHub
parent 1f8a1f0046
commit 62f9736b1d
5 changed files with 26 additions and 3 deletions

View File

@@ -147,6 +147,7 @@ class HelloResponse : public ProtoMessage {
uint32_t api_version_major{0};
uint32_t api_version_minor{0};
std::string server_info{};
std::string name{};
void encode(ProtoWriteBuffer buffer) const override;
#ifdef HAS_PROTO_MESSAGE_DUMP
void dump_to(std::string &out) const override;