- Wed Oct 15, 2014 3:47 pm
#1678
Looks neat. I made your LED blink a couple of times
Is the server accessible from AP interface only or can it be accessed via the station interface as well?
Here's an idea I had for tinkering with ESP8266 API which goes well with an embedded web server.
I was thinking of making an "API Playground" for ESP8266. It's basically a GUI to make API calls with custom arguments.
It would work something like this:
A script would parse the SDK files and build a map of functions, their arguments and return types.
The embedded web server would use this map to generate UI which lists these functions. (this can be pre-computed)
From the UI, one can select any function and pass it the required arguments.
The web server would then do the necessary type conversion, call the actual function and display the result.
It may not work for all functions but for simple functions like GPIO get/set it would work very well.
This will drastically shorten the development cycle by helping you to call the functions with different arguments and check their results without having to go through the code-compile-burn cycle every time. I believe we will see many SDK releases as the current one is not very mature. In this light, the automated SDK parser would come very handy.