Trying to provision device for WiFi access

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
ctflatt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 243
Joined: Sun Dec 06, 2009 12:24 am
Location: Fredericktown, MO
Contact:

Trying to provision device for WiFi access

Post by ctflatt » Thu Sep 05, 2019 5:31 pm

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

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2874
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: Trying to provision device for WiFi access

Post by mwieder » Fri Sep 06, 2019 12:43 am

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?

ctflatt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 243
Joined: Sun Dec 06, 2009 12:24 am
Location: Fredericktown, MO
Contact:

Re: Trying to provision device for WiFi access

Post by ctflatt » Fri Sep 06, 2019 6:20 pm

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!

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2874
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: Trying to provision device for WiFi access

Post by mwieder » Fri Sep 06, 2019 6:26 pm

Ha! Yes, that would indeed make it a bit difficult to communicate with the device.

ctflatt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 243
Joined: Sun Dec 06, 2009 12:24 am
Location: Fredericktown, MO
Contact:

Re: Trying to provision device for WiFi access

Post by ctflatt » Fri Sep 06, 2019 6:33 pm

:lol:

Seriously, thanks for your time!

Post Reply

Return to “Internet”