[Tinyos-help] LPL with acknowledgment

2011-06-14 Thread FranR
Hi, I am using the LPL with the preproccessor variable: CFLAGS += -DLOW_POWER_LISTENING CFLAGS += -DLPL_DEF_LOCAL_WAKEUP=250 CFLAGS += -DLPL_DEF_REMOTE_WAKEUP=250 I want to uses the interface PacketAcknowledgements to confirm that a packet was delivered, but when I call the command:

[Tinyos-help] Test Application for SPI

2011-06-14 Thread João Gonçalves
-- Forwarded message -- From: João Gonçalves jonnyinthe...@gmail.com Date: 2011/6/14 Subject: Test Application for SPI To: tinyos-help@millennium.berkeley.edu Hi, I want to make an application to test if the SPI is working properly, the idea is sending some random bytes and

[Tinyos-help] bitwise operation

2011-06-14 Thread Peng Du
Hi everyone, A quick question: are the bitwise operators in tinyOS the same with the c ones? e.g. for bitwise AND and ~for NOT. Thanks a lot. Regards, Peng ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] MTS400 application - micaz

2011-06-14 Thread sadun silva
hi all, we are trying to use the MTS400 application in a micaz mote. we installed the program let it talk to a telosb gateway using the TestSerial application we displayed the reading on the terminal. but the readings were incorrect. does anyone have any idea what might have we done wrong?

[Tinyos-help] Distance Calculations with RSSI

2011-06-14 Thread Matthew Jacques
Hello, I am currently trying to build a WSN using MicaZ motes and I need to know, to a fair degree of accuracy, how far apart one node is from another. I was reading up on how it is possible in some cases to use RSSI and LQI to achieve this. I tried taking measurements of average RSSI when the

Re: [Tinyos-help] Distance Calculations with RSSI

2011-06-14 Thread Marco Chirico
Hi Matthew, RSSI is a measure af the signal strength with respect to a received message, so it is highly subject to disturb coming from other objects/people. This implies a quite unpredictable fluctuation which can be faced only updating regularly (2/3 times per second) the RSSI samples. You will

Re: [Tinyos-help] [Tinyos-devel] Watchdog

2011-06-14 Thread Eric Decker
There is a prototype implementation for wdt for the msp430 that is in the msp430 core integration branch. I've tar balled it up and put it at http://tinyprod.net/cire/henrik.tgz 2011/6/14 Henrik Mäkitaavola henrik.makitaav...@gmail.com Hi, Are there any guidelines of how to implement

Re: [Tinyos-help] bitwise operation

2011-06-14 Thread Michael Schippling
Yes. It's plain old C. With confusing syntactic additions. MS Peng Du wrote: Hi everyone, A quick question: are the bitwise operators in tinyOS the same with the c ones? e.g. for bitwise AND and ~for NOT. Thanks a lot. Regards, Peng ___

Re: [Tinyos-help] Distance Calculations with RSSI

2011-06-14 Thread Michael Schippling
search for rssi location and various other combinations. there has been a lot of work done on this, and none of it is very accurate. MS Matthew Jacques wrote: Hello, I am currently trying to build a WSN using MicaZ motes and I need to know, to a fair degree of accuracy, how far apart one

Re: [Tinyos-help] Unable to access registers on controller.

2011-06-14 Thread Eric Decker
It would be a bit more helpful if you describe exactly what you are doing. what registers? how are you trying to access them? On Mon, Jun 13, 2011 at 10:10 PM, ~!Har$ha $anjeev !~ harsha@gmail.comwrote: Hello, I am using MSP430F1612 for one of my applications. I am not able

Re: [Tinyos-help] Adding precision to sensor data obtained

2011-06-14 Thread Mayank Gupta
Thanks again. I am sensing all the three sensors available i.e. temperature , light and humidity. I use the following formulas , temperature = (float)(-39.6 + 0.01*(float)val); humidity = (float)(-2.0468 + 0.0367*(float)val + 0.0159*(float)(val*val)); but when I use MsgReader tool to read

[Tinyos-help] will Timer.getNow() be affected by other actions in Timer

2011-06-14 Thread Xiaohui Liu
Hi everyone, I'm trying to get timestamp from a Timer, and if the Timer takes some actions such as Timer.stop(), Timer.startOneShot(), will this impact the timestamp obtained from the timer? For instance, if a timer is cancelled by Timer.stop, can I still obtain valid time from it by

Re: [Tinyos-help] TinyOS install on Mac OS X 1.6

2011-06-14 Thread Yee Wei Law
Hi David, I think the problem lies in mig, which I had the same problem with. Apple installed its Mach Interface Generator at /usr/bin which conflicts with TinyOS' Message Interface Generator. You have to replace Apple's with TinyOS'. On 10 June 2011 00:34, David Swords da...@davidswords.com

[Tinyos-help] packet timestamp from ActiveMessageC.PacketTimeStamp correspond to same instant at sender and receiver?

2011-06-14 Thread Xiaohui Liu
Hi, For a given packet transmission, timestamps are obtained from ActiveMessageC.PacketTimeStamp at sender and receiver. Are these two timestamp actually taken at the same time as specified in tmp132, if propagation delay is negligible? Thanks for your clarification. -- -telosb -Xiaohui Liu

[Tinyos-help] Test Application for SPI

2011-06-14 Thread João Gonçalves
Hi, I want to make an application to test if the SPI is working properly, the idea is sending some random bytes and watching them on the oscilloscope. I want to do this because Im trying to run the BlinkToRadio App in my platform that has msp430f5438. When i run it nothing happens and the code

[Tinyos-help] for help

2011-06-14 Thread sdd-universe
Hi, I am running a plugin on the eclipse .When I open the perspective: MeshIDE_Disware, the interface is auto closed. And the console gives the following error message: MOTECOM=serial at COM1:57600 java hardware_check It gives the following error message: serial@COM1:57600 died - exiting

Re: [Tinyos-help] TinyOS install on Mac OS X 1.6

2011-06-14 Thread Eric Decker
On Tue, Jun 14, 2011 at 9:06 PM, Yee Wei Law yee.wei@gmail.com wrote: Hi David, I think the problem lies in mig, which I had the same problem with. Apple installed its Mach Interface Generator at /usr/bin which conflicts with TinyOS' Message Interface Generator. You have to replace

Re: [Tinyos-help] will Timer.getNow() be affected by other actions in Timer

2011-06-14 Thread Eric Decker
I beleive so but you should eyeball the actual source code. Its been a while since I've been in the timer code so don't remember off the top of my head. On Tue, Jun 14, 2011 at 8:23 PM, Xiaohui Liu whu...@gmail.com wrote: Hi everyone, I'm trying to get timestamp from a Timer, and if the