Hi there, I have a few questions about the httpget example project. I've only minimally modified the stock code to include my Wi-Fi network credentials and the URI of the server API I'm making a GET request to.
After flashing the program to my Launchpad, the following terminal output is printed. The GET request fails, and no statements saying that a successful connection to my Wi-Fi was made.
However, after resetting the MCU via the reset button, the following terminal output is printed. The MCU successfully connects to my Wi-Fi, and the GET request is successful as well.
1. Why is it that the GET request fails and no Wi-Fi connection appears to be made after flashing the program without resetting? Is this intentional?
2. What additional steps would need to be performed in the code for the GET request and Wi-Fi connection to be successful without needing to reset the MCU?
3. Do HTTP requests have to be made by creating an httpTask thread or can they be performed by a function call from the main thread?
I'm very new to the programming process of the Simple Link devices and have had trouble finding resources to answer these questions. Thank you for any help in advance!