Did you follow the instructions in the first error message?
 > Getenv JNI library not found.  Env.getenv will not work
 > (run the tos-install-jni tool, see man tos-install-jni for more details)

Search for getenv.dll for a lot of discussion.
MS


Strandberg, Elizabeth wrote:
> Hello All,
>  
> I am having a problem with the TestSerial tutorial, running on an IRIS 
> mote.  Here is the output I get:
>  
> $ java TestSerial
> Getenv JNI library not found.  Env.getenv will not work
> (run the tos-install-jni tool, see man tos-install-jni for more details)
>  
> Sending packet 0
> Sending packet 1
> Sending packet 2
> …
>  
> The "Sending packet" messages appear once per second.
>  
> I also tried using the -comm parameter, and got a different result:
>  
> $ java TestSerial -comm ser...@com5:iris
> ser...@com5:57600: resynchronising
> Sending packet 0
> Sending packet 1
> Sending packet 2
> …
>  
> This time the "Sending packet" messages take 30 seconds for the next to 
> appear.
>  
> So I never get any packets received.  I checked the permissions of COM5, 
> that appears fine.  Any help or suggestions would be greatly appreciated!
>  
> Thank you.
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to