diff --git a/internal/proto/analytics/connections_log.proto b/internal/proto/analytics/connections_log.proto index b82532eb..6129460e 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: 17 + // Next Id: 18 message ErrorCode { // The direction (incoming vs outgoing) of this error. optional location.nearby.proto.connections.ConnectionAttemptDirection @@ -372,6 +372,7 @@ message ConnectionsLog { stop_listening_incoming_connection_error = 13; location.nearby.errorcode.proto.ConnectError connect_error = 14; location.nearby.errorcode.proto.DisconnectError disconnect_error = 15; + location.nearby.errorcode.proto.SendPayloadError send_payload_error = 17; } // 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 6bce2d92..99409b7e 100644 --- a/proto/errorcode/error_code_enums.proto +++ b/proto/errorcode/error_code_enums.proto @@ -327,6 +327,17 @@ enum DisconnectError { // Next ID :33 } +// The error for event SEND_PAYLOAD. The range between 31 and 99. +enum SendPayloadError { + // The default value for clearcut + UNKNOWN_SEND_PAYLOAD_ERROR = 31; + + // Network error, failed to send payload. + SEND_PAYLOAD_FAILED = 32; + + // Next ID :33 +} + enum Description { reserved 28, 29; @@ -503,4 +514,6 @@ enum Description { USER_RESTRICTION_DISALLOWED = 172; UNSUPPORTED_DEVICE_TYPE_PHONE = 173; UNSUPPORTED_DEVICE_TYPE_TABLET = 174; + BROKEN_PIPE = 175; + CONNECTION_ABORT = 176; }