ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By rayellam
#38252 I have successfully flashed ESP-Link on my ESP-12E but im struggling to find ANY documentation on how to use it. Is there any document that lists serial commands? the SLIP protocol implemented in ESP-Link? and anything else?

I see there are plenty of bits of code out there for Arduino but i will implement my use on a PIC16 micro so i need to write some lib's to get the thing working and i need as much info on the "nuts+bolts" in ESP-Link to do this.

I have posted a duplicate thread general discussions.

Many thanks
Ray
User avatar
By JohnInWI
#38427 esp-link looks like extremely promising firmware, but I am in same boat as Ray above. Using the esp-link console and a serial monitor on PC works well, but I need to move beyond the console. GET/POST/PUT properly with esp-link/ slip has been a source of frustration for me. A super-simple example would be helpful- like maybe turn on an LED.

Is it absolutely necessary to use espduino/ rest? if so, a simple example would help. I'm pretty much a complete newbie to HTTP with arduino.


Thanks to all who have worked on esp-link.
User avatar
By rayellam
#38571 Hi John,
TVE posted me this............

I currently don't have documentation on the protocol and I'm refactoring things (mostly the initialization calls), the slip protocol is relatively standard now. Best place to look might be https://github.com/jeelabs/el-client

Its for Ardunio.

I found this link on some very simple python code for encoding/decoding SLIP, it looks pretty easy but im yet to get some time to port this to a PIC.
http://recolog.blogspot.com/2012/10/ser ... -slip.html

So what i tried was sending a value to thing speak through a browser and the line below did as expected.
https://api.thingspeak.com/update?key="your key here"&field1=73

So according to the SLIP protocol all that is needed is appending to the above line is a SLIP_END at the beginning and end of the above line, so i send this via coolterm to the ESP8266
$C0https://api.thingspeak.com/update?key=IMIKD6OIXRK928PZ&field1=73$C0

But i get no receive response back from cool term and thing speak is not updated??????????????????

Any help anyone?

Cheers
Ray
User avatar
By pableitor
#39348 I tried ESP-LINK v2.1.7 on an ESP-12 with Arduino UNO, the SLIP protocol on the REST&MQTT page enabled and uploaded this sketch to the Arduino:
https://github.com/tve/espduino/blob/ma ... o/demo.ino

That worked for me, it sends Arduino data to thingspeak by REST protocol.

Cheers
Pablo