6.3.3.1 Local OTA When CC3220 is in AP Mode
When the CC3220 is set in AP mode, the mobile application can communicate to it just as if both were connected though a local AP. The OTA feature is the only use case that needs clarification. The reason for this is the image for update is on a cloud server, and because the mobile application is connected to the CC3220, it is not able to fetch and download the image. To make it possible, follow these steps.
- Set the CC3220 LaunchPad as AP mode.
- Go to the Wireless Settings, locate the SSID of the CC3220 LaunchPad, and connect to it (starts with mysimplelink prefix). At this point, the terminal displays a printout stating a device has been connected.
- Open the SimpleLink Wi-Fi Starter Pro, and navigate to the Devices tab. The connected CC3220 with the MAC address as a prefix appears on the list.
- Press and hold the CC3220 icon. A message appears with the IP address, and the LAN and OTA tabs also become visible.
- Go back to the Wireless Settings, and connect to an AP that has Internet connection.
- Go back to SimpleLink Wi-Fi Starter Pro and navigate to the OTA tab. Click the Check for software update button and the image is downloaded.
- Go to Wireless Settings, locate the SSID of the CC3220 LaunchPad, and connect to it.
- Go back to the SimpleLink Wi-Fi Starter Pro, and navigate to the OTA tab. Now users can upgrade the version.