hi ole,
i am very thankful to u....now, i understand whats going on..
but one thing reminds----that is ---i asked abt sampling at 1ms and sending the data in tht time only...for an external ADC signal of 50 hz(say)....using multihop(obvious) technique...
the thing is i am losing lots of packets...how can i overcome this problem...?
i need help in this area...
once again thank u.....
 
On 8/30/06, Ole Bischoff <[EMAIL PROTECTED]> wrote:
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
 
----- Original Message -----
Sent: Wednesday, August 30, 2006 5:47 AM
Subject: [Tinyos-help] Delta application -help required

 


From: siva prasad <[EMAIL PROTECTED] >
Date: Aug 28, 2006 12:52 AM
Subject: Delta application -help required
To: tinyos-help@millennium.berkeley.edu

hi all...
 
i am working on sampling the ADC value instead of DEmosensorc...in the delta application provided by moteiv.....
 
i am glad to say tht ..i hav successfully compiled it ...
and installed..it worked...
the problem is when i tried to undrstand the program..i am facing some difficulties....
 
-> i could nt understand the task..named...sendDone( )
 
-> while i tried to see the raw data using listen tool...it is showing 42 bytes...but i could nt figured out the data format..
 
->one more problem is...the signal tht i want to sample is a low frequency signal..abt 30Hz...
   if i increase the sampling time to 10ms ..i am losing lots of packets...
  
can any body pls help me...
 
thanks
 
siva katru



_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to