kai-morich / SimpleUsbTerminal

Android terminal app for devices with a serial / UART interface connected with a USB-to-serial-converter
MIT License
529 stars 195 forks source link

wrong data received about the newline #53

Closed NortacYWang closed 1 year ago

NortacYWang commented 1 year ago

Hello, here when I send a command, I expect to receive related info from the USB, however, the result returns always "invalid command" which means the usb read invalid command.

image

but interesting thing is: I also tried the Serial Usb Terminal APP: the first time I tried, it returned the same string "invalid command": image

the I changed the receive newline value from CR+LF to CR image

and the result was still invalid command image

then I changed back the receive newline value from CR to CR+LF, tried it again, I got the correct response!

image

Can anyone help me to solve this issue ?

Thanks

kai-morich commented 1 year ago

please try with different send newlines