-->
Page 1 of 2

SLIP or PPP possibility

PostPosted: Wed Oct 15, 2014 5:09 am
by AndrewD
I would use ESP8266 in my project based on ARM MCU. I also have my own TCP/IP stack for Ethernet, USB and RS232 hardware. So the preferred way to use ESP for me is using low level protocol as PPP (like in GPRS modems) or SLIP(preferrable). As I undestand, the current frimware has no SLIP or PPP implementation out of the box and current SDK has no API to create such implementation by my own. In theory the SLIP implementation is the simple quest on this hardware, but may be some licence or other limitation exists. So, the final question is the next. Is it possible for me to write my own SLIP implementation into ESP8266? If yes, what steps I need to do to complete this task (except the protocol implementation, of course)?

Re: SLIP or PPP possibility

PostPosted: Thu Oct 16, 2014 7:38 am
by igrr
Ask Espressif whether they will give you link level API documentation if you sign the NDA.
There's a bunch of functions in libphy.a and libnet80211.a you will need to call from your SLIP driver, but I'm not sure they are documented well enough for external use.
Whatever their reply is, kindly post it here :)

Re: SLIP or PPP possibility

PostPosted: Thu Oct 16, 2014 4:31 pm
by jonsmirl
Look in the Rockchip ESP8089 driver
https://github.com/linux-rockchip/kerne ... ss/esp8089

Many good clues in there, maybe enough to get you going.

Re: SLIP or PPP possibility

PostPosted: Sun Oct 19, 2014 10:37 am
by AndrewD
Thanks for information.