Giter Club home page Giter Club logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 10, 2024
Some thougs about implementation variants:

1. void write(byte[] data,long writeTimeoutMs)
   Writes the data and wait at most writeTimeoutMs milliseconds to resume, otherwise an    IOException or a Subtype will be thrown eg. IOTimeoutException

2. Future<Integer> write(byte[] data)
   Writes the data non blocking and returns a Future that can be consumed later. Its like the "overlapped" API for Windows. The Future returns the written bytes or throws an ExecutionException containig the cause SerialPortException

3. provide an additional method setWriteTimeout(long writeTimeoutMs) to set the 
Timeout that should be used for the next write operation.

Original comment by [email protected] on 29 Oct 2012 at 12:22

from java-simple-serial-connector.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 10, 2024
I also encountered this bug. I do not understand why have not decided yet.

Original comment by [email protected] on 16 May 2014 at 11:00

from java-simple-serial-connector.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 10, 2024
Hi,

I have an application which sends a reset command to an external device (via 
bluetooth). The next write is typically not possible since its not avaliable 
anymore. This causes my UI-Thread to hang infinitely. Is their anything I could 
help to get this fixed? its very urgent to me..

THX
-Marco

Original comment by [email protected] on 28 Oct 2014 at 2:08

from java-simple-serial-connector.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 10, 2024
hi,

your suggestion to close it from another thread is not working for me, so it 
would be really good to get this fixed. it crashed my whole application on 
windows.

THX!
-marco

Original comment by [email protected] on 28 Oct 2014 at 2:48

from java-simple-serial-connector.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 10, 2024
Hi,

anything new on this? I could ask for a reward if someone fixes this! 
Interested?

thx

-marco

Original comment by [email protected] on 10 Feb 2015 at 8:42

from java-simple-serial-connector.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 10, 2024
This issue bothered me for a few days. Hope it can be solved soon. 

Original comment by [email protected] on 23 Apr 2015 at 9:10

from java-simple-serial-connector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.