java - Using lybrary RXTX 2.1 -


I am programming Java code with some code programming, the problem is that the buffer can be obtained because the variable It can be as long as 512 bytes, when it is too long, I get the message split. I thought the serial incident was first activated with the arrival of the character, and when the program buffers it has not been completed. In other languages, there is a way of telling the library that special letters come only when activating that event, so does this happen in the library? Thank you .-

No, there is no such functionality in RXTX. You can vote your message with a buffer and The code must be re-arranged by combining your message.

Note that this library does not have a limit, but according to the RS-232 method: single bytes are transmitted without any assumption of high level reference; It is only.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -