[Tinyos-help] Why plus 0x7f when read rssi in CC2420ControlP.nc?

Nick2010 tinyos2010 at gmail.com
Sat Apr 17 18:21:48 PDT 2010


Spam detection software, running on the system "mail.Millennium.Berkeley.EDU", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  In module CC2420ControlP, I found this: 395 event void RssiResource.granted()
   { 396 uint16_t data; 397 call CSN.clr(); 398 call RSSI.read(&data); 399 call
   CSN.set(); 400 401 call RssiResource.release(); *402 data += 0x7f;* 403 data
   &= 0x00ff; 404 signal ReadRssi.readDone(SUCCESS, data); 405 } [...] 

Content analysis details:   (4.0 points, 3.3 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
 3.2 FH_DATE_PAST_20XX      The date is grossly in the future.
 0.0 BAYES_50               BODY: Bayesian spam probability is 40 to 60%
                            [score: 0.4955]
 1.1 DNS_FROM_OPENWHOIS     RBL: Envelope sender listed in bl.open-whois.org.
-0.3 AWL                    AWL: From: address is in the auto white-list


-------------- next part --------------
An embedded message was scrubbed...
From: Nick2010 <tinyos2010 at gmail.com>
Subject: Re: [Tinyos-help] Why plus 0x7f when read rssi in
 CC2420ControlP.nc?
Date: Sat, 17 Apr 2010 18:21:48 -0700 (PDT)
Size: 2822
Url: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20100417/b14a55fa/attachment.eml 


More information about the Tinyos-help mailing list