The source moteID is not part of any standard message header,
but is often included in specific 'payload' structures, like
Oscilloscope's OscopeMsg. Once you have the message, in any
standard receive() method looking at the ID is just a matter
of software....
And there is plenty of information about the packet structure
laying around. Try searching this list for "TOS_Msg" and see:
http://www.octavetech.com/pubs/TB5-01%20Deciphering%20TinyOS%20Serial%20Packets.pdf
MS
Sourabh Shah wrote:
Hello all
I want to access source address in main at base station. Can any one
tell me how can I do that. I couldnt get much info about cracking
received packet and accessing Node id of source node. The thing
is I want to receive messages from specific nodes at some
instances.
------------------------------------------------------------------------
Get easy, one-click access to your favorites. Make Yahoo! your homepage.
<http://us.rd.yahoo.com/evt=51443/*http://www.yahoo.com/r/hs>
------------------------------------------------------------------------
_______________________________________________
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