scanWifiNetworks method

Future<List<String>> scanWifiNetworks(
  1. String deviceName,
  2. String proofOfPossession
)
inherited

Scan the available WiFi networks for the given deviceName and proofOfPossession string. This library uses SECURITY_1 by default which insists on a proofOfPossession string. ESP32 Arduino demo defaults this value to "abcd1234"

Implementation

/// This library uses SECURITY_1 by default which insists on a
/// [proofOfPossession] string. ESP32 Arduino demo defaults this value to
/// "abcd1234"
Future<List<String>> scanWifiNetworks(
    String deviceName, String proofOfPossession) {
  return FlutterEspBleProvPlatform.instance
      .scanWifiNetworks(deviceName, proofOfPossession);
}