From c6a170b71bdebaf542a0456fe43dd71694f684bf Mon Sep 17 00:00:00 2001 From: hai007 Date: Mon, 19 Jul 2021 09:38:17 -0700 Subject: [PATCH] Internal change PiperOrigin-RevId: 385574533 --- proto/mediums/ble_frames.proto | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/proto/mediums/ble_frames.proto b/proto/mediums/ble_frames.proto index 864da316..d2c9d8af 100644 --- a/proto/mediums/ble_frames.proto +++ b/proto/mediums/ble_frames.proto @@ -34,6 +34,7 @@ message SocketControlFrame { UNKNOWN_CONTROL_FRAME_TYPE = 0; INTRODUCTION = 1; DISCONNECTION = 2; + PACKET_ACKNOWLEDGEMENT = 3; } optional ControlFrameType type = 1; @@ -41,6 +42,7 @@ message SocketControlFrame { // Exactly one of the following fields will be set. optional IntroductionFrame introduction = 2; optional DisconnectionFrame disconnection = 3; + optional PacketAcknowledgementFrame packet_acknowledgement = 4; } message IntroductionFrame { @@ -51,3 +53,8 @@ message IntroductionFrame { message DisconnectionFrame { optional bytes service_id_hash = 1; } + +message PacketAcknowledgementFrame { + optional bytes service_id_hash = 1; + optional int32 received_size = 2; +}