On Wed, Nov 16, 2011 at 6:04 AM, Baudry Arthur <[email protected]>wrote:
> 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. make telosb builds a binary (compiles the app) but doesn't do anything else with it. make telosb install builds a binary (compiles) and installs it into the first found mote (telob mote it finds), it uses the default node number make telosb install,1 builds (compiles), forces the node id to be 1, and installs in the first found mote. make telosb reinstall,2 does NOT recompile, changes the node id to 2, and installs in the first found mote. there are ways of telling the installer to point at a different device rather than the first found mote. 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 <[email protected]>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 <[email protected]<mailto: >>> [email protected]>> 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<[email protected]> >>> <mailto:[email protected].**edu <[email protected]>>> >>> 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 <[email protected]> <mailto: >>> arthur.baudry@gmail.**com <[email protected]>>> >>> >>> >> 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<[email protected]> >>> >>> <mailto:Tinyos-help@**millennium.berkeley.edu<[email protected]> >>> > >>> >>> >>> >>> 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<[email protected]> >>> >>> <mailto:Tinyos-help@**millennium.berkeley.edu<[email protected]> >>> > >>> >>> 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 > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Eric B. Decker Senior (over 50 :-) Researcher
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
