[Likely SPAM] Re: [Tinyos-help] TinyOS 2.x: cannot recieve message from node?

Philip Levis pal at cs.stanford.edu
Tue Feb 13 23:58:40 PST 2007


On Feb 13, 2007, at 9:35 PM, Jiakang Lu wrote:


> Hi all,
>
> I need to mention that I meet the same problem on TinyOS 2.0 under  
> Ubuntu, generally following the instructions "http://www. 
> 5secondfuse.com/tinyos/install.html". The JDK I use is SUN  
> jdk1.5.0_11, the same as I installed under WinXP.
>
> If possible, can anyone that works fine with it tell me how you  
> install and configure the environment, either Cygwin or Linux?  
> Since I'm urgent to move on, your information will help a lot. :-)

I have definitely observed this in Ubuntu. I haven't had a chance to  
get to the bottom of the problem, though.

What you want to do is run a C serial forwarder. You can of course  
then use Java tools that connect to a serial forwarder. For example,  
you can start a C serial forwarder then run net.tinyos.tools.MsgReader.

Try

./sf.exe 9002 /dev/ttyS6 115200

This tells the C serial forwarder to listen for connections on port  
9002 and to read packets from the serial port /dev/ttyS6 at speed  
115200.

You should then be able to to stuff like

java net.tinyos.tools.MsgReader -comm sf at localhost:9002 <some class>


Phil


More information about the Tinyos-help mailing list