AlphaLima / ESP32-Serial-Bridge

Wifi to 3x Serial bridge based on a ESP32
http://www.postfrontal.com/forum/topic.asp?TOPIC_ID=8467
MIT License
399 stars 136 forks source link

Consuming Virtual Coms #8

Open thboomsma opened 5 years ago

thboomsma commented 5 years ago

Thanks for this library

Got it installed and it works fine up to the telnet part.

Can you reference any libraries or code for NodeJS or the browser itself to consume these virtual COM's I found this one: https://github.com/papnkukn/remote-serial-port-client But this is specifically written for NodeJS Virtual Com server

Thanks in advance Theo Boomsma

thboomsma commented 5 years ago

Update: Socat to a local dev folder socat pty,link=/$HOME/dev/VCOM0,waitslave tcp:yourESPIP:YourESPPort/ OR screen -s19200 telnet yourESPIP YourESPPort

...seem to work but i am looking for a HTML5/JS method of connecting directly so as to host a /client web page on the same ESP32 so to get direct access to the COM ports (after authentication) Regards

thboomsma commented 5 years ago

Is it possible to run this on WebSockets optionally of raw TCP sockets? I've been trying to get that working to no avail... please advise