What version of TOS are you using?
I have this program:
    contrib/xbow/apps/XSensorMDA300/XSensorMDA300M.nc
but don't find a file named "XMDA300M.nc" in T1.

MS


Sourabh Shah wrote:
Thank you very much Michael

Well by main I wanted to say my application program. For eg. XMDA300M.nc etc
I am totally new to tiny os. All I want is to check teh node Id of source node and decide whether to accept the data or not. For testing I am using XMDA300 application. I am not getting where to ckeck this source address and how?

*/Michael Schippling <[EMAIL PROTECTED]>/* wrote:

    I'm cc'ing this back to the list to keep a record...

    I'm not sure what you mean by "main". Can you post your code
    and the errors that you get?

    MS

    Sourabh Shah wrote:
     > hello sir,
     > I have already tried to use source address in main. But its
     > giving lots of errors if I include Multihop.h in my file.
     >
     > */Michael Schippling /* wrote:
     >
     > 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.
     > >
     > >
     > >
     > >
     >
    ------------------------------------------------------------------------
     > >
     > > _______________________________________________
     > > Tinyos-help mailing list
     > > [email protected]
     > >
     >
    https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
     >
     >
     >
    ------------------------------------------------------------------------
     > Get easy, one-click access to your favorites. Make Yahoo! your
    homepage.
     >


------------------------------------------------------------------------
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. <http://us.rd.yahoo.com/evt=51732/*http://overview.mail.yahoo.com/>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to