Skip to content
New issue

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

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

Already on GitHub? # to your account

Virtual TTY for esp-link with ioctl support. #215

Open
hetii opened this issue Nov 13, 2016 · 4 comments
Open

Virtual TTY for esp-link with ioctl support. #215

hetii opened this issue Nov 13, 2016 · 4 comments
Labels

Comments

@hetii
Copy link
Contributor

hetii commented Nov 13, 2016

Hello ;)

I wrote application that expose virtual tty under linux (/dev/ttyCUSE0) and pass all data to esp-link.
It also handle IOCTL so its possible to control esp-link uart settings like in any other serial port.

The code can be found on my bitbucket account:
cusetty

Its in alpha stage and currently handle uart communication as well as fmt rest argument.

But it should be easy to add as well other things like setting baudrate RTS/CTS flow etc...

Feel free to contribute it :)

@tve
Copy link
Member

tve commented Nov 30, 2016

Cool! Do you use the telnet escape codes supported by esp-link for the uart settings?

@tve
Copy link
Member

tve commented Dec 11, 2016

Nice! I think it would be better if you used the Telnet protocol escape codes to change settings in esp-link, though.

@tve tve added the question label Dec 11, 2016
@hetii
Copy link
Contributor Author

hetii commented May 24, 2017

I didn`t know before that esp-link support escape sequences that change uart settings.
Now I see some implementation in telnetUnwrap() function.
Is it based on RFC2217 or some other?

@tve
Copy link
Member

tve commented Jun 18, 2017

yes it is.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Development

No branches or pull requests

2 participants