On Mon, 21 May 2007 18:30:26 -0600
Steve McKown <[EMAIL PROTECTED]> wrote:

> Hmmm.  It looks like the CC1000 radio implementation doesn't do hardware 
> filtering of incoming packets by addr, so you may need to do nothing but call 
> setAmAddress().  I haven't ever played around with the CC1000, so my quick 
> glance might be wrong.
> 

Hi!! 
I've experimented with mica2 motes and the source of BlinkToRadio. I've
added this code:

BlinkToRadioAppC.nc:

  components ActiveMessageAddressC;
  App.setAmAddress -> ActiveMessageAddressC;

BlinkToRadioC.nc:

  uses async command void setAmAddress(am_addr_t a);

  .......
  .......

  event void Boot.booted() {
    atomic {
      call setAmAddress(0xabcd);
    }
    call AMControl.start();
  }

and the address has changed. I've sended messages to another address
and the mica doesn't respond. It only responds at addresses 0xabcd and
AM_BROADCAST_ADDR

¡¡Thanks!!

-- 
Nunca confies en un S.O. del que no tienes código fuente ;-)

--------------------------------
Javier Almansa Sobrino.
Ingeniero Técnico en Sistemas.

Grupo de Investigación ARCo.
Escuela Superior de Informática. Ciudad Real
Tel: (+34)926 29 53 00 Ext: 3705

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

Reply via email to