usb-serial-telnet-server icon indicating copy to clipboard operation
usb-serial-telnet-server copied to clipboard

Bug: Data truncation in lengthy outputs

Open 813ethan opened this issue 8 months ago • 3 comments

i am trying to utilize this app for communicating with an rp2350 with micropython. The app works perfectly well, but the tcp output seems to be truncated if its longer than 256 characters (e.g print('abcdefg'*500)). Is that a feature of the server or a bug? The truncation doesn't seem to happen when i directly access the serial.

813ethan avatar Apr 23 '25 09:04 813ethan

Hi. Sorry for the late reply. That's strange, because the buffer size is 1024 bytes, and it shouldn't be a problem. Could you share the logcat logs? Maybe it's a limitation of the USB-serial library...

ClusterM avatar Jun 16 '25 21:06 ClusterM

Please try debug version from here: https://clusterm.github.io/usb-serial-telnet-server/ Reproduse the problem and send me logcat output.

ClusterM avatar Jun 17 '25 23:06 ClusterM

ok sorry for the late reply, here's the log:

log.txt

813ethan avatar Jul 27 '25 05:07 813ethan