Hi again,

I solved this by placing getenv.dll in Windows/system32 folder.

But now I am getting the next Exception:

Error on s...@localhost:9001: java.net.ConnectEXception: Connection refused: 
Connect.

I have tried either with SerialForwarder and I am getting something similar:

Java.io.IOException: Invalid port. No comm ports found!

Any idea?

I am typing java net.tinyos.sf.SerialForwarder -comm ser...@com4:telosb

Thanks in advance



-----Mensaje original-----
De: [email protected] 
[mailto:[email protected]] En nombre de David Conde
Enviado el: martes, 06 de octubre de 2009 12:15
Para: 'Rubén Gmail'
CC: [email protected]
Asunto: Re: [Tinyos-help] Problem with java net.tinyos.tools.Listen

Hi,

Thank you for your replies.

I have tried typing "export motecom=ser...@com4:telosb" after doing motelist in 
Cygwin command line, where I got COM4 for my telosB mote.

I have follow the next link:
https://www.millennium.berkeley.edu/pipermail/tinyos-help/2007-January/022165.html

So, I installed comm.jar in my ClassPath and put it in JRE/LIB/Ext directories, 
either I placed win32.dll in Windows/system32 folder:

but I am now getting the next Exception when I tried to do: java 
net.tinyos.tools.Listen:

getenv JNI library not found. Env.getenv will not work (please consult 
installation direction in tinyos-1.x/tolos/java/net/tinyos/útil/Env.INSTALL)
Error on s...@localhost:9001: java.net.ConnectException: Connection refused: 
connect

My environment is the next one:

I have a telosb mote in USB port which is COM4 according to motelist command, 
this mota has installed OSCILLOSCOPE application and I tried to see the 
information received by serial port with java net.tinyos.tools.Listen 
application ,

What am I missing?

Thanks in advance



-----Mensaje original-----
De: Rubén Gmail [mailto:[email protected]] 
Enviado el: lunes, 05 de octubre de 2009 22:05
Para: David Conde
CC: <[email protected]>
Asunto: Re: [Tinyos-help] Problem with java net.tinyos.tools.Listen

Have you tried to use the motelist command to determine where is your  
device connected?

El 05/10/2009, a las 18:54, "David Conde" <[email protected]> escribió:

> Hi , I am trying to launch the Lesson 6 example in TinyOS 1.X  
> tutorial but when I tried to launch
>
> >>java net.tinyos.tools.Listen –comm ser...@com1:telosb
>
>
>
>  I do not get any data in the screen, I just get:
>
>
>
> >>Usage: java net.tinyos.tools.Listen.
>
>
> Firstly I installed the oscilloscope application in my Mote, then I  
> included the Listen path in my ClassPath, and then when I tried to  
> type: java net.tinyos.tools.Listen –comm ser...@com1:telosb  I just  
> got what I wrote above.
>
>
>
> I have tried changing the COM1 to COM2, and COM3 because I am  
> working in WindowsXP, and I have also tried changing telosb to telos  
> but I do not know what it is the problem.
>
>
>
> I am not working in Cygwin, is this necessary? I am using the MS-DOS  
> command line
>
>
>
> Any tips?
>
>
>
> Thanks in advance
>
>
>
> David
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


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

Attachment: getenv.dll
Description: application/msdownload

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

Reply via email to