Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PPP #992

Open
israellot opened this issue Mar 2, 2017 · 3 comments
Open

PPP #992

israellot opened this issue Mar 2, 2017 · 3 comments
Labels

Comments

@israellot
Copy link

LWIP PPP implementation could be included. It would be a nice feature to plug a GPRS modem on serial and talk PPP to it.

@slaff
Copy link
Contributor

slaff commented Mar 2, 2017

Can you share more details about that?

@slaff
Copy link
Contributor

slaff commented Mar 2, 2017

I saw some implementations that can be used as a start. So far I can see we need the sio functions for the serial communication

sio_fd_t 	sio_open (u8_t devnum)
void 	sio_send (u8_t c, sio_fd_t fd)
u8_t 	sio_recv (sio_fd_t fd)
u32_t 	sio_read (sio_fd_t fd, u8_t *data, u32_t len)
u32_t 	sio_tryread (sio_fd_t fd, u8_t *data, u32_t len)
u32_t 	sio_write (sio_fd_t fd, u8_t *data, u32_t len)
void 	sio_read_abort (sio_fd_t fd)

which can be mapped easily to our existing HardwareSerial functions.

And probably we can use as a base something like that https://github.com/MarioViara/gprs. So the more I think about it the more I like the idea.

The only thing that we need now are volunteers to implement that :) Anyone willing to try it?

@slaff slaff added the Ideas label Mar 2, 2017
@israellot
Copy link
Author

https://github.com/espressif/ESP8266_RTOS_SDK/tree/master/third_party/lwip/netif/ppp
Here's the ppp code on espressif RTOS sdk. It is not present on non-os version. I wonder if that's a starting point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants