On Oct 20, 2006, at 9:39 AM, Manish Kochhal wrote:
Dear TinyOS Users,
Hi.
In CollectionC configuration, LinkEstimatorAMSenderC,
LinkEstimatorAMReceiverC have been instantiated as new components
that handle both AM_COLLECTION_DATA and AM_COLLECTION_CONTROL.
I tried searching for generic modules LinkEstimatorAMSenderC and
LinkEstimatorAMReceiverC that accept AM message types as
parameters. The only module that is closely related to
LinkEstimator is LinkEstimatorP and LinkEstimatorDummyP and they
are not even generic modules. The same applies to configuration
LinkEstimatorC.
In LinkEstimatorDummyP, in the comments it has been mentioned that
// link estimator header added to
// every message passing thru' the link estimator
Even in the readme, it has been mentioned that " Both
TreeRoutingEngine and ForwardingEngine have their send and receive
paths wired through the LinkEstimator. The initial idea is to have
almost pass-through components LinkEstimatorAMSenderC and
LinkEstimatorAMReceiverC such that the link estimator can intercept
all packets to and from both components "
I am confused what it means by "pass-through components". How does
one declare it? In case of LinkEstimator, where are these
components (generic??) LinkEstimatorAMSenderC and
LinkEstimatorAMReceiverC located?
Does pass-through Send/Receive imply packet encapsulation of
AM_COLLECTION_DATA and AM_COLLECTION_CONTROL in the LinkEst
packet. If that is the case, then how will the AM layer provide a
separate queue slot for each of these AM types, since the AM type
at the lowest level i.e. the LinkEstimator would be the AM type of
the LinkEstimator packet i.e. AM_LINKEST = 0
Thanks in advance for clearing my doubts.
Manish,
"Pass-through" is a term used to describe a component that provides a
wiring with no code. E.g.:
configuration A {
provides interface Init;
uses interface Init as SubInit;
}
implementation {
Init = SubInit;
}
That being said, I would not be surprised if the collection code were
a bit out of synch with the TEP. The net2 WG is in the last stages of
testing a new collection implementation and architecture, which will
be in the updated collection TEP.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help