I followed your guidance with printfUART but I am getting values with
unrecognizable format:
RSSI [6160292] LQI [17248]
RSSI [5373860] LQI [17248]
Is there any way to print the received RSSI by using TestSerial Java app that
is included in the RssiSampling folder?
Regards,
Tassos.
From: Antonio Linan
Sent: Tuesday, February 25, 2014 11:46 AM
To: tassos21 __
Cc: tinyos forum
Subject: Re: [Tinyos-help] Transformation of RssiNoiseSampling to
RssiPacketSampling code
You must read the RSSI on received packets, you should be using instead:
event message_t* Receive.receive(message_t* bufPtr, void* payload, uint8_t
len) {
printfUART("RSSI [%d] LQI [%d]\n", (call CC2420Packet.getRssi(bufPtr)-45),
call CC2420Packet.getLqi(bufPtr));
You can wire CC2420Packet in your configuration file as:
components CC2420PacketC;
App.CC2420Packet -> CC2420PacketC;
Then in your module:
uses interface CC2420Packet;
Cheers,
--Antonio
On Tue, Feb 25, 2014 at 10:30 AM, tassos21 __ <[email protected]> wrote:
Hi,
I am trying to transform HyungJune Lee code
(http://sing.stanford.edu/abbado/RssiSampling.tar) in order to print RSSI
readings from receiving packets instead of noise. I have included Receive and
CC2420Packet interfaces but I can’t bypass noise readings. Any ideas?
King Regards,
Tassos.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
--
Antonio Liñán Colina
R+D Engineer
@: [email protected]
@: [email protected]
------------------------------
Advancare
Ph.: +34 935 511 403
http://www.advancare.com
http://www.zolertia.com
http://zolertia.sourceforge.net
http://webshop.zolertia.com
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help