Android Question Problem in Library Simple WIFI by HotShoe

welu1805

Active Member
Licensed User
Longtime User
Hi all,

I use the library "Simple WIFI" by HotShoe.

I tried the example from HotShoe in mlwifi-2.15.zip. If there is a new Wifi AP (e.g. "Musikus") it is shown in the listbox without "Saved". This is correct because there is no password stored yet.

I click at the item "Musikus" press OK to connect and enter the correct password. After OK I get "Could not connect to Musikus"

I think the problem is with a not "Saved" AP the command scan.AddAP() is used. Here can I put also the password. But the problem is that an AP with the same Name is already in the Wifi-Manager. It should not be possible to add a new AP with the same name.

To bypass this problem it should be able to put the password for "Musikus" to the AP and store it. During the next scan.StartScan or scan.UpdateWifiList this AP would have the attribute "Saved" and I could use scan.ConnectToAP. This should work.

Has anyone an idea?

Thanks
Lutz
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…