On Jul 25, 2006, at 1:18 AM, Mohan Hambar wrote:

I have tried by changing the environment variables. But even with the properly set environment variables, I got wrong results. I am not getting the reason behind that.

For 1.x the variables are set as

            TOSROOT  ="/opt/tinyos-1.x"
            TOSDIR    ="$TOSROOT/tos"
            CLASSPATH =`$TOSROOT/tools/java/javapath`
            MAKERULES ="$TOSROOT/tools/make/Makerules"

and for 2.x

          TOSROOT ="/opt/tinyos-2.x"
          TOSDIR  ="$TOSROOT/tos"
          CLASSPATH=`cygpath -w
                          $TOSROOT/support/sdk/java/tinyos.jar;.`
          MAKERULES="$TOSROOT/support/make/Makerules"

Without looking at your setup, it's hard to know exactly what is going on. But it seems pretty likely that it's a packet size mismatch problem. It seems that xlisten doesn't use any of the Java stuff, so it's hard to say exactly what's going on. You might want to use the Listen or ListenRaw tools to see what the packets coming out look like.

Phil

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to