try
{
Log.Info(Globals.LogTag, "Ipv4Address_GET start");
+ await setUp();
+
Assert.IsFalse(_flag, "_flag should be false before checking");
ConnectionManager.IPAddressChanged += Ipv4AddressChangedCallBack;
+ await Task.Delay(5000);
Log.Info(Globals.LogTag, "Ipv4AddressChanged Event subscribed");
await tearDown();
try
{
Log.Info(Globals.LogTag, "Ipv6Address_GET start");
+ await setUp();
+
ConnectionManager.IPAddressChanged += Ipv6AddressChangedCallBack;
+ await Task.Delay(5000);
Log.Info(Globals.LogTag, "Ipv6Address_GET Ipv6AddressChanged Event subscribed");
await tearDown();
await Task.Delay(5000);
return;
}
}
+ if (i == 3)
+ {
+ Tizen.Log.Info(Globals.LogTag, "Scan. Try: " + i);
+ await WiFiManager.ScanAsync();
+ }
await Task.Delay(10000);
} // for (int i = 0; i < MAX_TRY; i++) {
} // if (ap != null && ap.NetworkInformation.Essid != WiFiName)