This repository has been archived by the owner on Apr 8, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
getCurrentSSID() returns SSID even when not connected (getCurrentBSSID does not exist) #7
Labels
Comments
Good spot. This goes back to the OG WifiWizard code being a bit trash. I'm just going to re-write the entire Android platform side since it makes a lot more sense to do so. |
Working on this now. |
arsenal942
pushed a commit
that referenced
this issue
Mar 20, 2018
arsenal942
pushed a commit
that referenced
this issue
Mar 20, 2018
arsenal942
pushed a commit
that referenced
this issue
Mar 20, 2018
…n earth would we assign it a blank MAC address.... - Implemented the function 'getConnectedBSSID' for Android since it was missing
@tripflex 'getConnectedBSSID' now exists and the OG getConnectedSSID has been modified. Check #3deb50f to see the changes. |
Release v2.4.0 fixed. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Seems that
getCurrentSSID
returns an SSID even when it's not connected to that network, which calls thegetConnectedSSID
see: https://stackoverflow.com/questions/41366481/android-why-wifimanager-getconnectioninfo-getssid-return-disconnected-ssid
https://developer.android.com/reference/android/net/wifi/WifiInfo.html#getSSID()
Trying to use this to handle the
ssidToDisconnect
Reading the docs it seems that
getCurrentBSSID
would work (as it should return null if not connected), but even though that method is available, it does not exist in main java file (which I found is actually related to the WiFiWizard, not your edits)The text was updated successfully, but these errors were encountered: