mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Add USB enum
PiperOrigin-RevId: 461149613
This commit is contained in:
@@ -147,6 +147,7 @@ class FakeBwuHandler : public BaseBwuHandler {
|
||||
case proto::connections::NFC:
|
||||
case proto::connections::WIFI_DIRECT:
|
||||
case proto::connections::BLE_L2CAP:
|
||||
case proto::connections::USB:
|
||||
return ByteArray{};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,6 +71,7 @@ message ConnectionRequestFrame {
|
||||
WIFI_DIRECT = 8;
|
||||
WEB_RTC = 9;
|
||||
BLE_L2CAP = 10;
|
||||
USB = 11;
|
||||
}
|
||||
// LINT.ThenChange(//depot/google3/third_party/nearby/proto/connections_enums.proto)
|
||||
|
||||
@@ -196,6 +197,8 @@ message BandwidthUpgradeNegotiationFrame {
|
||||
NFC = 7;
|
||||
WIFI_DIRECT = 8;
|
||||
WEB_RTC = 9;
|
||||
// 10 is reserved.
|
||||
USB = 11;
|
||||
}
|
||||
|
||||
// Accompanies Medium.WIFI_HOTSPOT.
|
||||
|
||||
@@ -79,6 +79,7 @@ enum Medium {
|
||||
WIFI_DIRECT = 8;
|
||||
WEB_RTC = 9;
|
||||
BLE_L2CAP = 10;
|
||||
USB = 11;
|
||||
}
|
||||
// LINT.ThenChange(
|
||||
// //depot/google3/java/com/google/android/gmscore/integ/client/nearby/src/com/google/android/gms/nearby/connection/Medium.java,
|
||||
@@ -372,4 +373,4 @@ enum LogSource {
|
||||
OEM_DEVICES = 4;
|
||||
// Represents the device for debugging.
|
||||
DEBUG_DEVICES = 5;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user