For Programmers: Free Programming Magazines  


Home > Archive > Java Help > February 2005 > JAVA and virtual port, please help!









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author JAVA and virtual port, please help!
JokeR

2005-02-23, 4:02 pm

Hi!

I've been doing loads of work using RXTXcomm java class lately, and it was
used for communication with serial port (the real one, ttyS0)
Now, I have a big problem (at least that's what it seems to be for me) - I
have mapped (mknod) a virtual port, and need to communicate with it. And so
it happends that this class (RXTXcomm), the
CommPortIdentifier.getPortIdentifier (or ...Identifiers) just does not see
it at all. As if it was not there... and I just have no idea how to get to
it.

more detailed - I use this port to communiacte with bluetooth device via
bluetooth usb stick. I do mknod /dev/rfcomm0 c 216 0 and when I connect to
it using some terminal device, it seems to be working fine. But, when I try
to find it using RXTXcomm, it does not exist.

Can anyone give me some idea what to do next, seems to me that RXTX just
cannot read non-physical ports. am I right?
Please, please, please... any help would be a GREAT help to me on this!

Biiiiiiiiiiiiig thanks in advance!

..z.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com