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

2010-04-17 Thread Nick2010
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

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

2010-04-17 Thread Nick2010
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

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

2009-04-01 Thread SANG Junjun
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