diff --git a/internal/proto/analytics/connections_log.proto b/internal/proto/analytics/connections_log.proto index 5cd5e0d2..bc6702bb 100644 --- a/internal/proto/analytics/connections_log.proto +++ b/internal/proto/analytics/connections_log.proto @@ -340,7 +340,7 @@ message ConnectionsLog { optional string connection_token = 8; } - // Next Id: 19 + // Next Id: 20 message ErrorCode { // The direction (incoming vs outgoing) of this error. optional location.nearby.proto.connections.ConnectionAttemptDirection @@ -375,6 +375,7 @@ message ConnectionsLog { location.nearby.errorcode.proto.SendPayloadError send_payload_error = 17; location.nearby.errorcode.proto.ReceivePayloadError receive_payload_error = 18; + location.nearby.errorcode.proto.UpgradeError upgrade_error = 19; } // The token use to identify this established connection. diff --git a/proto/errorcode/error_code_enums.proto b/proto/errorcode/error_code_enums.proto index 32900bb6..7cf8ae6d 100644 --- a/proto/errorcode/error_code_enums.proto +++ b/proto/errorcode/error_code_enums.proto @@ -69,6 +69,7 @@ enum Event { SEND_PAYLOAD = 11; CANCEL_PAYLOAD = 12; RECEIVE_PAYLOAD = 13; + UPGRADE = 14; } // The error to identify the common failure for all mediums. The range between 0 @@ -349,6 +350,16 @@ enum ReceivePayloadError { // Next ID :33 } +// The error for event UPGRADE. The range between 31 and 99. +enum UpgradeError { + // The default value for clearcut + UNKNOWN_UPGRADE_ERROR = 31; + // System error, failed to create a wifi p2p group. + CREATE_P2P_GROUP_FAILED = 32; + + // Next ID :33 +} + enum Description { reserved 28, 29;