Uses a POSIX socket to make a very simple HTTP request.
The HTTP request is performed on the OpenWeatherMap site and the JSON is obtained.
Afterwards, the JSON information is parsed using CJSON. In this example, temperature and the weather status is printed on the terminal.
For more information of installing the toolchain w/ Visual Studio code, proceed to the hackaday page:
- https://hackaday.io/project/53259-deploying-standalone-esp32-idf-sdk-platform (without PlatformIO)
- https://hackaday.io/project/43374-esp32-idf-deploying-the-development-platform (with PlatformIO)