Add BW upgrade try count and more error codes.

PiperOrigin-RevId: 879903045
This commit is contained in:
hai007
2026-03-06 18:10:11 -08:00
committed by Copybara-Service
parent 3a761eaa68
commit 36a84d48a2
2 changed files with 8 additions and 0 deletions
@@ -580,6 +580,9 @@ message ConnectionsLog {
// The number of network interfaces on the device for the upgrade medium
// that can be used for bandwidth upgrade and are IPv6 only.
optional int32 num_ipv6_only_interfaces = 13;
// The number of times the upgrade attempt is tried.
// This count is reset to 0 when the upgrade is successful.
optional int32 try_count = 14;
}
// Next Id: 22
+5
View File
@@ -1447,6 +1447,11 @@ enum OperationResultCode {
DCT_ERROR_UPGRADE_HIGH_SPEED_MEDIUM_FAILED_HOST_NETWORK_NOT_AVAILABLE = 5058;
// Failed to upgrade to high speed medium because no incoming HTTP connection
DCT_ERROR_UPGRADE_HIGH_SPEED_MEDIUM_FAILED_NO_INCOMING_HTTP_CONNECTION = 5059;
// Failed to upgrade to high speed medium because there is no USB device
// connected
DCT_ERROR_UPGRADE_HIGH_SPEED_MEDIUM_FAILED_USB_NO_CONNECTED_DEVICE = 5060;
// Failed to upgrade to high speed medium because the upgrade is interrupted
DCT_ERROR_UPGRADE_HIGH_SPEED_MEDIUM_FAILED_INTERRUPTED = 5061;
}
enum StopAdvertisingReason {