[Tinyos-help] CTP

Muhammad Azhar leo_az_83 at hotmail.com
Tue Feb 6 21:07:01 PST 2007


hi,

I don't quite understand some definitions used in ctp (I'm using tinyos-2).

-In CtpForwardingEngineP(), the generic module provides interface 
Send[uint8_t client].  What does this client integer refer to?

-[CtpForwardingEngineP] CLIENT_COUNT is the value of 
uniqueCount(UQ_CTP_CLIENT) [i am aware that uniqueCount counts the uses of 
unique], however, when I tracked back to Ctp.h, I found <#define 
UQ_CTP_CLIENT "CtpSenderC.CollectId"> .  From here, I'm a bit lost as to 
what exactly CLIENT_COUNT refers to, 'coz when I checked CtpSenderC's 
interface, I couldn't make out the link with CtpSenderC.CollectId.

-[CtpForwardingEngineP] Am I right to say that a forwarded packet is one 
where the node is simply passing the packet to a destination such that it 
reaches the root eventually, whereas a packet from a send client is one 
where the node generates the data packet which is also to be sent to a 
destination such that it reaches the root eventually?

-[CtpForwardingEngineP, MViz] With reference to the MViz application, what 
is the difference between the interval found in MViz (default is 1024) with 
that of the FORWARD_PACKET_TIME which is effectively 4ms for a TelosB mote?

thanks..

azhar




More information about the Tinyos-help mailing list