You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var x = await WiFiForIoTPlugin.disconnect();
print(x);
caberQUConnected.value = await WiFiForIoTPlugin.connect(
'BLE caberQU update',
password: firmwareUpdateProvider.deviceUid,
security: NetworkSecurity.WPA,
timeoutInSeconds: 120,
);
x = await WiFiForIoTPlugin.forceWifiUsage(true);
print(x);
if (!caberQUConnected.value) {
Fluttertoast.showToast(msg: "Failed to connect to caberQU device.");
currentStep.value--;
}
Which runs into the 120 second timeout.
When I set the parameter useInternet to true, the method returns true, but my device still stays connected to the old network. I am trying to connect to an IOT Device which has no internet access.
The text was updated successfully, but these errors were encountered:
I have this code:
Which runs into the 120 second timeout.
When I set the parameter useInternet to true, the method returns true, but my device still stays connected to the old network. I am trying to connect to an IOT Device which has no internet access.
The text was updated successfully, but these errors were encountered: