On Mar 8, 2007, at 11:14 AM, Benjamin Madore wrote:


I was darn sure MultiHopLQI for 1.15 worked on the Mica2 (CC1000), as well as the Crossbow variant of many more letters. Was it the Xbow/TOS 1.x you
were thinking of when you said it was a modified version?

Nope, unless I'm missing something...

dnab4221b8 /Users/pal/src/tinyos-1.x/tos/lib/MultiHopLQI -14-> grep lqi *.nc
MultiHopLQI.nc:        gbCurrentLinkEst = adjustLQI(Msg->lqi);
MultiHopLQI.nc: if (((uint32_t) pRP->cost + (uint32_t) adjustLQI (Msg->lqi)
MultiHopLQI.nc: gbCurrentLinkEst = adjustLQI(Msg->lqi);

dnab4221b8 /Users/pal/src/tinyos-1.x -10-> find tos | grep AM.h
tos/platform/micaz/AM.h
tos/platform/telos/AM.h
tos/types/AM.h

tos/types/AM.h:

typedef struct TOS_Msg
{
  /* The following fields are transmitted/received on the radio. */
  uint16_t addr;
  uint8_t type;
  uint8_t group;
  uint8_t length;
  int8_t data[TOSH_DATA_LENGTH];
  uint16_t crc;

  /* The following fields are not actually transmitted or received
   * on the radio! They are used for internal accounting only.
   * The reason they are in this structure is that the AM interface
   * requires them to be part of the TOS_Msg that is passed to
   * send/receive operations.
   */
  uint16_t strength;
  uint8_t ack;
  uint16_t time;
  uint8_t sendSecurityMode;
  uint8_t receiveSecurityMode;
} TOS_Msg;


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

Reply via email to