Yes sorry I just asked the question too fast. It's working I am receiving packet from my nodes. However there is something I still don't understand. When you do make telosb install or reinstall what is the difference. I mean how does it works if you install when are in two different application, do the new one erase the previous one ? make telosb install,1 make telos reinstall,2 is used in the tutorial and I don't understand the difference. Thank you for you help once again.
On Wed, Nov 16, 2011 at 1:48 AM, Urs Hunkeler <urs.hunke...@epfl.ch> wrote: > Hi, > > It depends on the program running on the TelosB. Normally, you should soon > start to see the packets that the mote is sending over the serial port, > otherwise something is wrong. Do you see data when you open the port in a > terminal emulator (e.g., "screen /dev/ttyUSB0 115200") ? > > Cheers, > Urs > > > On 11/15/11 6:50 PM, Baudry Arthur wrote: > >> Thank you, your line of command introduced in my .bashrc worked but I get >> stuck on : serial@/dev/ttyUSB0:115200 resynchronising >> for a long time I am not sure if I am suppose to wait or if it is >> another problem. Thank you anyway to both of you for the help. >> >> >> On Tue, Nov 15, 2011 at 2:10 AM, Urs Hunkeler <urs.hunke...@epfl.ch<mailto: >> urs.hunke...@epfl.ch>> wrote: >> >> Hi, >> >> It looks like the TinyOS Java libraries are not in your classpath. >> There >> should be a tinyos.jar file somewhere, and the CLASSPATH environmental >> variable should point to it. >> >> You can try something like: >> >> export CLASSPATH=.:$TOSROOT/support/**sdk/java/tinyos.jar >> java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:telosb >> >> Cheers, >> Urs >> >> >> On 11/15/11 3:25 AM, Baudry Arthur wrote: >> > Thank you for your support. >> > I have compiled listen.java using javac, it worked but if I execute >> > the same command as previously : >> > java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:115200 >> > >> > Now I get : >> > >> > Exception in thread "main" java.lang.**NoClassDefFoundError: >> > net/tinyos/packet/Packetizer >> > at >> net.tinyos.packet.BuildSource.**makeSerial(BuildSource.java:**241) >> > at >> net.tinyos.packet.BuildSource.**makeArgsSerial(BuildSource.**java:230) >> > at >> net.tinyos.packet.BuildSource.**makePacketSource(BuildSource.** >> java:138) >> > at net.tinyos.tools.Listen.main(**Listen.java:56) >> > >> > Any thoughts ? >> > >> > On 11/14/11, Modi, Jenis >> Ashokkumar<jenis.modi@email.**wsu.edu<jenis.m...@email.wsu.edu> >> <mailto:jenis.m...@email.wsu.**edu <jenis.m...@email.wsu.edu>>> >> wrote: >> >> >> Hi Arthur, >> >> Chech whether Listen class is located at that location, also >> check if it's >> >> java file is available. If java file is available then you need >> to compile >> >> that file. >> >> >> >> Let me know if you are still facing problem . >> >> >> >> Jenis >> >> >> >> >> >> >> >> On Nov 14, 2011, at 5:09 PM, "Baudry >> Arthur"<arthur.baudry@gmail.**com <arthur.bau...@gmail.com> <mailto: >> arthur.baudry@gmail.**com <arthur.bau...@gmail.com>>> >> >> >> wrote: >> >> >> >>> Good evening everyone, >> >>> >> >>> I am running on a xubuntu virtual machine on my windows 7 >> laptop and I am >> >>> trying to make configure one of my USB port to listen to a serial >> >>> communication coming from telosb node (as the telosb only >> communicate >> >>> through usb I use that usb port as a serial one). I enter this >> command >> >>> when I am in /opt/tinyos-2.1.0/support/sdk/**java >> >>> >> >>> java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:115200 >> >>> >> >>> as my usb port is at /dev/ttyUSB0 >> >>> and the rate of the communication for telosb is 115200 >> >>> I get this error: >> >>> Exception in thread "main" java.lang.**NoClassDefFoundError: >> >>> net/tinyos/tools/Listen >> >>> >> >>> Does anyone know how to fix this issue ? >> >>> >> >>> -- >> >>> Arthur Baudry >> >>> ESEO >> >>> >> >>> ______________________________**_________________ >> >>> Tinyos-help mailing list >> >>> >> Tinyos-help@millennium.**berkeley.edu<Tinyos-help@millennium.berkeley.edu> >> >> <mailto:Tinyos-help@**millennium.berkeley.edu<Tinyos-help@millennium.berkeley.edu> >> > >> >> >>> >> https://www.millennium.**berkeley.edu/cgi-bin/mailman/** >> listinfo/tinyos-help<https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help> >> >> >> >> >> > >> > >> >> ______________________________**_________________ >> Tinyos-help mailing list >> Tinyos-help@millennium.**berkeley.edu<Tinyos-help@millennium.berkeley.edu> >> >> <mailto:Tinyos-help@**millennium.berkeley.edu<Tinyos-help@millennium.berkeley.edu> >> > >> >> https://www.millennium.**berkeley.edu/cgi-bin/mailman/** >> listinfo/tinyos-help<https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help> >> >> >> >> >> -- >> Arthur Baudry >> ESEO >> >> > -- Arthur Baudry ESEO
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help