WiFi Manager Extension

899 views
Skip to first unread message

Mr Didu

unread,
Sep 9, 2016, 9:02:18 AM9/9/16
to MIT App Inventor Forum
Massive thanks to Taifun wor his work!

On to the issue: I have used the given blocks from this extension to search for WiFi SSIDs, user picks one from the generated list. User types the password and using the SSID and password i connect to the selected network. Well this is not happening, or at least not every time. Seems even with the right password the app kills(???) the selected SSID by putting it to "Turned off" state. I have no clue what is this state really. Never saw this outside this app. BTW, the app purpose is to will send the WiFi data to an ESP8266 board. 


Thanks!


Taifun

unread,
Sep 9, 2016, 9:19:12 AM9/9/16
to MIT App Inventor Forum
Please prepare an example as small as possible, which demonstrates this issue and add the project (aia file) into this thread together with exact instructions for how to elicit the error, so I can take a look
Btw. I will be on vacation starting from tomorrow. I'll be back Oct 17. 

Taifun

Trying to push the limits of App Inventor! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun. 

Mr Didu

unread,
Sep 9, 2016, 9:28:39 AM9/9/16
to MIT App Inventor Forum
Hi, attached the file. I think my description is in the first post. Just use the app to select and connect to a wifi spot. Or i should say try to connect to a spot. Never mind the bluetooth part. You should see that after connection the selected SSID says "Turned off"..
Bluetooth_test.aia
Message has been deleted

Taifun

unread,
Sep 9, 2016, 10:18:37 AM9/9/16
to MIT App Inventor Forum
please adjust your logic like this

it does not make sense to use a clock component here...
Taifun

Mr Didu

unread,
Sep 9, 2016, 11:05:29 AM9/9/16
to mitappinv...@googlegroups.com
Hi,

The reason i put that part into a timer loop was to give enough time to the SSID scan to complete, but you are right, placing those parts to the GotAvailableSSID took care of the issue!

Thanks and have a great holiday!

Taifun

unread,
Sep 9, 2016, 12:04:46 PM9/9/16
to MIT App Inventor Forum
thank you!

The reason i put that part into a timer loop was to give enough time to the SSID scan to complete
only one second as clock timer interval sometimes is not enough for the scan...

 but you are right, placing those parts to the GotAvailableSSID took care of the issue!
App Inventor is event driven... and if the GotAvailalbeSSID event fires, then the scan is complete

Taifun
Reply all
Reply to author
Forward
0 new messages