On Jan 25, 2007, at 7:20 PM, Conard, Andrew wrote:
Hi,
I have a simple demo program in nesC where:
a) A "starter" mote, upon detecting a dark value, broadcasts a
message.
b) A "router" mote, upon receiving this message, forwards the
message (broadcasts it as well) and lights up the green LED.
c) A "base" mote finally receives this message and lights up the
yellow LED.
What is strange about this is that on the simulator, part A never
actually sends a message (and yes I made sure the ADC values
matched up with my "dark" values in the program). However, when I
use the Mica2 motes instead, part A works fine. The "router" will
receive the message and the green LED will light up. If I were to
put the "base" there instead, it will also receive the message.
However, if I try to have the router forward the message to the
base, the base will not receive the message. What could have
possibly happened in between? Or more importantly, why could this
not be working on the simulator?
TinyOS 2.0 or TinyOS 1.x? The two most common causes:
If TinyOS 2.0, it's possible you've configured a radio topology that
won't allow delivery.
If TinyOS 1.x (and the 'simple' radio model), it's possible that the
node hasn't booted yet.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help