Re: [Tinyos-help] RF230 readinf ED instead of RSSI

2008-06-19 Thread Stefano Kismet Lenzi
On Thu, Jun 19, 2008 at 12:02, Andrey Gursky [EMAIL PROTECTED] wrote: Thanks Stefano! It works. The values are: 0..30 (HEX) 0..48 (DEC). Have you got maybe bigger values for IRIS if two motes are very close to each other than 30 (HEX)? In my case the I have measured value from 3 to 71, but I

Re: [Tinyos-help] RF230 readinf ED instead of RSSI

2008-06-18 Thread Andrey Gursky
Hi! I have tested the RSSIDemo with the patch that you have sent me and it works :) Ok, the updated version is checked in, so you can use the CVS version now. This prives that we did handle the IRQ and managed to read two RF230 registers in less than 140 microsecond, and that is why the

Re: [Tinyos-help] RF230 readinf ED instead of RSSI

2008-06-18 Thread Stefano Kismet Lenzi
did you modify. Miklos -- Forwarded message -- From: Andrey Gursky [EMAIL PROTECTED] Date: Wed, Jun 18, 2008 at 1:20 PM Subject: Re: [Tinyos-help] RF230 readinf ED instead of RSSI To: \TinyOS Help Mailing-List\ tinyos-help@millennium.berkeley.edu Hi! I have tested

Re: [Tinyos-help] RF230 readinf ED instead of RSSI

2008-06-16 Thread Stefano Kismet Lenzi
On Fri, Jun 13, 2008 at 22:58, Miklos Maroti [EMAIL PROTECTED] wrote: Hi Stefano, Did you check if PacketRSSI.isValid() returns TRUE? In some cases I cannot guarantee that the returned ED value is correct. I have just looked at the code and I check PacketRSSI.isSet(), instead of

Re: [Tinyos-help] RF230 readinf ED instead of RSSI

2008-06-16 Thread Stefano Kismet Lenzi
On Mon, Jun 16, 2008 at 08:56, Stefano Kismet Lenzi [EMAIL PROTECTED] wrote: On Fri, Jun 13, 2008 at 22:58, Miklos Maroti [EMAIL PROTECTED] wrote: Hi Stefano, Did you check if PacketRSSI.isValid() returns TRUE? In some cases I cannot guarantee that the returned ED value is correct. I have

Re: [Tinyos-help] RF230 readinf ED instead of RSSI

2008-06-16 Thread Miklos Maroti
1) The required 140 microsec did not pass, but I think this is not the case After looking at the code it might be possible (although very unlikely) that we handle the IRQ, read the status register in 140 microsec. I have moved the reading of the PHY_ED_LEVEL to the end of the reception in

[Tinyos-help] RF230 readinf ED instead of RSSI

2008-06-13 Thread Stefano Kismet Lenzi
Hi All, I'm using the CVS version of tinyos-2.x, and I'm trying to read the ED value instead RSSI. I used the RssiDemo tutorial as code base and I slightly modified it to make it work with the Iris platform. The RssiDemo perfectly works if I read the RSSI value from the RF230, but as soon as I

Re: [Tinyos-help] RF230 readinf ED instead of RSSI

2008-06-13 Thread Miklos Maroti
Hi Stefano, I'm using the CVS version of tinyos-2.x, and I'm trying to read the ED value instead RSSI. I used the RssiDemo tutorial as code base and I slightly modified it to make it work with the Iris platform. The RssiDemo perfectly works if I read the RSSI value from the RF230, but as

Re: [Tinyos-help] RF230 readinf ED instead of RSSI

2008-06-13 Thread Miklos Maroti
Hi Stefano, Did you check if PacketRSSI.isValid() returns TRUE? In some cases I cannot guarantee that the returned ED value is correct. 1) The required 140 microsec did not pass, but I think this is not the case After looking at the code it might be possible (although very unlikely) that we