On 6/6/07, Ákos Maróy <[EMAIL PROTECTED]> wrote:
I'm not sure I understand how Multihop Oscillator works, after reading
up on the README file that is along with it.

The README does it seem a bit brief... From reading the code:


let's suppose I would have motes with the following installed on them:

mote #0 - MultihopOscillator
mote #1 - MultihopOscillator

mote #100 - BaseStation


if so, mote #1 would send sensor readings to mote #0? does mote #0 do
any sensor reading on it's own? would mote #0 send sensor data to mote #100?

No. Node 0 is a root (see the last paragraph of the README and the
call to RootControl.setRoot in MultihopOscilloscope.nc), and in
MultihopOscilloscope, root nodes send the received data to the serial
port (see the code for Receive.receive in MultihopOscilloscopeC.nc).

and if I connect the java Oscillator app to mote #100, then it would
display all readings?

No. Connect the Oscilloscope app to mote #0.

sorry, this is a bit confusing for me...

The README should be improved...

David Gay

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to