When you place your hand over it, it makes sense that you will get a
very low value, possibly negative. Since RSSI values are two's
complements, the results below most likely a result of outputting a
negative (signed) value as an unsigned number, which means that the
two's complement negative number of a low magnitude will appear to be
a very large number.

Thanks,
Tal

> Ok I used CC2420Packet.getRssi(msg) and the values seem to fluctuate now.
> I
> tested it and this is what I got:
>
> When I put te sending mote right next to the basestation I get 32 as
> value.
> When I place it further away from the basestation it decreases till 0
> (sounds normal).
> But when I put it like 1 meter away from it or I place my hand over it, it
> results in two kinds of values: zero or something around 65500.
>
> What could be the reason of this?
>
> Thanks,
> Nick
>
> 2008/3/23, Tal Rusak <[EMAIL PROTECTED]>:
>>
>>      Your explanation seems reasonable. Try to use
>> call CC2420Packet.getRssi(bufPtr);
>> to get the RSSI values when receiving a packet.
>>      For details see the nesdoc for telosb:
>> http://www.tinyos.net/tinyos-2.x/doc/nesdoc/telosb/index.html
>>
>> Thanks,
>> Tal
>>
>>
>> > Hi thanks for your reply!
>> >
>> >
>> >
>> > With my code I'm getting constant values around 75. (These values are
>> not
>> > converted yet, these are the raw values.)
>> >
>> > Could this be because I'm measuring the environmental RSSI values of a
>> > mote
>> > separately in stead of measuring the signal strength of a received
>> packet?
>> >
>> >
>> >
>> > Greets,
>> >
>> > Nick
>> >
>> > _______________________________________________
>> > Tinyos-help mailing list
>> > [email protected]
>> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>>
>>
>


_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to