-
• #2
Mostly we connect with Serial for ESP32, I'm not sure why it would be quite as slow as you're seeing over TCP.
115200 baud would be right for ESP32. The 'Unknown error code 31' seems like it comes from the serialport library though. I quick google showed: https://github.com/serialport/node-serialport/issues/1961
Sounds nuts but have you tried a different USB cable/port?
-
• #3
Or https://stackoverflow.com/questions/35977468/nodejs-serialport-setcommstate which implies there aren't drivers for the serial port chip you're using. Are you able to connect with a terminal app like Putty?
1 Attachment