WiFiFlutter icon indicating copy to clipboard operation
WiFiFlutter copied to clipboard

cant find AP Android

Open nuuk00 opened this issue 1 year ago • 0 comments

Hello, I want to programm a App to connect to my Raspberry Pi but I only get the Popup Window with searching device but It cant find it. I checked the SSID etc and everything is right. After a week of trouble shooting I dont know where to look to find a solution. Pls Help.

void connectToWifi(String SSID, String? BSSID) async { if (state == false) { state = true; message = SSID; showToast(context); bool isConnected = await WiFiForIoTPlugin.connect( SSID, security: NetworkSecurity.NONE, joinOnce: true, withInternet: false, timeoutInSeconds: 30, ); if (isConnected == true) { message = 'Connected to Raspberry Pi'; showToast(context); setState(() { instruction = 'Test'; }); } } else { state = false; } }

AndroidManifest_xml.txt

build.gradle.txt

nuuk00 avatar Apr 12 '24 19:04 nuuk00