Use java to read files from the serial port
•
Java
I'm a beginner in Java. I'm writing ("flash") GetBytes () like this to serialport
Before I put flash_ After OK as a response, I send the file request again Then I'll get file_ OK response, then I have read the file to the end of the file
I didn't get how to do this, so please help me
Thank you for your reply
Solution
Jssc is a stable serial port IO Java library. Please see the following examples:
>Write data to serial port > read data from serial port
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码