mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Fix miscellaneous typos in the comments or logging.
PiperOrigin-RevId: 454649199
This commit is contained in:
@@ -203,7 +203,7 @@ bool BleV2Medium::StartScanning(const Uuid& service_uuid,
|
||||
advertisement_received_token_ =
|
||||
watcher_.Received({this, &BleV2Medium::AdvertisementReceivedHandler});
|
||||
|
||||
// Active mode indicates that scan request packes will be sent to query for
|
||||
// Active mode indicates that scan request packets will be sent to query for
|
||||
// Scan Response
|
||||
watcher_.ScanningMode(BluetoothLEScanningMode::Active);
|
||||
watcher_.Start();
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace windows {
|
||||
// https://docs.microsoft.com/en-us/uwp/api/windows.foundation.iasyncoperation-1?view=winrt-20348
|
||||
using winrt::Windows::Foundation::IAsyncOperation;
|
||||
|
||||
// The result of an Rfcomm device service request.
|
||||
// The result of a Rfcomm device service request.
|
||||
// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.rfcomm.rfcommdeviceservicesresult?view=winrt-20348
|
||||
using winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceServicesResult;
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ class WifiMedium : public api::WifiMedium {
|
||||
|
||||
private:
|
||||
// Since the WiFi interface capability won't change in the connection session,
|
||||
// we only need to querry it once at the beginning
|
||||
// we only need to query it once at the beginning
|
||||
void InitCapability();
|
||||
|
||||
bool wifi_interface_valid_;
|
||||
|
||||
@@ -229,7 +229,7 @@ class WifiHotspotMedium : public api::WifiHotspotMedium {
|
||||
std::unique_ptr<api::WifiHotspotServerSocket> ListenForService(
|
||||
int port) override;
|
||||
|
||||
// Advertiser start WiFi Hotspot with specific Crendentials
|
||||
// Advertiser start WiFi Hotspot with specific Credentials.
|
||||
bool StartWifiHotspot(HotspotCredentials* hotspot_credentials_) override;
|
||||
// Advertiser stop the current WiFi Hotspot
|
||||
bool StopWifiHotspot() override;
|
||||
|
||||
Reference in New Issue
Block a user