mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Applied flags to Wi-Fi Hotspot parameters
PiperOrigin-RevId: 540432082
This commit is contained in:
committed by
Copybara-Service
parent
a25ef756e7
commit
0c1d5e7e23
@@ -43,6 +43,30 @@ constexpr auto kEnableBleV2Gatt =
|
||||
constexpr auto kEnableBleV2GattOnNonExtendedDevice =
|
||||
flags::Flag<bool>(kConfigPackage, "45415267", false);
|
||||
|
||||
// The maximum scanning times for available hotspots.
|
||||
constexpr auto kWifiHotspotScanMaxRetries =
|
||||
flags::Flag<int64_t>(kConfigPackage, "45415883", 3);
|
||||
|
||||
// The maximum IP check times during Wi-Fi hotspot connection.
|
||||
constexpr auto kWifiHotspotCheckIpMaxRetries =
|
||||
flags::Flag<int64_t>(kConfigPackage, "45415884", 10);
|
||||
|
||||
// The interval between 2 IP check attempts.
|
||||
constexpr auto kWifiHotspotCheckIpIntervalMillis =
|
||||
flags::Flag<int64_t>(kConfigPackage, "45415885", 500);
|
||||
|
||||
// The maximum connection times to remote Wi-Fi hotspot.
|
||||
constexpr auto kWifiHotspotConnectionMaxRetries =
|
||||
flags::Flag<int64_t>(kConfigPackage, "45415886", 3);
|
||||
|
||||
// The interval between 2 connectin attempts.
|
||||
constexpr auto kWifiHotspotConnectionIntervalMillis =
|
||||
flags::Flag<int64_t>(kConfigPackage, "45415887", 500);
|
||||
|
||||
// The connection timeout to remote Wi-Fi hotspot.
|
||||
constexpr auto kWifiHotspotConnectionTimeoutMillis =
|
||||
flags::Flag<int64_t>(kConfigPackage, "45415888", 10000);
|
||||
|
||||
} // namespace nearby_platform_feature
|
||||
} // namespace config_package_nearby
|
||||
} // namespace platform
|
||||
|
||||
Reference in New Issue
Block a user