mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Exchange ClientIntroductionFrame/ClientIntroductionAckFrame after reconnected successfully
PiperOrigin-RevId: 544683178
This commit is contained in:
@@ -46,6 +46,7 @@ message V1Frame {
|
||||
AUTHENTICATION_MESSAGE = 8;
|
||||
AUTHENTICATION_RESULT = 9;
|
||||
AUTO_RESUME = 10;
|
||||
AUTO_RECONNECT = 11;
|
||||
}
|
||||
optional FrameType type = 1;
|
||||
|
||||
@@ -60,6 +61,7 @@ message V1Frame {
|
||||
optional AuthenticationMessageFrame authentication_message = 9;
|
||||
optional AuthenticationResultFrame authentication_result = 10;
|
||||
optional AutoResumeFrame auto_resume = 11;
|
||||
optional AutoReconnectFrame auto_reconnect = 12;
|
||||
}
|
||||
|
||||
message ConnectionRequestFrame {
|
||||
@@ -357,6 +359,16 @@ message AutoResumeFrame {
|
||||
optional int32 next_payload_chunk_index = 3;
|
||||
}
|
||||
|
||||
message AutoReconnectFrame {
|
||||
enum EventType {
|
||||
UNKNOWN_EVENT_TYPE = 0;
|
||||
CLIENT_INTRODUCTION = 1;
|
||||
CLIENT_INTRODUCTION_ACK = 2;
|
||||
}
|
||||
optional string endpoint_id = 1;
|
||||
optional EventType event_type = 2;
|
||||
}
|
||||
|
||||
message MediumMetadata {
|
||||
// True if local device supports 5GHz.
|
||||
optional bool supports_5_ghz = 1;
|
||||
|
||||
Reference in New Issue
Block a user