ESP8266: Building HTTP(S) Client using Eclipse and ESP SDK. HTTP REST JSON Parsing.
Previous video: Part I: ESP8266 Getting Started: C Programming in Eclipse using ESP SDK (No VM, No Arduino) https://www.youtube.com/watch?v=sdA4Yx9-EpQ 00:00 - Introduction 00:50 - How to add extra modules into ESP project 02:57 - mod_enums module overview 03:39 - mod_http module overview 07:02 - HTTP client application details 10:18 - HTTP client application demo 12:28 - Command: WiFi sessions scan 13:04 - Commands: WiFi connect/disconnect 13:26 - Concept of callbacks in ESP 14:20 - HTTP(S) request composition and execution. Callback details. 17:20 - JSON parsing logic 18:23 - Conclusion. Source code links. In this video you can find some useful examples in terms of how to establish TCP communication and how to build HTTP Client on your ESP module. This part covers data transfer samples using both HTTP and HTTPS protocols. ESP SDK 3.0 also provides some capabilities to make JSON messages parsing. Brief overview is made here for these SDK features to parse JSON messages, received from remote HTTP REST Service. Presented solution is built using ESP NONOS SDK V3.0.0 combined with ESP8266 Open SDK toolchain. This allows you to develop and build C Applications for ESP locally in Eclipse, without any use of Virtual Machines. Examples provided do work without any dependencies on a heavy Arduino framework. Application source code can be compiled and flashed using standard SDK tools. Description and script samples: http://www.sigmaprj.com/esp8266-http-client.html GitHub project and source code: https://github.com/sigma-prj/esp-mods git clone https://github.com/sigma-prj/esp-mods.git
Download
0 formatsNo download links available.