Hello.. Could you please specify clearly which version of tinyos are you working over and what exactly is your need ?
I had done a similar thing for a tracking application, but it was using Tython in TinyOS-1.15.. And what I could achieve was to move a specific mote as and when a command is typed on the prompt. Regards, Kiraneet > Message: 4 > Date: Mon, 22 Feb 2010 18:35:19 +0000 > From: LIKITH RAJ <[email protected]> > Subject: [Tinyos-help] mobility of motes in tinyos > To: [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > how to create mobile motes in tinyos > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20100222/cab860db/attachment-0001.htm > > ------------------------------ > > Message: 5 > Date: Mon, 22 Feb 2010 18:53:47 +0000 > From: LIKITH RAJ <[email protected]> > Subject: [Tinyos-help] mobile motes in tossim > To: [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > how to create mobile motes in tossim > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20100222/cf102918/attachment-0001.htm > > ------------------------------ > > Message: 6 > Date: Mon, 22 Feb 2010 11:12:17 -0800 > From: Omprakash Gnawali <[email protected]> > Subject: Re: [Tinyos-help] some questions about CTP > To: Xiaohui Liu <[email protected]> > Cc: Tinyos-Help <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > On Sun, Feb 21, 2010 at 10:02 PM, Xiaohui Liu <[email protected]> wrote: > > Hi everyone, > > Please help me with the following questions regarding CTP, specifically > for > > forwarding engine component "CtpForwardingEngineP.nc". > > 1) In the event handler > > ??event void SubSend.sendDone(message_t* msg, error_t error) { > > .. > > else if (error != SUCCESS) { > > .. > > else if (ackPending && !call PacketAcknowledgements.wasAcked(msg)) { > > .. > > } > > What is the difference between the two conditions? Aren't both of them > > suggesting failed delivery by means of absence of ACK? What scenarios > would > > cause "error != SUCCESS" exactly, possibly besides no ACK? > > The possible return values are: SUCCESS, FAIL, and ECANCEL. SUCCESS > does not mean the packet was acknowledged. > > > > 2)?In the same event handler > > ??event void SubSend.sendDone(message_t* msg, error_t error) { > > .. > > ?? ?else if (qe->client < CLIENT_COUNT) { > > .. > > ?? ? ? call SendQueue.dequeue(); > > .. > > ??} > > ?? ?else if (call MessagePool.size() < call MessagePool.maxSize()) { > > .. > > ?? ? ?call SentCache.insert(qe->msg); > > ?? ? ?call SendQueue.dequeue(); > > .. > > It shows forwarded packets from other nodes are cached after successfully > > transmitted, for duplicate suppression. However, packets generated > locally > > (qe->client < CLIENT_COUNT) are not cached. Since these two kind of > packets > > share the same send queue, why are they treated differently as to > caching? > > Duplicates typically happen due to retransmissions. With a small cache > size (4 entries), we wanted to focus on catching the dominant cause of > duplication. CTP defines duplicates as packets that match origin, seq, > thl, and type. If you encounter the same packet twice once it has gone > through a loop, the chances are small that the thl will be the same. > So those packets would not be duplicate with CTP's definition of > duplicate. > > - om_p > > > > ------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > End of Tinyos-help Digest, Vol 82, Issue 79 > ******************************************* >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
