SmingHub / Sming

Sming - powerful open source framework simplifying the creation of embedded C++ applications.
https://sming.readthedocs.io
GNU Lesser General Public License v3.0
1.47k stars 349 forks source link

Bridge UART <-> TCP #1232

Open fvpalha opened 6 years ago

fvpalha commented 6 years ago

Hi, someone made a bridge (TCP <-> Serial) with Sming 3.3.0 ?

ADiea commented 6 years ago

Hi @fvpalha how is this supposed to work like SLIP? - this is only ip encapsulated over serial not tcp Do you have an example project? Are you referring to the AT commands firmware from Espressif?

fvpalha commented 6 years ago

Hi @ADiea . I need, over TCP, send bytes to UART and receive bytes from UART. I am looking for a little sample.

ADiea commented 6 years ago

This could help https://github.com/pvvx/esp8266web Forum thread is here https://esp8266.ru/forum/threads/razrabotka-biblioteki-malogo-webservera-na-esp8266.56/ in russian use google translate. Maybe you can extract the tcp2uart part from that project if possible needs investigation

fvpalha commented 6 years ago

Thank you @ADiea