jeelabs / esp-link

esp8266 wifi-serial bridge, outbound TCP, and arduino/AVR/LPC/NXP programmer
Other
2.82k stars 720 forks source link

UART settings 1.5 and 2 stop bits do not take any effect #426

Open uschwark opened 5 years ago

uschwark commented 5 years ago

Hello,

first of all I'd like to thank all developers of esp-link. It is really a great piece of work with loads of potential for many very useful applications. For me it is the ideal solution for building a wireless network interface for my Viessmann boiler system. This boiler system supports a serial interface with rather unusual settings (4800 baud, 8 data bits, even parity and 2 stop bits). I was wondering why communication between an otherwise fully functional ESP8266-based NodeMCU board flashed with the lates stable release of esp-link and this boiler system is not possible with these settings of esp-link. That's why I connected my DSO to the UART TX line and discovered, that it does not make any difference whether I configure 1, 1.5 or 2 stop bits on the esp-link uC Console page. The UART TX signal simply does not change, while I would expect a gap between two characters of length varying with the different stop bit settings. A measurement of the serial signal generated by an FTDI USB-to-serial adapter yields the expected behavior. Could it be, that some of the UART settings on the uC Console page of esp-link are not effective? If you need any further description of the behavior please let me know. I appreciate any help on this issue.

Cheers uschwark

zalexua commented 1 year ago

I can confirm that too, in recent v3.2.47-g9c6530d