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 just looked at the code and I check PacketRSSI.isSet(), > instead of PacketRSSI.isValid(), but I think that you meant isSet(), > don't you? > >> >>> 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 the attached file. Please replace your copy of >> RF230LayerP.nc with this one ang give it a try and let us know. > > Probably I will have a chance to test the code today.
I have tested the RSSIDemo with the patch that you have sent me and it works :) Ciao, Stefano "Kismet" Lenzi _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help