[Tinyos-help] Confusion about sending and receiving mechanism in TOSSIM.

Sohail Jabbar tinyosqueries at yahoo.com
Wed May 20 00:37:06 PDT 2009





Hi Michael!
                Thanks for paying attention. yes your are right, Surge is the complete multihop example and SimpleCmd is an example of the application that First receives and then send data. but whatif for the application which sends the data and on receiving, process the received data and then forward. Is not SimpleCmd only receives and then send data not firstly receives the data and then process and then forward as mentioned earlier.
Any how, i have solve what mentioned in the earlier by using Wrapper techniques that is by joing the IntToRfm and RfmToInt and with some amendments.
Soforas Surge Application is concerned, I follows multihop algorithm but by using its own routing algithm i.e. (may be) Directed Diffusion). but i want to implement my own routing algorithm and changing in Surge in lot of way is a very tedous job and if i get over it, after that i still be more or less dependent to the way surge application works. So, is not it a better decision to  work using the basic applications.
 
But now i have another Query!
 
1- Give me some of the clues or ideas, how i may control the timer that after sending some packets i stops automatically?
2- How i may forward the packets in a controlled multihop fashion?
3- Is there any way, I may know the distance between the nodes? (There is a file named Location. Does it help me in any way)
 
Thats enough.
 
Thanks to all.
 
Sohail A. Jabbar
 
 
 
 
I believe Surge is the only example of multi-hop retransmission
in the standard T1 examples. All the other demp apps that I'm
familiar with just do simple things, mostly sending data.
Except SimpleCmd sends and receives, but doesn't hop.

MS


Sohail Jabbar wrote:
> Hello!
>      I am working in TinyOS 1.x version and using TOSSIM Simulation, oh very old,...........Ok leave it.  I want to send a message from let say, node 0 to node 10 through multihop process.
> Among TinyOS examples.I am using IntToRfm for transmission and RfmToInt for reception using Wrapper. I am confused about the sending and receiving procedure of nodes. All the application examples relevent to sending and reception in Apps folder either deals with only transmission or reception except Surge.If i am wrong, plz correct me but i am sure i am right;).
> For example, if node 0 transmit using IntToRfm and node 1 receives the sent packet by 1 using RfmToInt. Does IntToRfm automatically further transmit it to node e.g. 2. if not plz guide me to the right direction.
>  Sohail A. Jabbar
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


________________________________

From: Michael Schippling <schip at santafe.edu>
To: Sohail Jabbar <tinyosqueries at yahoo.com>
Cc: TinyOS Queries <tinyos-help at millennium.berkeley.edu>
Sent: Monday, May 18, 2009 8:40:12 AM
Subject: Re: [Tinyos-help] Confusion about sending and receiving mechanism in TOSSIM.



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090520/beceaf3b/attachment-0001.htm 


More information about the Tinyos-help mailing list