[Tinyos-help] RSSI vs Energie Detection power measure

2011-10-05 Thread Marc Barceló
Hello to everyone, I am a researcher working on WSN, using IRIS motes (which use RF230 Radio Hardware). I am measuring the received power from one mote to another. The RF230 datasheet says that two different measures can be used, Energie Detection (ED) or Received Signal Strength Indicator (RSS

Re: [Tinyos-help] RSSI vs Energie Detection power measure

2011-10-05 Thread Miklos Maroti
Hi Marc, Have you changed the RF230DriverLayerP file? I think the ED and RSSI measurements are not performed at the same time. The ED is done automatically by the hardware after the SYNC byte is received, while the RSSI is done manually when the first interrupt is handled. This could cause some di

Re: [Tinyos-help] RSSI vs Energie Detection power measure

2011-10-05 Thread Marc Barceló
Hi Miklos, Thanks for the answer. I have not changed the RF230DriverLayerP file. In fact, I have used both measurements in two different motes but using exactly the same conditions. I think it is normal to have some dB between them, but I think the difference is too high. Any idea about the rea

Re: [Tinyos-help] RSSI vs Energie Detection power measure

2011-10-05 Thread Miklos Maroti
Hi Marc, 10 dBm difference between two motes is completely normal. You should reverse the roles of the two nodes and compare the result. Best, Miklos 2011/10/5 Marc Barceló : > Hi Miklos, > > Thanks for the answer. I have not changed the RF230DriverLayerP file. In > fact, I have used both measu

Re: [Tinyos-help] RSSI vs Energie Detection power measure

2011-10-05 Thread Marc Barceló
Hi Miklos, Yes, I have done it and many other tests to discard other reasons. The conclusion is that in the same conditions the two measures give different values in dBm. In this case, which measure do you thing should we trust? Do you agree that the ED measure should be equal or lower than the

Re: [Tinyos-help] RSSI vs Energie Detection power measure

2011-10-05 Thread Miklos Maroti
I would trust ED (which has higher resolution anyways) over RSSI, but I have no proof that it is better. Miklos 2011/10/5 Marc Barceló : > Hi Miklos, > > Yes, I have done it and many other tests to discard other reasons. The > conclusion is that in the same conditions the two measures give differ

[Tinyos-help] CollectionC - Snoop.receive never called

2011-10-05 Thread Jan Christensen
I'm developing a simple TinyOS program with multihop. Using Intercept.forward I inject some data into each packet, so that at the root I can see the path the packet has taken. I would also like to make some statistics based on the packets a node receives which it has to drop (because it is not roo

Re: [Tinyos-help] tinyos compilation error :fatal error: Python.h: No such file or directory

2011-10-05 Thread Rafael de Oliveira Costa
Hi, after install python-dev, verify PYTHON_VERSION variable in /opt/tinyos-2.1.1/support/make/sim.extra. here i'm using python 2.6 so this variable is set like PYTHON_VERSION=2.6. Rafael de Oliveira Costa, M.Sc. Student PPGI - UFRJ Rio de Janeiro, RJ, Brazil http://www.labnet.nce.ufrj.br "The fi

Re: [Tinyos-help] CollectionC - Snoop.receive never called

2011-10-05 Thread Daniel Minder
Hi, > The counters snoop and total are never incremented, and the Led0 is > never turned on. Add "CFLAGS += -DCC2420_NO_ADDRESS_RECOGNITION" to your Makefile. Address recognition in the CC2420 stack is enabled by default and will reject all packets which have a destination address other than TOS_

Re: [Tinyos-help] Getting MSP430 error in tinyos-2.1.1

2011-10-05 Thread Wenjie
Hi Richard, I am running in to the same problem. I have the latest cvs update of tinyos from sourceforge and is running Ubuntu Lucid. I was wondering how did you fix the problem by pointing to the old debian repo. Richard Figura wrote: > > Hi Phil, > > thank you very much! > Using the old pa

Re: [Tinyos-help] csma

2011-10-05 Thread Janos Sallai
Sean, Modify tos/chips/cc2420x/CC2420XRadioP.nc such that CC2420XDriverConfig.requiresRssiCca() always returns FALSE. This will prevent the radio driver from carrying out CCA before sending the packet. That is, the packet will be transmitted even if the channel is busy. Janos Janos On Wed, Oct 5

Re: [Tinyos-help] Getting MSP430 error in tinyos-2.1.1

2011-10-05 Thread Razvan Musaloiu-E.
Hi! You can install the old packages using the packages from here: http://tinyprod.net/debian-dev/ The packages you want are the -legacy ones. So the steps are the following: 1. Remove the previously installed tinyos packages: $ sudo dpkg -P `dpkg -l nesc '*tinyos*' | grep ^ii | awk '{

Re: [Tinyos-help] TinyOS application for simple mesh network

2011-10-05 Thread Indtiny s
Hi, As per the wiki guide I started with RadioCountLeds demo, when I do the $ make micaz sim I get the following errors . /opt/tinyos-2.1.0/support/sdk/java/net/tinyos/message/Message.java:684: cannot find symbol symbol : class SerialPacket location: class net.tinyos.message.Message protected

Re: [Tinyos-help] how i can use matlab in tinyos 2.x

2011-10-05 Thread José A . Tarifa
I'm so sorry... I'm afraid not to help you with this platform, and the simulation :( I think you should use a communication by a (virtual) serial port or similar. Regards, Jose A. --- José A. Tarifa Galisteo Telecommunication Engineer University of Seville email [11] Website [12] O

Re: [Tinyos-help] Getting MSP430 error in tinyos-2.1.1

2011-10-05 Thread Eric Decker
On Wed, Oct 5, 2011 at 7:29 AM, Wenjie wrote: > > Hi Richard, > > I am running in to the same problem. I have the latest cvs update of tinyos > from sourceforge Ah...Saying the "latest cvs update" is nonsensical at this point. The tinyos cvs repo is decrepit and getting mustier as we spea

Re: [Tinyos-help] csma

2011-10-05 Thread Eric Decker
On Wed, Oct 5, 2011 at 8:59 AM, Janos Sallai wrote: > Sean, > > Modify tos/chips/cc2420x/CC2420XRadioP.nc such that > CC2420XDriverConfig.requiresRssiCca() always returns FALSE. This will > prevent the radio driver from carrying out CCA before sending the > packet. That is, the packet will be tran