Hi, I am going to Java, my project is connected to the comm port in the directory, I have 15 integers for the port If the value must be sent, then other device will send 15 as feedback, now I am writing the output stream, but I am not getting the response. Please help me to solve this problem. (I'm using the javax.com package)
Thanks for the reply
Also, remember to mention OutputStream.flush (), after writing your output, otherwise your data may be sent later - if the respondent is waiting for your data, then this is the most There is more chance where things go wrong. After saying this: The javax.comm package is actually outdated, the last time I worked with it, it seemed almost dislike to the Sun, or was not maintained at least in any way. You can see other solutions (comes to mind).
Comments
Post a Comment