From: Adam D. <ad...@si...> - 2009-05-08 09:07:08
|
cc2420_set_channel() sets the physical radio channel of the radio transceiver. Both (all) communicating nodes must agree on a specific channel to use at each rendezvous between the nodes. This is usually done by a channel-hopping protocol at either the link or the MAC layer, where physical and timing information is readily available. It usually is not that easy to do on the application layer because the MAC layer may interfere (e.g., by sending broadcasts differently from unicasts). /adam antonio gonga wrote: > Hi Thomas, > > seems tricky.... U can try to change the channel using the function: > cc2420_set_channel(RF_CHANNEL); allow some time in order both nodes to > change the radio channel and then try to send the reply message. I'm not > quite sure in Contiki how it does work. In other operating systems for > WSN there is a status code that is returned indicating if the operation > was successful or not. However, in Contiki, it seems that you cannot be > sure if the channel is really changed or not. > > Other thing, when sending the message, both sender and receiver must be > operating in the same radio frequency. > > The Problem with radio channel hopping is a big discussion going on... > > tell me if u did solve it.. > > best > Antonio > > > ------------------------------------------------------------------------ > check out the rest of the Windows Live™. More than mail–Windows Live™ > goes way beyond your inbox. More than messages > <http://www.microsoft.com/windows/windowslive/> > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > > > ------------------------------------------------------------------------ > > _______________________________________________ > Contiki-developers mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/contiki-developers -- Adam Dunkels <ad...@si...>, +46707731614 http://www.sics.se/~adam/ |