Other Parts Discussed in Thread: UNIFLASH
Hi Folks,
I'm new to the CC3220 part and to provisioning as well. I've gone through a lot of the documentation and a couple of the examples (out-of-box, provisioning, network-terminal) and I'm having trouble getting things to work.
I have a small device with a small LCD screen. I want to provision the device on a home network without using a phone app (just using the web server on the CC3220).
Here are the steps I think I'd like to perform:
1. Start the device for the first time, and enable the web server (with SSL) on the CC3220. Tell the user to connect their phone to the SSID displayed on the device screen, then browse to "thedevice.net".
2. Create a custom web page that allows the user to enter their home network settings (SSID, encryption, passcode)
I've created a page based on the TI SimpleLink default web page, and it works when I use the network-terminal demo app (non SSL). Uploaded it to the device with UniFlash.
3. Store the home network config values in the device (persistent) as a profile, then test the connection to the home network.
4. Inform the user that the connection passed/failed either through the webpage or device screen (probably both)
5. Done with provisioning. Switch over to the home network and send the product off and running.
I started with the out-of-box, then moved over to the network-terminal demo. I created my custom web page and can store the profile if I use the "wlanconnect" command on the terminal window to get the device connected to the home network, and provisioning web server started. I can't however get the web page to come up when I use "wlan_ap_start" command to put the device in access point mode.
I also tried the provisioning demo and was able to run it, but was not able to get the web page up after connecting to the access point on the device.
Can someone help point me in the right direction? What's the best way to go about doing this?
How do I use the formal provisioning features of the processor with my custom page on the web server?
Any help you can provide would be greatly appreciated!
Thanks so much!
Joe K.