REST interface to an Arduino based board?
Posted: Wed Nov 01, 2017 12:15 pm
I'm just starting to work with the ESP8266, but have been working with other microcontrollers for many years.
I am looking to use the ESP to present a REST interface to boards I've been building that are based on the ATMega architecture, with the ESP serving the REST requests from a http client, passing commands to the uC via its serial interface, and then packaging a response from the serial interface to return results to the client. It looks like this library (https://github.com/esp8266/ESPWebServer) would provide the basics needed for that, but there's a lot of infrastructure that would also be needed for detecting and configuring a wifi networks, and preferably being able to flash the uC from the ESP.
The esp-link (https://github.com/jeelabs/esp-link) project has a lot of that stuff built into it along those lines that would be useful and I'm sure I could modify it to add the REST interface I need, but I figured I'd try asking here to see if there are other frameworks or libraries that I should be looking into.
Thanks!
I am looking to use the ESP to present a REST interface to boards I've been building that are based on the ATMega architecture, with the ESP serving the REST requests from a http client, passing commands to the uC via its serial interface, and then packaging a response from the serial interface to return results to the client. It looks like this library (https://github.com/esp8266/ESPWebServer) would provide the basics needed for that, but there's a lot of infrastructure that would also be needed for detecting and configuring a wifi networks, and preferably being able to flash the uC from the ESP.
The esp-link (https://github.com/jeelabs/esp-link) project has a lot of that stuff built into it along those lines that would be useful and I'm sure I could modify it to add the REST interface I need, but I figured I'd try asking here to see if there are other frameworks or libraries that I should be looking into.
Thanks!