Open Shresthj opened 7 months ago
ssid = 'CELIUMWIFI' password = 'CELIUMPASS' Future _connectToWifi(ssid, pass) async { try { var detail = await WiFiForIoTPlugin.connect(ssid, password: pass, security: NetworkSecurity.WPA); print(detail); } catch (e) { print("Error connecting to WiFi: $e"); } }
in this code after connect i am trying to use internet but i am not able to use.
same here, I am not able to use internet after successful connection
ssid = 'CELIUMWIFI' password = 'CELIUMPASS' Future _connectToWifi(ssid, pass) async { try { var detail = await WiFiForIoTPlugin.connect(ssid, password: pass, security: NetworkSecurity.WPA); print(detail); } catch (e) { print("Error connecting to WiFi: $e"); } }
in this code after connect i am trying to use internet but i am not able to use.