B4J Question jSerial - TimeOut configuration?

Albán Prada R

New Member
I'm looking for TimeOut configuration option in jSerial.
TimeOut sets the number of milliseconds before a time-out occurs when a read operation does not finish.
I need to receive 1024 bytes, but the receiving routine cuts the string, that is, receiver stops before 1024 bytes.
Sometimes 500, sometimes 700, sometimes 100, and so on...
I need TimeOut (for example 10 byte-time delay) to receive 1024 bytes everytime.
 
Top