Page 1 of 1

Trying to provision device for WiFi access

Posted: Thu Sep 05, 2019 5:31 pm
by ctflatt
Hello, everyone!

I am currently trying to finish a mobile app that has changed scope. Previously the app just communicated via its own WiFi connection to a hosted database. Works perfectly.

Now the customer wants me to use the app to set up the initial connection between an external device and the WiFi, so that the device can communicate to the database the information the app is currently reading.

I need to do the following:

1) Connect to the external device, which is WiFi capable
2) Communicate the current WiFi SSID (network name/password) to the device so it can be stored on the external device.

The customer compares this process to the standard setup of “blink” cameras and “ring” doorbells.

I have no idea where to start... can anyone help point me in the right direction?

Of course, this was due “yesterday”—hahahaha!

I really appreciate any guidance on this process.

Christopher

Re: Trying to provision device for WiFi access

Posted: Fri Sep 06, 2019 12:43 am
by mwieder
Of *course* this is due yesterday. That's the way customers work, no?

So if I get this right, you currently connect through wifi to a hosted database and all's well. You next need to connect to an external device, pass your connection info to it, and then the external device connects to the database and takes over?

How do you connect to the external device? still over wifi? bluetooth? something else? Is there any sort of security involved? Do you need to log onto the device? Can you do this with any device or just the one that belongs to you? Can anyone log onto it? Can you change the settings once they're set? You aren't planning on sending the ssid and password in cleartext, are you?

Re: Trying to provision device for WiFi access

Posted: Fri Sep 06, 2019 6:20 pm
by ctflatt
Thanks for responding. Yes, you are correct in understanding my need.

Upon further investigation, WiFi has not even been incorporated into the test device I received.

A bit of cart before the horse, I believe.

I will post an update once I have more information, as a resource for others interested in trying to do the same.

Thanks!

Re: Trying to provision device for WiFi access

Posted: Fri Sep 06, 2019 6:26 pm
by mwieder
Ha! Yes, that would indeed make it a bit difficult to communicate with the device.

Re: Trying to provision device for WiFi access

Posted: Fri Sep 06, 2019 6:33 pm
by ctflatt
:lol:

Seriously, thanks for your time!