Hi again,

The tool nesdoc, please have a look at the following link, after generating
the documentation, you can see the whole call graph.

http://docs.tinyos.net/index.php/Nesdoc

Regards,


-- 
Mehmet Akif Antepli
Telecommunications Lab. D-217
Dept. of EEE
Middle East Technical University


On Mon, Mar 8, 2010 at 10:59 AM, Mehmet Akif Antepli
<[email protected]>wrote:

> Hi to all,
>
> In the CC2420ActiveMessageC.nc, There is the following wiring:
>
>
> components UniqueSendC;
> #if defined(PACKET_LINK)
>   components PacketLinkC as LinkC;
> #else
>   components PacketLinkDummyC as LinkC;
> #endif
>
>  UniqueSendC.SubSend -> LinkC;
>
> ---
>
> Since in the UniqueSendC.nc file:
>
> SubSend = UniqueSendP.SubSend;
>
>
> Therefore, UniqueSendP.SubSend is provided by PacketLinkC
> or PacketLinkDummyC, depending on the macro.
>
> I recommend you to document your nesc code (i dont remember now, but threre
> was a toll for that :( ), so that you can see the call hierarchy
> graphically, which is simpler to trace!
>
> Regards,
>
> On Mon, Mar 8, 2010 at 1:27 AM, Mido <[email protected]> wrote:
>
>>  Once, I did this tracking. I will look up for the file that records
>> that, and send it to you, if I find it.
>>
>> But, I was doing it for Mica2.
>>
>> I remember that the easiest way to track that down is through the app.c
>> file.
>>
>>
>>
>> Best.
>>
>>
>>
>> *From:* [email protected] [mailto:
>> [email protected]] *On Behalf Of *Xiaohui Liu
>> *Sent:* Sunday, March 07, 2010 4:54 PM
>> *To:* Tinyos-Help
>> *Subject:* [Tinyos-help] when is event Send.sendDone in AMSenderC
>> actually triggered?
>>
>>
>>
>> Hi,
>>
>>
>>
>> I tried to track down to the point where Send.sendDone in AMSenderC is
>> triggered, which is the component used to send AM packet. And I end up with
>> a trace of components:
>>
>>
>>
>> AMSenderC -> AMQueueEntryP -> AMQueueP -> AMQueueImplP -> ActiveMessageC
>> -> CC2420ActiveMessageC -> CC2420ActiveMessageP -> UniqueSendC ->
>> UniqueSendP
>>
>>
>>
>> But in UniqueSendP, there is no provider of interface Subsend, not alone
>> its event Send.sendDone! Could anyone please help me check whether
>> Send.sendDone is triggered when packet starts being transmitted or after the
>> packet has been transmitted?
>>
>>
>> --
>> -Xiaohui Liu
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> [email protected]
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>
>
> --
> Mehmet Akif Antepli
> Telecommunications Lab. D-217
> Dept. of EEE
> Middle East Technical University
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to