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?

Thanks.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to