Hi!

On Mon, Aug 18, 2008 at 9:19 PM, 贾鹏 <[EMAIL PROTECTED]> wrote:
> Hi, there
> I'm wondering whether it is possible to change RF230 channel in the packet
> level

Currently changing the channel dynamically is not supported. The
easiest way to do that would be to modify the

        async command uint8_t RF230Config.getDefaultChannel()
        {
                return RF230_DEF_CHANNEL;
        }

command in the RF230ActiveMessageP.nc file to return the channel
dynamically. Then to change the channel you need to stop the
RF230ActiveMessage component with SplitControl and then restart it.
Note, it is not practical to set this on a per packet basis since on
the receiver side the node cannot listen on multiple channels
symultaneously.

> and could anyone told me that where is the DRF230_DEFULT_CHANNEL
> initially defined?

It is define in tinyos-2.x\tos\platforms\iris\chips\rf230\HplRF230.h

Best,
Miklos

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

Reply via email to