rodel-talampas / java-simple-serial-connector

Automatically exported from code.google.com/p/java-simple-serial-connector
0 stars 0 forks source link

Getting around with readbytes #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I need to read the whole buffer. I don't know the number of bytes in advance. 
Your api doesn't allow it.

Original issue reported on code.google.com by software...@gmail.com on 4 Apr 2011 at 2:48

GoogleCodeExporter commented 9 years ago
yes me too, and also there is no time out; i just need this 

serPort.writeBytes(somebytes);
flush
buff=serPort.readBytes();

without lanching a listener.

Original comment by developp...@gmail.com on 17 Apr 2011 at 10:54

GoogleCodeExporter commented 9 years ago

Original comment by scream3r.org@gmail.com on 25 Apr 2011 at 7:46

GoogleCodeExporter commented 9 years ago

Original comment by scream3r.org@gmail.com on 23 Nov 2011 at 3:51

GoogleCodeExporter commented 9 years ago
This issue was labeled fixed, but I can't find the method to read the whole 
buffer (I also don't know the number of bytes in advance). Could you please 
point out what the method of reading the whole buffer is, if this issue is 
fixed?

Original comment by semtuken...@gmail.com on 12 Feb 2013 at 5:49

GoogleCodeExporter commented 9 years ago
To elaborate a bit more: testing in Mac OS X gives the correct result of the 
whole input buffer at once. But in Windows 7 32 bit I don't get the input 
buffer as a whole, but it iterates for every input buffer byte. Is this a bug?

Original comment by semtuken...@gmail.com on 14 Feb 2013 at 2:02