Hey everyone -
I'm working on some radio code for the telosB motes. Specifically, my code
calls AMSend.send(), and via the printf library, I've proved that it returns
SUCCESS.
Unfortunately, the event for sendDone never gets called.
I've heard that this can be caused due to ack issues, so for
() call (I'm too lazy to run it in my head) -- or
that calling send() from the startDone() is too early in
the cycle. If that's the case you could try calling send()
from a Timer.fired(), or posting a Task to do it a little
later on.
MS
David Lee wrote:
Hey everyone -
I'm working on some
, the system drags
to a halt.
MS
David Lee wrote:
That's an excellent idea I never thought to look for.
However, I know it's not that specific infinite loop, since the printf()
usually prints the same thing (except for the occasional bad packet?), and
that's:
Thread[Thread-1,5,main
:34 PM, David Lee d...@gray101.com wrote:
So, I've broken a test bit out that just handles the sending of a single
byte.
I've stuck more printfs in there to check for loops (not enough leds to use
those)
I'm not seeing any loops in my code's output. For references, here's the
output
Hey all,
I'm using TinyOS for a university project, and specifically am working with
the TelosB motes. I'm also using the YETI plugin for Eclipse, so running any
sort of simulation was a bit of a pain. In order to be able to simulate my
stuff via the standard build system, I made a custom .extra
Hey all,
I'm using TinyOS for a university project, and specifically am working with
the TelosB motes. I'm also using the YETI plugin for Eclipse, so running any
sort of simulation was a bit of a pain. In order to be able to simulate my
stuff via the standard build system, I made a custom .extra