Re: Virtual Serial Ports on TINI
Shawn Silverman <[email protected]> Fri, 25 Jun 2004 10:42:39 -0500
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
If TINI supports the CommDriver mechanism, then yes, you could do it. =20 You may want to have a look at how RFCOMM works in the Bluetooth spec=20 for an idea of how to "stream" serial ports. -Shawn On 25-Jun-04, at 2:57 AM, Mihaela Tarjoianu wrote: > Hello everybody, > =A0 > =A0 > =A0=A0=A0=A0=A0 After searching the archives I couldn't find > anything about creating virtual serial ports on tini > and I want to ask for your advice. > =A0 > =A0=A0=A0=A0=A0 I need to make on serial4 another 2 virtual > serial ports. So that I would be able to use > "serial4", "serial5" and "serial6" on=A0serial4 port. Do > you think this is possible? > =A0 > =A0=A0=A0=A0=A0 I tried to modify TINISerialPort.java from > tiniclasses.jar so that when it receives "serial5" to > work with "serial4". I compilled it and I put it in > tiniclasses.jar, but when I want to read (after > openning it) from "serial5" (even when I don't work > with "serial4") I receive nullPointerException. Am I > on a wrong way? Can't I=A0create virtual ports using > this TINISerialPort.java? > =A0 > =A0=A0=A0=A0 Do you think I have to create a new .tlib file > which to permit using differents names but in fact > using the same serial port? > =A0 > =A0=A0=A0=A0 Thanks. > =A0 > Mihaela Tarjoianu _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini