Hi,

With SerialForwarder it will work. You can have several listeners/receivers
and several senders.

-Bill

On Mon, Jul 20, 2009 at 12:58 PM, Michael Schippling <[email protected]>wrote:

> You are SOL as they say...
>
> Only one program can have a port open at a time.
> You might be able to use the SerialForwarder program
> as an intermediary, but I'm not sure that it allows
> more than one client either. Otherwise you need to
> combine your listener and sender programs into one.
>
> MS
>
> chikh omar wrote:
> > following lesson 4: Mote-pc serial comm
> > When I try to run :
> > $ java net.tinyos.tools.Listen
> > on a cygwin window
> > and
> > $java TestSerial
> > on another cygwin window I got the following error:
> > ser...@com10:115200 <mailto:ser...@com10:115200> died - exiting
> > (java.io.IOException: Could not open COM10: TOSComm JNI library runtime
> erro
> > r: Error 5.
> >    Accés refusé.
> >    in NativeSerialPort.CreateFile)
> >
> > I understand that it is an refused acces problem. But in my application
> > i need two apps to communicate with serail port : one for listening and
> > one for sending message.
> >
> > Any help please.
> >
> > ***********************************************
> > Omar Cheikhrouhou
> > **Engineer & Researcher @SENS Lab (Software Engineering and Network
> > Security)
> > Higher Institute of Technological Studies - Address : Mahdia's road Km
> > 2.5 Sfax. BP 88 A - 3099 El Bustan Sfax Telephone :  (+216)74 237425
> > Poste : 437**  **Fax: : (+216)74 431 386*
> >
> > *Ph.D @ CES Lab (Computer and Embedded System)-University of Sfax,
> > National School of Engineers BP W, Sfax, 3038, Tunisia ,
> > Fax:(+216)74665369 ** *
> >
> > *Coordinator C2i @ ISET Sfax (Certified C2i since 2008)*
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > [email protected]
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Ing. Guillermo De Cesco
Invenio Ingenieria srl.
tel: (54)2944 442119
web: www.invenioing.com
Av. Pioneros 4163 Dpto 6. CP(R8402AMH)
San Carlos de Bariloche.
Rio Negro, Argentina.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to