[Tinyos-help] Delta application -help required
siva prasad
sivakatru at gmail.com
Wed Aug 30 06:12:42 PDT 2006
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 <s01item2 at item.uni-bremen.de> 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 -----
> *From:* siva prasad <sivakatru at gmail.com>
> *To:* tinyos-help at Millennium.Berkeley.EDU
> *Sent:* Wednesday, August 30, 2006 5:47 AM
> *Subject:* [Tinyos-help] Delta application -help required
>
>
>
>
> From: siva prasad <sivakatru at gmail.com>
> Date: Aug 28, 2006 12:52 AM
> Subject: Delta application -help required
> To: tinyos-help at 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 at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060830/9d26a862/attachment.htm
More information about the Tinyos-help
mailing list