Re: [Tinyos-help] Problems with javacomm

2006-08-03 Thread Fabrizio Stefani
Claro Noda wrote: Frabrizio: did you sorted out the FTDI drivers correctly? remember there is a serial-USB interface on the Tmote. the drivers are probably part of the kernel and the motelist output make me guess you did. FTDI drivers are in the kernel, no problems with them. but, besides,

Re: [Tinyos-help] motelist

2006-08-03 Thread Darren BISHOP
Please excuse my asking a really obvious question, but have you actually installed the FTDI drivers? Can you see the key mentioned via regedit? Best regards Darren Sudha Krishna wrote: div class=moz-text-flowed style=font-family: -moz-fixedHi, I am getting the following error when I

[Tinyos-help] motelist

2006-08-03 Thread Cory Sharp
Sorry, I hit reply instead of reply-all: That error means that the FTDI virtual comm port drivers have never been loaded and that you have never attached a Tmote Sky device to the computer. To load the FTDI drivers, plug in a mote and follow the windows device driver installation instructions.

[Tinyos-help] a warning when 'toscheck' is performed

2006-08-03 Thread Stephen Zhao
Dear all, How can I solve the following warning? Thanks._---java:/cygdrive/c/WINDOWS/system32/java-- WARNING: The JAVA version found first by toscheck may not be version 1.4 which

Re: [Tinyos-help] motelist

2006-08-03 Thread Fabrizio Stefani
Sudha Krishna wrote: Hi, I am getting the following error when I execute the motelist command: error, could not open key HKLM\SYSTEM\CurrentControlSet\Enum\FTDIBUS I suppose that you are working with telosb/tmotes. On the tmotes there is an FTDI's FT232BM USB to Serial converter. It

Re: [Tinyos-help] motelist

2006-08-03 Thread Fabrizio Stefani
Just now I note that you are working under Windows. Then my previous reply is not useful for you. You should install the VCP drivers form the FTDI web site. Fabrizio Fabrizio Stefani wrote: Sudha Krishna wrote: Hi, I am getting the following error when I execute the motelist command:

[Tinyos-help] I2C, TelosB and Tinyos 2.0

2006-08-03 Thread Max CORTIANA
Hi all I'm upgrading TinyOs to version 2.0, but i don't see any I2C component for the TelosB platform while it is ready for other platforms. TinyOs 1.x instead offers the I2CPacketC component, which i've used for my applications. Is the I2C driver for TinyOs in a developing stage or have i

[Tinyos-help] BlockStorage compile error

2006-08-03 Thread Tony L
Hi, I use t-mot sky. I call BlockWrite.write to write some bytes to the flash. After some time, I call BlockRead.read to read the bytes to the packet payload and broadcast the packet. I got the compile errors as below. Is there any one who knows how to solve the problem? thanks Best Regards

[Tinyos-help] Why be wired to CrcFilter?

2006-08-03 Thread Fajun Sun
Hi everybody: Recently I am testingTOSBase.In TOSBase.nc,the interface RadioReceiveof TOSBaseM is wired to RadioCRCPacket.RadioReceive bycode "TOSBaseM.RadioReceive- Comm;".But when I skim over the code generated by ncc1.exe in app.c,I find the TOSBaseM$RadioReceive$receive is invoked by

Re: [Tinyos-help] a warning when 'toscheck' is performed

2006-08-03 Thread Michael Schippling
Bad news: _never_ use the MSWidows Java. Easy fix: Change your PATH variable so it has the directory of your RealJava(TM) install /bin before win/system32. You can do this in the MyComputer-Properties environment variable panel, or just do it for the cygwin shell in one of the profile files I

[Tinyos-help] Java Path

2006-08-03 Thread Ian Welch
I'm having troubles running the Java tool Listen. I have no problems running tos-install-jni [EMAIL PROTECTED] /etc $ tos-install-jni Installing Java JNI code in /cygdrive/c/tinyos/jdk1.4.1_02/j2sdk1.4.1_02/jre/bin ... done.but when I run which java it gives me [EMAIL PROTECTED] /etc $ which java

[Tinyos-help] Variable elaboration

2006-08-03 Thread jose m
Hello all,If I have a component, with aglobal variable declaredandinitialized with a value,example: int x = 1;Has this variable hisinit value before any call to one of the component's commands?Thanks,José Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni

[Tinyos-help] Transport Protocol

2006-08-03 Thread Arya Afrashteh
I'm currently researching and trying to come up with a way to design a transport protocol for TinyOS. However I believe that using cross-layer design would be beneficial when it comes to routing and detecting neighbors and determining link quality. In TinyOS, how would I retrieve statistical

Re: [Tinyos-help] Java Path

2006-08-03 Thread Michael Schippling
I answered this just a couple a hours ago... Put your JDK bin directory BEFORE windows/system32 in your PATH environment variable, either/both in MyComputer-Properties and/or your cygwin profile file. See man bash from the cygwin shell for extreme documentation. MS Ian Welch wrote: I'm having

Re: [Tinyos-help] Variable elaboration

2006-08-03 Thread Michael Schippling
Yes. jose m wrote: Hello all, If I have a component, with a global variable declared and initialized with a value, example: int x = 1; Has this variable his init value before any call to one of the component's commands? Thanks, José

Re: [Tinyos-help] Transport Protocol

2006-08-03 Thread Vinai Sundaram
One other related problem is that when I use genericComm to send to a specificnode, the other neighbor nodes won't hear it because it doesn't signal the receive event. Try GenericCommPromiscuous. I haven't used this myself but the code looks like it does what you want. -Vinai Arya

Re: [Tinyos-help] time stamping message event time

2006-08-03 Thread Conor Todd
If I understand what you're doing correctly, then the problem may be in the book-keeping. If the RF channel is in use and your mote tries to send, that send is going to fail, and you're never going to get a RadioCoordinator event (because there is no sending going on). Therefore, your handler for

[Tinyos-help] Re: Tinyos-help Digest, Vol 40, Issue 14

2006-08-03 Thread Brett . Matthews
Hi All, I have upgraded my TinyOS install from TinyOS1.1.10 (nesc-1.1) to TinyOS1.1.15 (nesc-1.1.2b) and the compiler nolonger appears to recognise the constant definitions in my legacy ApplicationM.nc ie, the red led continues to toggle. There are no compiler errors. I am using

[Tinyos-help] Calculating RSSI in dBm locally on a mica2 mote

2006-08-03 Thread Sean Casey
Hello, I'm working with mica2 motes and I would like to know if it's possible to calculate the rssi value in dBm on the mote locally. I had been sending the rssi value to the UART and then calculating the dBm value with a java program, but now I would like to calculate it locally on the

[Tinyos-help] Problem with micaz on stargate

2006-08-03 Thread Anton Riedl
Hello, I'm trying to establish a connection from one stargate board to another one via two micaz motes, which are plugged into the two stargates. I'm using BaseStation on the motes (TinyOS 2.x) and the SerialForwarder (in C) on the stargates. Unfortunately, it doesn't seem to be working.

Re: [Tinyos-help] Calculating RSSI in dBm locally on a mica2 mote

2006-08-03 Thread Michael Schippling
200 (decimal) is a negative number in an 8 bit signed int...about -55. Does that make more sense for your level? MS Sean Casey wrote: Hello, I'm working with mica2 motes and I would like to know if it's possible to calculate the rssi value in dBm on the mote locally. I had been sending the