[prev in list] [next in list] [prev in thread] [next in thread]
List: rxtx
Subject: Re: [Rxtx] Win32 / Bluetooth via COMxx exception.
From: Fabio Frumento <f.frumento () ngi ! it>
Date: 2006-01-30 10:09:17
Message-ID: 43DDE5CD.1080306 () ngi ! it
[Download RAW message or body]
Hi Thanasis,
If you send some step by step on How to reproduce the problem
(configuration used and so on) i can set-up some tests, i'm currently
using a bluetooth adapter and it's working fine for me, but i'm using
the simplest configuration (No Flow control, no parity, 1 stopbit and 8
databits @38400).
Let me know
Regards
Fabio Frumento
PS: To Trent, i'm a bit in late with my code review but i've not forgot
it, currently i'm writing alot of docs for my projects (i hate to write
docs...)
Thanasis Delenikas wrote:
> Hi Trent, all.
>
> I have reports of the following error:
>
> When using RXTX on Windows, connecting to a virtual COMM port that
> passes through a Bluetooth connection, the following exception appears:
>
> <<<
> Devel Library
> =========================================
> Native lib Version = RXTX-2.1-7pre20
> Java lib Version = RXTX-2.1-7pre20
> Error 0x1 at
> /home/bob/rxtx-2.1-CVS-20050120/build/../src/termios.c(2505): Incor
> rect function.
>
> Exception in thread "main" java.io.IOException: No error in
> nativeDrain
> at gnu.io.RXTXPort.nativeDrain(Native Method)
> at gnu.io.RXTXPort$SerialOutputStream.flush(RXTXPort.java :1193)
> at org.jsmsengine.CSerialDriver.send(CSerialDriver.java:146)
> at org.jsmsengine.CATHandler.sync(CATHandler.java:59)
> at org.jsmsengine.CService.connect(CService.java:333)
> at ReadMessages.main(ReadMessages.java :54)
> Error 0x1 at
> /home/bob/rxtx-2.1-CVS-20050120/build/../src/termios.c(2505): Incor
> rect function.
> >>>
>
> The same exception appears again and again in each read/write cycle,
> although it seems that the operation is succesful, i.e. exception is
> thrown but the data gets read correctly.
>
> I still cannot reproduce it here, since I have some other, unrelated
> problems with my bluetooth adapter on my laptop, but I will try to
> reproduce it and give you more info if required.
>
> Regards,
> Thanasis.
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Rxtx mailing list
> Rxtx@qbang.org
> http://mailman.qbang.org/mailman/listinfo/rxtx
_______________________________________________
Rxtx mailing list
Rxtx@qbang.org
http://mailman.qbang.org/mailman/listinfo/rxtx
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic