[Tinyos-help] Interaction between LocationPlugin and FakeLocation?-->for Matt!

2007-12-19 Thread Antonio C
Hi all, i am trying to implement an application that uses multihopping(I'm using Surge, as it is in examples). I execute the application with this command line /surge/build/pc/main.exe -gui 7 & tinyviz first of all i enable SetLocation plugin on tinyviz, then i move motes clicking and dragging o

[Tinyos-help] How to catch sendDone() in tython?

2007-11-06 Thread Antonio C
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 ha

[Tinyos-help] Doesn't GenericComm work properly?

2007-11-05 Thread Antonio C
Hi all, i have already written a post about it (thanks Michael for your answers) i have made two example wizards using oscilloscope and oscilloscopeRF (so they may be correct :) ) oscilloscopeRF uses GenericComm, oscilloscope uses UARTComm, instead; if i execute the application oscilloscope ever

[Tinyos-help] SendMsg.Send & GenericComm

2007-11-01 Thread Antonio C
Hi all, i was trying to implement an application that uses SendMsg interface. I have looked previous posts (especially Event SendMsg.sendDone, may 2005) and i have copied and pasted the code inside my application Now, when i execute the application, it seems like to be in an infinite loop, with an

[Tinyos-help] Motes and ADCDataReadyEvent

2007-10-22 Thread Antonio C
Hi all, I was trying to implement a simple program: I have an application like Sense in nesc and a script in tython. I have a file in which there are some values that i have to put in the motes with setADCValue; now i run TOSSIM and tython; in the application there's a timer that is inizialized