[Tinyos-help] TinyOS Lesson 7

andrew michigan andrew_michigan at hotmail.com
Thu Sep 29 10:19:48 PDT 2005


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:
                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! 

More information about the Tinyos-help mailing list