Yes Christian Haas, i thinked so also.
So for receiving the tx power i added when  sending packet :
call CC2420Packet.setPower(msg,TRANS_POWER);
with:
#include "CC2420.h"
uint8_t TRANS_POWER = CC2420_DEF_RFPOWER;

and i modify CC2420_DEF_RFPOWER in make file with this line:

CFLAGS +="-DCC2420_DEF_RFPOWER=31"




2013/8/25 Christian Haas <[email protected]>

> On 08/24/2013 11:25 PM, Eric Decker wrote:
> > you don't specify why you think this is failing.
> >
>
> I think its simply failing because the tx_power is not transmitted at all.
>
> Quote:
>
> /**
>  * CC2420 Packet metadata. Contains extra information about the message
>  * that will not be transmitted.
>  */
>
> typedef nx_struct cc2420_metadata_t {
>   nx_uint8_t rssi;
>   nx_uint8_t lqi;
>   nx_uint8_t tx_power;
> ....
>
>
> GL
> _______________________________________________
> 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