mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 14:46:12 -04:00
Add Metrics for wifi-direct/direct-hotspot group crate failed
PiperOrigin-RevId: 481994099
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user