diff --git a/internal/proto/analytics/connections_log.proto b/internal/proto/analytics/connections_log.proto index 6129460e..5cd5e0d2 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: 18 + // Next Id: 19 message ErrorCode { // The direction (incoming vs outgoing) of this error. optional location.nearby.proto.connections.ConnectionAttemptDirection @@ -373,6 +373,8 @@ message ConnectionsLog { 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; + location.nearby.errorcode.proto.ReceivePayloadError + receive_payload_error = 18; } // 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 99409b7e..32900bb6 100644 --- a/proto/errorcode/error_code_enums.proto +++ b/proto/errorcode/error_code_enums.proto @@ -338,6 +338,17 @@ enum SendPayloadError { // Next ID :33 } +// The error for event SEND_PAYLOAD. The range between 31 and 99. +enum ReceivePayloadError { + // The default value for clearcut + UNKNOWN_RECEIVE_PAYLOAD_ERROR = 31; + + // Network error, failed to send payload. + RECEIVE_PAYLOAD_FAILED = 32; + + // Next ID :33 +} + enum Description { reserved 28, 29;