On Tue, June 5, 2007 12:48 pm, vazoumana fofana said: > My platform is Xubuntos. I've got a firewall. I know it 's possible to > execute java Testserial without defining MOTECOM.
Only if you have the SerialForwarder running. > I understand you must > execute java testserial in adding options -comm with port. if you just type > java testserial, it doesn't work. Is it right ? Java mote communication defaults to a loopback connection, not the serial port. If you want to communicate over the serial port you use one of: export [EMAIL PROTECTED]:19200 # mica baud rate export [EMAIL PROTECTED]:mica # mica baud rate, again export [EMAIL PROTECTED]:mica2 # the mica2 baud rate, on a different serial port export [EMAIL PROTECTED]:57600 # explicit mica2 baud rate or you may: java net.tinyos.sf.SerialForwarder -comm [EMAIL PROTECTED]:<baud rate> But I am not familiar with the testserial program. It may be able to take arguments on its own or not work with the SerialForwarder. >>From: "Benjamin Madore" >>To: "vazoumana fofana" >>CC: [email protected] >>Subject: Re: [Tinyos-help] [lesson 4 with tinyOs2.0] >>Date: Tue, 5 Jun 2007 12:12:37 -0400 (EDT) >> >> >>On Tue, June 5, 2007 10:26 am, vazoumana fofana said: >> > i try to compile the lesson 4 Mote Pc serial Communication and Serial >> > Forwarder : >> > When i execute java TestSerial, there is an error message wich appears : >> > [EMAIL PROTECTED]:9002 died - exiting (java.net.ConnectException: >> > Connection >> > refused). >> >>What platform? (Windows, Linux, Mac) Do you have a firewall? Have you set >>up >>your motecom variable? What commands are you using to execute TestSerial? >>Are you using the serial forwarder or not? >> >>What version of TinyOS? >> >>-- >>The difference between the right word and the almost right word is really a >>large matter- it's the difference between a lightning bug and the >>lightning. >>-Twain >> > > _________________________________________________________________ > Gagnez des écrans plats avec Live.com http://www.image-addict.fr/ > -- The difference between the right word and the almost right word is really a large matter- it's the difference between a lightning bug and the lightning. -Twain _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
