mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 14:46:12 -04:00
Update proto files to include AWDL medium
PiperOrigin-RevId: 738078567
This commit is contained in:
committed by
Copybara-Service
parent
528ae4c4e2
commit
fd2cba8f05
@@ -111,8 +111,7 @@ class FakeBwuHandler : public BaseBwuHandler {
|
||||
};
|
||||
|
||||
// BwuHandler:
|
||||
ErrorOr<std::unique_ptr<EndpointChannel>>
|
||||
CreateUpgradedEndpointChannel(
|
||||
ErrorOr<std::unique_ptr<EndpointChannel>> CreateUpgradedEndpointChannel(
|
||||
ClientProxy* client, const std::string& service_id,
|
||||
const std::string& endpoint_id,
|
||||
const UpgradePathInfo& upgrade_path_info) final {
|
||||
@@ -166,6 +165,7 @@ class FakeBwuHandler : public BaseBwuHandler {
|
||||
case location::nearby::proto::connections::NFC:
|
||||
case location::nearby::proto::connections::BLE_L2CAP:
|
||||
case location::nearby::proto::connections::USB:
|
||||
case location::nearby::proto::connections::AWDL:
|
||||
return ByteArray{};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -85,6 +85,7 @@ message ConnectionRequestFrame {
|
||||
BLE_L2CAP = 10;
|
||||
USB = 11;
|
||||
WEB_RTC_NON_CELLULAR = 12;
|
||||
AWDL = 13;
|
||||
}
|
||||
// LINT.ThenChange(//depot/google3/third_party/nearby/proto/connections_enums.proto)
|
||||
|
||||
@@ -244,6 +245,7 @@ message BandwidthUpgradeNegotiationFrame {
|
||||
// 10 is reserved.
|
||||
USB = 11;
|
||||
WEB_RTC_NON_CELLULAR = 12;
|
||||
AWDL = 13;
|
||||
}
|
||||
|
||||
// Accompanies Medium.WIFI_HOTSPOT.
|
||||
@@ -354,6 +356,7 @@ message BandwidthUpgradeRetryFrame {
|
||||
BLE_L2CAP = 10;
|
||||
USB = 11;
|
||||
WEB_RTC_NON_CELLULAR = 12;
|
||||
AWDL = 13;
|
||||
}
|
||||
// LINT.ThenChange(//depot/google3/third_party/nearby/proto/connections_enums.proto)
|
||||
|
||||
|
||||
@@ -90,6 +90,7 @@ enum Medium {
|
||||
BLE_L2CAP = 10;
|
||||
USB = 11;
|
||||
WEB_RTC_NON_CELLULAR = 12;
|
||||
AWDL = 13;
|
||||
}
|
||||
// LINT.ThenChange(
|
||||
// //depot/google3/java/com/google/android/gmscore/integ/client/nearby/src/com/google/android/gms/nearby/connection/Medium.java,
|
||||
|
||||
Reference in New Issue
Block a user