again I could be wrong about this....but my one excursion into reading
radio strength on the host side indicated that it is not actually being
sent from TOSBase. I'd like to be proved wrong on that though.

As long as you are within the TOS system itself, then everyone is
using the same TOSMsg struct and you are not faced with field
conversions.

You might want to look through the CC2420 code in platform/micaz
and see where the ADC is being pinged for the RSSI value, and what
part of the 10bits is being truncated into the 8bit field.

MS

Sam Pierson wrote:
I should rephrase my question, after thinking about it more.  While
the micaz packets are being forwarded over the serial port, they're
being rewritten into the old mica2 format.  The mica2 TOS_Msg->strength
member is declared as uint16_t while the same micaz member is
declared as an eight bit value and the signal reading don't make much
sense at this point.

Does anyone know a way to accurately determine the signal strength
of incoming RF packets to a micaz mote, while fixing the problem
above?

Thanks,

On 1/18/06, Sam Pierson <[EMAIL PROTECTED]> wrote:
Last question on the subject:  I'm using micaz motes and
in tos/platform/micaz/AM.h, TOS_Msg->strength is listed
as type uint8_t and in tos/types/AM.h, TOS_Msg->strength
is listed as type uint16_t.

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to