Hi ,
 
I am running the tinyos-1.x version and installed TinyDBApp given in apps/ directory of tinyos installation.
 
I have installed the application like this
 
For node 0 :
MIB510=/dev/ttyS0 make install.0 mica2            
 
For node 1:
MIB510=/dev/ttyS0 make install.1 mica2
 
likewise for three other nodes.
 
Next step :
I have included the following .jar files path in $CLASSPATH
/tools/java/jars/cup.jar
/tools/java/jars/jazz.jar
/tools/java/jars/Jlex.jar
/tools/java/jars/junit.jar
/tools/java/jars/oalnf.jar
/tools/java/jars/pgjdbc2.jar
likewise .......... for other jar files
 
The CLASSPATH looks like this:
 
$ echo $CLASSPATH
.;G:\PROGRA~1\cygwin\opt\tinyos-1.x\tools\java;G:\PROGRA~1\cygwin\opt\tinyos-1.x\tools\java\jars\oalnf.jar;G:\PROGRA~\cygwin\opt\tinyos1.x\tools\java\jars\pxgraphapplet.jar;G:\PR
OGRA~1\cygwin\opt\tinyos-1.x\tools\java\jars\JLex.jar;G:\PROGRA~1\cygwin\opt\tinyos-1.x\tools\java\jars\cup.jar;G:\PROGRA~1\cygwin\opt\tinyos-1.x\tools\java\jars\jazz.jar;G:\PROGRA~1\cygwin\opt\tinyos-1.x\tools\java\jars\junit.jar;G:\PROGRA~1\cygwin\opt\tinyos-1.x\tools
\java\jars\pgjdbc2.jar;G:\PROGRA~1cygwin\opt\tinyos1.x\tools\java\jars\plot.jar;G:\PROGRA~1\cygwin\opt\tinyos-1.x\tools\java\jars\xercesImpl.jar;G:\PROGRA~1\cygwin\opt\tinyos-1.x\tools\java\jars\xmlParserAPIs.jar
 
Next step :
I go to /tools/java directory and type the command:
 
java net.tinyos.tinydb.TinyDBMain
 
The GUI appears , but when i fire the querry , the only thing that happens is that red LED glows on node 0 , and after some time yellow as well as green LED glows.
 
The problem is that even after a long time , no results appear on the GUI.
 
What might be the problem.
 
I am using jdk1.4.1_02.
 
I welcome any help or suggestions............................!
 


How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to