Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant find AP Android #379

Open
nuuk00 opened this issue Apr 12, 2024 · 0 comments
Open

cant find AP Android #379

nuuk00 opened this issue Apr 12, 2024 · 0 comments

Comments

@nuuk00
Copy link

nuuk00 commented Apr 12, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant