Hi,
I'd always assumed that events can preempt events.
For example, in the below code, the event AMSend.sendDone should preempt
Timer1.fired (as Timer1.fired runs for a long time).
However, this is not happening.
Things do not change when I move the code inside Timer1.fired to a task, and
Mido,
In general, there is no preemption of any kind in vanilla tinyos. There
are interrupts which can disrupt the normal execution of a program,
these are usually denoted by the async keyword. There is only a
single thread of execution so if one event or task takes a very long
time, it
Hi
IN the past it seemed the periodic recalibration of the DCO in the
MSP430 had been removed for some reason. Has that been reinstated? Or is
there some means to programaticaly force a recalibration?
I had been using the DCO as the UART clock source. I found that even at
9600 baud - in
Hi Steve,
There is a function that executes the recalibration of the DCO in the
Msp430ClockP.nc file. You could do it yourself whenever you need it. I
think the periodic recalibration got removed because most applications
don't use the DCO for time critical things.
An other solution for you
Hi,
I am trying to use serial forwarder and I typed the command
$ java net.tinyos.sf.SerialForwarder
And I got
The toscomm JNI library was not found.
Check that your tinyos-tools package is installed and try
rerunning tos-install-jni.
Aborting.
I tried
$ tos-install-jni