jeelabs / esp-link

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

Connecting to port 2323 does not reset the MCU until first char is sent. #388

Open overisberg opened 6 years ago

overisberg commented 6 years ago

I noticed that when connecting to post 2323 it does not reset the MCU until a character is sent. When I connect to port 2323 I expected that the Arduino will reset and I would get the output from my program in the Arduino.

If the current behavior is not correct I can try to fix this...

Best Regards Ove

uzi18 commented 6 years ago

I fought it work like you described. I will wait for your patch to test it.

overisberg commented 6 years ago

Steps to reproduce: 1) Load ASCIITable.ino on your Arduino 2) telnet to port 2323 on your esp-link 3) You will not get any output from the Arduino... 4) Press any key 5) Now you will get the ASCII table from the Arduino 6) Load my change on the esp-link 7) telnet to port 2323 on your esp-link 8) You will get the ASCII table from the Arduino

I have attached a git diff with my change... do you want me to do a pull request? port2323.txt