Hi all,
a short question: i'm trying to catch SendMsg.sendDone() in my tython script..
i have created an event handler (in tython) 

from net.tinyos.sim.event import *
from simcore import *

def catch(event):
    print event

interp.addEventHandler(catch,UARTMsgSentEvent)


now in my nesc code i have implemented event result_t SendMesg.sendDone()
(i call SendMsg.Send(...) when the application throws Timer.fired() )

in TOSSIM console when a message is sent appears the right output ( 
printf(....))
but in tython console nothing appears...what can it be?

Bye and thanks
A.



       
---------------------------------

---------------------------------
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to