[Tinyos-help] RSSI on micaz tossim 2.0
Urs Hunkeler
uhu at gmx.ch
Tue Dec 4 23:35:24 PST 2007
Hi,
You can use CC2420Packet.getRssi(msg) and CC2420Packet.getLqi(msg)
functions with the received message as the parameter to get the RSSI and
the LQI values.
To set the desired transmission power with which a packet should be
send, you can use the CC2420Packet.setPower(&packet, txPower) function.
The CC2420Packet interface is provided by the CC2420PacketC module.
Cheers,
Urs
john varkey schrieb:
> Hi,
> I would also like to know how to know the RSSI value from the CC2420 packet metadata.
>
> regards,
> John Paul
>
> Vijayant Bhatnagar <vijayant.rutgers at gmail.com> wrote: hi,
> I just read phil's reply on one of the threads that we can receive RSSI in tossim 2.0. Can anyone please let me know the interface through which we can do this ? I checked the code for TossimMessage, there already exists a field in the metadata. However, when I tried accessing it, it returns zero value.
>
> Any help is appreciated.
>
> Thanks,
> Vijayant.
More information about the Tinyos-help
mailing list