Skip to content

SerialPortTimeoutException trown while result shows it returned correct value and amount of bytes #78

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
The following code is used:
try
{
    byte[] result = connection.readBytes(2, 1000);
}
catch (SerialPortTimeoutException ex)
{
    System.out.println(Arrays.toString(result));
}

What is the expected output? What do you see instead?
Output shows that both bytes were filled with the correct values(both bytes 
were filled with correct anwswer) thus a timeout exception should not be trown.

What version of the product are you using? On what operating system?
2.8.0(Maven version)

Please provide any additional information below.


Original issue reported on code.google.com by remielo...@gmail.com on 4 Jan 2015 at 4:27

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions