|
Hy Siva,
here is a short description of the Delta
application:
- StdControl.start() calls the command Timer.start() to start the programm
- Every time when Timer.fired() (periodically, all DELTA_TIME ms) the sensor gets the request ADC.getData()
- When the data is ready (ADC.dataReady()), the sendData() task will be posted
- sendData() sends
the sensor reading and some route information in the message dmsg with SendDeltaMsg.send()
- SendDeltaMsg.sendDone() indicates that the message was
sent by your mote (it's is not an ACK from your destination) and erases it
from the queue buffer
- SnoopDeltaMsg.intercept() reports an incoming
message, which should be forwarded (by the MultiHop module)
If you want to know why and which parent / route is
selected in sendData() you'll have to take
a closer look at .../moteiv/tos/lib/MultiHopLQI.
Genrerally it is helpfull to compile the apps with
make tmote fileset to
generate a filest.txt file in .../build/tmote that lists the used
components and header including the location of each source
file.
Also you can create some documentation of an
application by using make tmote docs instead,
this generates a html-based documentation in .../moteiv/doc/nesdoc. There you
can see all the apps, components, interfaces and the wiring.
Hope this helps you a bit.
OLE
|
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
