diff --git a/internal/proto/analytics/connections_log.proto b/internal/proto/analytics/connections_log.proto index 408e18cc..f53391dc 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: 21 + // Next Id: 22 message ErrorCode { // The direction (incoming vs outgoing) of this error. optional location.nearby.proto.connections.ConnectionAttemptDirection @@ -378,6 +378,8 @@ message ConnectionsLog { location.nearby.errorcode.proto.UpgradeError upgrade_error = 19; location.nearby.errorcode.proto.AcceptConnectionError accept_connection_error = 20; + location.nearby.errorcode.proto.RejectConnectionError + reject_connection_error = 21; } // 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 e11e8557..73976de6 100644 --- a/proto/errorcode/error_code_enums.proto +++ b/proto/errorcode/error_code_enums.proto @@ -371,6 +371,17 @@ enum AcceptConnectionError { // Next ID :33 } +// The error for event REJECT_CONNECTION. The range between 31 and 99. +enum RejectConnectionError { + // The default value for clearcut + UNKNOWN_REJECT_CONNECTION_ERROR = 31; + + // Network error, failed to send reject connection. + RESPOND_REJECT_CONNECTION_FAILED = 32; + + // Next ID :33 +} + enum Description { reserved 28, 29;