It seems a access denied problem on the port : try before with chmod 666 serialport
then use listen and testserial. Bye Giorgio On Monday 20 July 2009 10:24:37 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 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
