mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 14:46:12 -04:00
1. Log advertising power level (contains Low, High, Balance power levels).
2. Log discovering power level (only contained Low and unspecified power levels) PiperOrigin-RevId: 497814014
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
// )
|
||||
Reference in New Issue
Block a user