[Tinyos-help] Re: RSSI MICA2

Dimas Abreu Dutra d1ma5ad at gmail.com
Thu Feb 7 04:16:40 PST 2008

Here you go. If you want to measure the RSSI noise floor use CC1000RssiP.
Also, this code is for T2, but for tinyos 1.x it is very similar.**


====== code ======

#include <message.h> //Unnecessary if using the send or receive interfaces.

  //Put this inside your module
  uint16_t getRssi(message_t *msg){
    cc1000_metadata_t *md =(cc1000_metadata_t*) msg->metadata;
    return md->strength_or_preamble;

====== end code ======

2008/2/6, Vassilios Papacharalambous <vassilios at hotmail.co.uk>:
>  Hi, i am trying to read the RSSI values from mica2 motes. Do you have a
> simple code that does it?Could you please send it to me??
> Thanks
> Vas
> ------------------------------
> She said what? About who? Shameful celebrity quotes on Search Star!<http://www.msnsearchstar.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080207/545ae676/attachment.html

More information about the Tinyos-help mailing list