On Jan 23, 2007, at 3:54 PM, Hover Dong wrote:

I am in the dictionary of /opt/tinyos-1.x/apps/BomblliaMica. I input "make pc" to compile it for Tossim. Then I create reboot.txt which content is "led(1);" in the dictionary(BomblliaMica). Then I input the command "$ java net.tinyos.script.Scripter -comm tossim- serial reboot reboot.txt" in command line. Then a error occurred. The error message is as below:


ShuHao [EMAIL PROTECTED] /opt/tinyos-1.x/apps/BombillaMica
$ java net.tinyos.script.Scripter -comm tossim-serial reboot reboot.txt
Couldn't instantiate tossim packet source
Did you compile tossim?
java.lang.NullPointerException
java.lang.NullPointerException
        at net.tinyos.message.MoteIF.init(MoteIF.java:164)
        at net.tinyos.message.MoteIF.<init>(MoteIF.java:134)
        at net.tinyos.script.Scripter.main(Scripter.java:114)
ERROR: Could not create a Scripter. Are you in an application directory?

Dose someone have any idea about it? I real appreciate it.


Go to tools/java/net/tinyos/sim and type 'make'.

Phil

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

Reply via email to