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

[Question] How to use the plugin effectively? #8

Open
surister opened this issue Jan 29, 2021 · 0 comments
Open

[Question] How to use the plugin effectively? #8

surister opened this issue Jan 29, 2021 · 0 comments

Comments

@surister
Copy link

Hello, I have a few question that I hoping someone can help me with.
flutter doctor

./flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.5, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[!] Android Studio (version 4.0)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected device (1 available)

Testing device: Samsung galaxy a70 (android 10) latest.

I am trying to use this library and I am not quite sure if I am using it effectively.

Questions:

  1. Can you connect to a normal wifi?

I have tried to connect it to my home wifi and yielded this results:

FlutterWifiConnect.connectToSecureNetwork(ssid, password: WPA2)
It always connects (regardless if the password is correct or not) but always without internet connection.

FlutterWifiConnect.connect(ssid) (Having open my wifi):
It always connects but without internet connection.

  1. If it is only for IOT devices, can you communicate with them via Sockets?

If I connect to a device that generates their own wifi (wifi is always without internet obviously) can I communicate with it using sockets?

I can manually connect to its wifi and talk to it using TCP sockets,
does the connection made by this plugin holds the same behaviour in order to automatize the wifi connection process?

Thank you very much in advance.

@surister surister changed the title [Question] [Question] How to use the plugin effectively? Jan 29, 2021
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