Hi Eric,

I wanted to say what you said, just forgot to add:
"however one could embed the value in a packet being transmitted so the 
receiver could see it."

Correct me i I am wrong: the following metadata header is never transmitted 
over the radio. It is only passed between different modules within a mote.

typedef nx_struct cc2420_metadata_t {
  nx_uint8_t rssi;
  nx_uint8_t lqi;
  nx_uint8_t tx_power;

________________________________________
From: Eric Decker [[email protected]]
Sent: Monday, 26 August, 2013 7:48:00 AM
To: He Dajiang (I2R)
Subject: Re: [Tinyos-help] Tinyos-help Digest, Vol 124, Issue 21

On Sun, Aug 25, 2013 at 4:36 AM, He Dajiang (I2R) 
<[email protected]<mailto:[email protected]>> wrote:
It looks to me the receiver side has no way to know the tx power of the sender.

not sure what you are basng your assertion on.

the value of transmit power on the sender side (a number) isn't terribly useful 
on the receiver side.

however one could embed the value in a packet being transmitted so the receiver 
could see it.

the receiver does have available to it ( for the cc2420 and cc2520 chips) the 
value of rssi.  received strength status indicator.


________________________________________
From: 
[email protected]<mailto:[email protected]>
 
[[email protected]<mailto:[email protected]>]
 on behalf of 
[email protected]<mailto:[email protected]>
 
[[email protected]<mailto:[email protected]>]
Sent: Sunday, 25 August, 2013 3:00:02 AM
To: 
[email protected]<mailto:[email protected]>
Subject: Tinyos-help Digest, Vol 124, Issue 21

Send Tinyos-help mailing list submissions to
        
[email protected]<mailto:[email protected]>

To subscribe or unsubscribe via the World Wide Web, visit
        https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

or, via email, send a message with subject or body 'help' to
        
[email protected]<mailto:[email protected]>

You can reach the person managing the list at
        
[email protected]<mailto:[email protected]>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Tinyos-help digest..."


Today's Topics:

   1. Problem in setting transmit power for cc2420 (Sarra Sarah)


----------------------------------------------------------------------

Message: 1
Date: Sat, 24 Aug 2013 18:54:32 +0100
From: Sarra Sarah <[email protected]<mailto:[email protected]>>
Subject: [Tinyos-help] Problem in setting transmit power for cc2420
To: tinyos-help 
<[email protected]<mailto:[email protected]>>
Message-ID:
        
<caos7pshnlu+zpp6mlo8ny5g+vwotxnzlwewryomdbwda38e...@mail.gmail.com<mailto:caos7pshnlu%2bzpp6mlo8ny5g%[email protected]>>
Content-Type: text/plain; charset="iso-8859-1"

I want to set transmit power for cc2420, so i did that:

I added this line on make file: CFLAGS +="-DCC2420_DEF_RFPWER=1"
 and then i wanted to read transmit power in receiving the packet i used
call CC2420Packet.getPower(msg), but transmit power is 0x00. i dont know
where is the problem.

Thank you for help !!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20130824/353e5cf3/attachment-0001.htm

------------------------------

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

End of Tinyos-help Digest, Vol 124, Issue 21
********************************************

Institute for Infocomm Research disclaimer:  "This email is confidential and 
may be privileged. If you are not the intended recipient, please delete it and 
notify us immediately. Please do not copy or use it for any purpose, or 
disclose its contents to any other person. Thank you."

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



--
Eric B. Decker
Senior (over 50 :-) Researcher

Institute for Infocomm Research disclaimer:  "This email is confidential and 
may be privileged. If you are not the intended recipient, please delete it and 
notify us immediately. Please do not copy or use it for any purpose, or 
disclose its contents to any other person. Thank you."

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

Reply via email to