-->
Page 1 of 2

UART TCP tunneling

PostPosted: Fri Mar 20, 2015 5:58 pm
by Vitoa
Hi, i want to do a continuous 115200 uart streaming to other mother to output that uart to some device at 115200.
Any ideias for bufferig method, so that i could stream a continuous 115200 over tcp to other module uart

Best regards,Vito

Re: UART TCP tunneling

PostPosted: Fri Mar 20, 2015 9:18 pm
by pvvx

Re: UART TCP tunneling

PostPosted: Fri Mar 20, 2015 9:54 pm
by Vitoa
Hi, this is a really nice project!
Default UART speed is 115273 shouldn't it be 115200?
Switching to b wireless mode the wireless range is 2times more
I wanted to switch to wireless b mode in nodemcu but didnt found anyway.This wireless configuaration api is really powerfull . Is there any way to have that AP/STATION configuration web api using nodemcu firmware?
It would be also great if this web api accept upload .lua or .lc script file to run with nodemcu, and option to enable/disable tcp2uart in order to use uart with nodemcu lua script.

Regards,Vito

Re: UART TCP tunneling

PostPosted: Sat Mar 21, 2015 7:42 pm
by pvvx
No Lua, no kindergarten :D .
80000000MHz CLK UART/115200 Baud = 694.444444
80000000/694 = 115273.775216 baud
Source code http://esp8266.ru/forum/threads/razrabo ... sp8266.56/