[Tinyos-help] How to enable basestation code do repeat the sending if a packed get lost

André Miguel de Almeida Marrão Rodrigues andremiguelrodrigues at gmail.com
Fri Nov 23 13:47:41 PST 2007


Hi

We have enabled ACKS in the makefiles and implemented repeated sending in 
the nodes, in case of failure sending by the nodes.
My question is how to implement repeat sending in the basestation code 
available in T2.02 / TMoteSky in order
for the basesatation code to repeat the packed if it get lost.

By the way, we are using low power listening.

Best regards,

André

----- Original Message ----- 
From: "Michael Schippling" <schip at santafe.edu>
To: "Sourabh Shah" <hospring2008 at yahoo.com>
Cc: "Tinyos-Help" <tinyos-help at Millennium.Berkeley.EDU>
Sent: Friday, November 23, 2007 6:16 PM
Subject: Re: [Tinyos-help] accesssing source address in main


> 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 <schip at santafe.edu>/* 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
>>      > > Tinyos-help at Millennium.Berkeley.EDU
>>      > >
>>      >
>> 
>> 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
> Tinyos-help at Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help 



More information about the Tinyos-help mailing list