mirror of
https://github.com/esphome/esphome.git
synced 2026-08-29 17:16:45 +00:00
[noise] Move NoiseResumeTicket to message id 152
This commit is contained in:
@@ -898,7 +898,7 @@ message NoiseEncryptionSetKeyResponse {
|
||||
// issues a fresh ticket on that connection. Never sent on plaintext
|
||||
// connections. Clients that do not understand it drop it silently.
|
||||
message NoiseResumeTicket {
|
||||
option (id) = 151;
|
||||
option (id) = 152;
|
||||
option (source) = SOURCE_SERVER;
|
||||
option (ifdef) = "USE_API_NOISE";
|
||||
|
||||
|
||||
@@ -1135,7 +1135,7 @@ class NoiseEncryptionSetKeyResponse final : public ProtoMessage {
|
||||
};
|
||||
class NoiseResumeTicket final : public ProtoMessage {
|
||||
public:
|
||||
static constexpr uint8_t MESSAGE_TYPE = 151;
|
||||
static constexpr uint8_t MESSAGE_TYPE = 152;
|
||||
static constexpr uint8_t ESTIMATED_SIZE = 38;
|
||||
#ifdef HAS_PROTO_MESSAGE_DUMP
|
||||
const LogString *message_name() const override { return LOG_STR("noise_resume_ticket"); }
|
||||
|
||||
Reference in New Issue
Block a user