Have you tried connecting your app to the CC2420Packet interface, provided by CC2420PacketC.nc?

interface CC2420Packet {
/**
   * Get transmission power setting for current packet.
   *
   * @param the message
   */
  async command uint8_t getPower( message_t* p_msg );

  /**
* Set transmission power for a given packet. Valid ranges are
   * between 0 and 31.
   *
   * @param p_msg the message.
   * @param power transmission power.
   */
async command void setPower( message_t* p_msg, uint8_t power );

//...

The tx power gets set on a per-message basis. Take a look at lines 234-242 in CC2420TransmitP.nc.

CC2420_DEF_RFPOWER is the default tx power value you want to set a compile time.

-David



On Wed, 15 Nov 2006 15:03:48 -0700
 [EMAIL PROTECTED] wrote:
David Moss,

I am simply just setting the transmission at compile/install time. The
PA_LEVELS I have used are:  (3,7,11,15,19,23,27,31).

Dave

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

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

Reply via email to