You welcome! Let me know how it goes! - Raffaele
2009/6/25 ලසන්ති <[email protected]> > Thank you very much for the reply. > > I accept your suggestion. I will move my second send() to sendDone(). > > Thanks again! > Lasanthi > > > > 2009/6/25 Raffaele Gravina <[email protected]> > > Hi, >> before sending a message you MUST be sure the previous one has been >> completely sent. That means you should move the second call to the command >> "send" within the event "sendDone". >> >> Hope that helps you, >> >> - Raffaele >> >> 2009/6/25 ලසන්ති <[email protected]> >> >>> hi all, >>> I am working on a tinyOS project and in my code i have two message >>> sendings one after another. My intention is to send both messages every >>> time. So, in other words, i want to send the second message every time i >>> send the first message. >>> But, by looking at the debugging output, it seems to me only one message >>> is sent but not the other one; only first message or only second message, >>> but not both. >>> >>> Does anybody have any idea? >>> >>> I have a second question which is related to this. >>> i know that after the first send() method is called, its sendDone() >>> will call eventually. So, i was wandering, whether the rest of the receive() >>> method is executed or not after the sendDone() is executed? >>> >>> If it is not, then the answer to my question is obvious. but if it is >>> yes, I have no clue. >>> >>> Thanks! >>> >>> Lasanthi >>> >>> >>> >>> >>> >>> _______________________________________________ >>> Tinyos-help mailing list >>> [email protected] >>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >>> >> >> >> >> -- >> Raffaele Gravina | Research Engineer >> >> Wireless Sensor Networks Lab Berkeley >> 2000 Hearst Ave, suite 304 >> Berkeley, CA 94709 >> +1 510 666 0174 ext. 101 >> > > -- Raffaele Gravina | Research Engineer Wireless Sensor Networks Lab Berkeley 2000 Hearst Ave, suite 304 Berkeley, CA 94709 +1 510 666 0174 ext. 101
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
