Hi,

I'm trying to program two micaZ motes to communicate with each other
as described in tutorial 3: Mote-mote radio communication [0]. The
problem is that nodes are not sending anything to each other.

What can I do to try to understand what the problem is and debug it?
Here are relevant information that can help to understand what is
happening:

Configuration:
- micaZ (tried with four different motes)
- mib520 controller
- Debian sid
- TinyOS 2.1.1 installed via the deb packages (lucid version, had to
  add the generic_printf.h file)

Steps to reproduce the problem:

- used the BlinkToRadio tutorial, compiled it and sent it to the two
  motes.
- noticed that the leds are not blinking
- modified[1] the tutorial code[2]: added printf() calls to see what was
  happening
- noticed that the boot event works well
- noticed that those events are not triggered:
  - event void AMControl.startDone(error_t err)
  - event void AMControl.stopDone(error_t err)
- tried to call the timer from the boot event nevertheless
- noticed that the AMSend.send call always returns FAIL.

Related information:

- The first two tutorials work perfectly well.
- I get a warning during the compilation log[2], but I don't think
  this is related :: «
  /opt/tinyos-2.1.1/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning:
  #warning "*** LOW POWER COMMUNICATIONS DISABLED ***" »

I exhausted all available resources I could find:
- the documentation does not mention this
- mailing list posts, but the problem is usually the inability to
  receive a message, not to send it
- I also tried the RadioSenseToLeds code, but I have the same
  problem.

Thanks for you help!

[0] http://docs.tinyos.net/index.php/Mote-mote_radio_communication
[1] http://www.tinyos.net/tinyos-2.x/apps/tutorials/BlinkToRadio/
[3] http://paste.pocoo.org/show/240354/
[2] http://dpaste.com/hold/220806/

Regards,
Quentin Pradet.

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

Reply via email to