Don't mess with TOS_Msg. Ever. (Unless you want lots of pain.) Some fields are, well, "virtual", that is, they only exist -on- a mote and are -never transmitted-. RSSI is one of them. It is not sent with a packet, it is merely filled automatically when a packet arrives.
After receiving a packet, the RSSI value of -that received packet- can be determined (remember the RSSI value is filled in only after the packet is received.) (The exact method and conversion rules are, unfortunately, platform-dependent in TOS 1.x -- TOS 2.x is much cleaner). To send out RSSI readings that have been "read", such as in BCAST or MHOP back to the base station, just create a new message type. HTH, Paul On Fri, Jun 6, 2008 at 9:23 AM, <[EMAIL PROTECTED]> wrote: > Hi , > > Can anybody pls help me with the following queries . > > In the structure of TOS_Msg in AM.h ,it specifies certain fields that are > transmitted and the remaining are not. Not transmitted fields are > strength,ack,time,sendsecuritymode and receive security mode. If I want to > send a broadcast with the strength field, how can I do that? > > To my understanding as I read from tinyos sites and help mails strength > field is one way of specifying RSSI. Am I right? > > Thank you inadvance. > > Nirupama > > > _______________________________________________ > 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
