diff --git a/internal/proto/analytics/connections_log.proto b/internal/proto/analytics/connections_log.proto index 9a01c4d0..8095c996 100644 --- a/internal/proto/analytics/connections_log.proto +++ b/internal/proto/analytics/connections_log.proto @@ -399,6 +399,9 @@ message ConnectionsLog { // The Bluetooth multiple advertisement support status. optional bool multiple_advertisement_supported = 4; + + // The power level of this advertising + optional location.nearby.proto.connections.PowerLevel power_level = 5; } // Some additional information to keep with the discovery phase. @@ -411,6 +414,9 @@ message ConnectionsLog { // The NFC (Near Field Communication) support status optional bool supports_nfc_technology = 3; + + // The power level of this discovering + optional location.nearby.proto.connections.PowerLevel power_level = 4; } // Some additional information to keep with the connection attempt. diff --git a/proto/connections_enums.proto b/proto/connections_enums.proto index cf3adbb1..d9c43582 100644 --- a/proto/connections_enums.proto +++ b/proto/connections_enums.proto @@ -390,3 +390,20 @@ enum LogSource { // Represents the device for debugging. DEBUG_DEVICES = 5; } + +// LINT.IfChange +enum PowerLevel { + UNSPECIFIED = 0; + + // Set low power for the related medium operations. + LOW_POWER = 1; + + // Set balance power for the related medium operations. + BALANCED_POWER = 2; + + // Set high power for the related medium operations. + HIGH_POWER = 3; +} +// LINT.ThenChange( +// //depot/google3/java/com/google/android/gmscore/integ/client/nearby/src/com/google/android/gms/nearby/connection/PowerLevel.java +// ) \ No newline at end of file