Hi All,

I tried using PacketAcknowledgements interface in BlinkToRadio to test for
packet acknowledgement. What I got: All nodes can successfully request for
packet acknowlegement (using the requestAck() method; requestAck() is
returning success). However, the sendDone failed to acknowledge all the
packets received (using the wasAcked() method; wasAcked() returning FALSE).
I am wondering why?

Please help me out.

thanks

Pratyush Tottempudi.


On Tue, Feb 11, 2014 at 7:10 PM, Pratyush Tottempudi
<[email protected]>wrote:

> Dear Djemaa Adel,
>
> I have implemented the above code correctly.
>
> Buy wasAcked is never returning TRUE for me. It is always returning False.
>
> THanking You,
> Pratyush Tottempudi.
>
>
> On Sun, Feb 9, 2014 at 1:57 AM, Djemaa Adel <[email protected]> wrote:
>
>> Hello,
>> yes there is an interface called "PacketAcknowledgements" of the
>> component "ActiveMessageC".
>> This interface allow you to to manage your acknowledgements at MAC level.
>> For exemple you can verify if your paquet has been received by
>> destination or not, simply by doing this:
>> call PacketAcknowledgements.requestAck( &buffer )/////// just before
>> sending the message
>>
>> and At SendDone:
>>
>> if(call PacketAcknowledgements.wasAcked(msg))==TRUE;///////// that means
>> that the packet was received by destination,
>> else//////////// the packet was not recieiveed.
>>
>> For more details, visit the web site of TinyOS."www.*tinyos*.net/*tinyos*
>> .../*doc*/nes*doc*/"
>> Good luck
>>
>>
>>
>> 2014-02-08 0:34 GMT+01:00 Pratyush Tottempudi <[email protected]>:
>>
>> Dear Djeema Adel,
>>>
>>> Thanks a lot for your help. I have another question. Can you please tell
>>> me how to send an ACK packet from one node to another. Do we have have a
>>> separate interface for it?
>>>
>>> Thank you,
>>> Pratyush.
>>>
>>>
>>>
>>>
>>> On Thu, Feb 6, 2014 at 7:48 AM, Djemaa Adel <[email protected]> wrote:
>>>
>>>> hello,
>>>> put the files directely in in your application root directory, (copy
>>>> and paste the files ctrl+c  ,   ctrl+v).
>>>> good luck.
>>>>
>>>>
>>>> 2014-02-06 Pratyush Tottempudi <[email protected]>:
>>>>
>>>> Hello,
>>>>>
>>>>> Can you please let me how to how to add noise and network topology
>>>>> files to the module written.
>>>>>
>>>>> Thanking You,
>>>>> Pratyush Tottempudi.
>>>>>
>>>>>
>>>>> On Tue, Feb 4, 2014 at 2:12 AM, Djemaa Adel <[email protected]> wrote:
>>>>>
>>>>>> yes it is true, i used this file to create more than two nodes.
>>>>>> You can change it to create the desired number of nodes, but less
>>>>>> than 1000. this is the limit of TOSSIM.
>>>>>> good chance.
>>>>>>
>>>>>>
>>>>>> 2014-02-03 Pratyush Tottempudi <[email protected]>:
>>>>>>
>>>>>> Dear Djemma Adel,
>>>>>>>
>>>>>>> I have gone through the python file sen by you. The problem with
>>>>>>> that file, there was code for creating more than 3 nodes in that file. 
>>>>>>> Is
>>>>>>> it true?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sat, Feb 1, 2014 at 9:54 AM, Djemaa Adel <[email protected]> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ---------- Forwarded message ----------
>>>>>>>> From: Djemaa Adel <[email protected]>
>>>>>>>> Date: 2014-02-01
>>>>>>>> Subject: Re: [Tinyos-help] How to run a mote in TOSSIM.
>>>>>>>> To: Newlyn Erratt <[email protected]>
>>>>>>>>
>>>>>>>>
>>>>>>>> hello, if you want to silumlate two motes using TOSSIM, you will
>>>>>>>> need three other files: noise, python and topology.
>>>>>>>> Put them in the same directory of Blink application. Use command:
>>>>>>>> "make micaz sim" for compilation, and use command: "python test.py" for
>>>>>>>> execution and getting the outputs.
>>>>>>>> good luck
>>>>>>>>
>>>>>>>>
>>>>>>>> 2014-01-31 Newlyn Erratt <[email protected]>:
>>>>>>>>
>>>>>>>> Pratyush,
>>>>>>>>>
>>>>>>>>> What do you mean you see no output? It just goes to the next prompt
>>>>>>>>> with no output at all?
>>>>>>>>>
>>>>>>>>> Newlyn
>>>>>>>>>
>>>>>>>>> > On Jan 31, 2014, at 3:19 AM, Pratyush Tottempudi <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>> >
>>>>>>>>> > Hello, I am a computer science masters student. I am very new to
>>>>>>>>> the TinyOS and TOSSIM.I have the task of enabling communication 
>>>>>>>>> between
>>>>>>>>> source node and a sink node in TOSSIM. I know that to run an app in 
>>>>>>>>> TOSSIM,
>>>>>>>>> we need to use the command "make micaz sim". I however see no output 
>>>>>>>>> there.
>>>>>>>>> I also have a doubt, on how to implement a mote in TOSSIM.
>>>>>>>>> >
>>>>>>>>> > So, do I need to write 2 programs to implement 2 motes in
>>>>>>>>> TOSSIM, and enable communication using a Radio, or can the two motes 
>>>>>>>>> be
>>>>>>>>> implemented in a single program.
>>>>>>>>> >
>>>>>>>>> > Also, how do I see the output of Blink app in TOSSIM, after
>>>>>>>>> executing the command "make micaz sim".
>>>>>>>>> >
>>>>>>>>> > Please guide me on these.
>>>>>>>>> >
>>>>>>>>> > Thank You,
>>>>>>>>> > Pratyush Tottempudi.
>>>>>>>>> > _______________________________________________
>>>>>>>>> > 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
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to