[Tinyos-help] TinyOS Lesson 7

Michael Schippling schip at santafe.edu
Thu Sep 29 13:19:21 PDT 2005


start by checking that your MOTECOM envvar specifies the right
mote device. mica2dot and telos run at 19.2, mica2 and micaz
at 57.6. See the Getting Started manual (I think) for MOTECOM
stuff.

MS

andrew michigan wrote:
> Hi,
> 
> This is what I typed in Cygwin:
> 
> bm3009 at BW-4-R17-05 /cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/tools
> $ cd java
> 
> bm3009 at BW-4-R17-05 /cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/tools/java
> $ java net.tinyos.tools.BcastInject 125 led_on
> Usage: java net.tinyos.tools.BcastInject <command> [arguments]
>        where <command> and [arguments] can be one of the following:
>                led_on
>                led_off
>                radio_louder
>                radio_quieter
>                start_sensing [nsamples interval_ms]
>                read_log [dest_address]
> 
> bm3009 at BW-4-R17-05 /cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/tools/java
> $ java net.tinyos.tools.BcastInject led_on
> Sending payload: 1 1 0 0 0 0 0 0 0 0 0
> Built a Packet source for unknown
> We're connected to avrmote
> 
> bm3009 at BW-4-R17-05 /cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/tools/java
> $
> 
> 
> This is what I got in the SerialForwarder:
> 
> Listening to serial at COM1:19200
> Listening for client connections on port 9001
> serial at COM1:19200: resynchronising
> write failed
> 
> 
> I invoked my SerialForwarder before the BcastInject commands. I didn't 
> get the leds working. What could be the problem? Thanks.
> 
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar – get it now! 
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


More information about the Tinyos-help mailing list