Hi Deepak,

You can change the tx power by using the

interface PacketField<uint8_t> as PacketTransmitPower;

interface provided by RF230ActiveMessageC.nc As for changing the
nodeid, there is some script that does that in the build process.
Probably you are using the graphical bootloader, and you do not call
this script manually to change the srec file. Probably you could also
set the nodeid by compiling

CFLAGS="-DTOS_NODE_ID=77" make meshbean

Best,
Miklos

On Thu, Dec 23, 2010 at 9:54 AM,  <[email protected]> wrote:
> Hello,
>              I had previously written code for micaz, now I am facing a
> couple of problems when programming for meshnetics.
> I need to know how can I set the TOS_NODE_ID for any given node. Also Micaz
> uses CC2420 and we could change tx power before every transmission, however
> how to do that for meshbean (rf230)?
>
> Regards,
> Deepak Hemnani.
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>

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

Reply via email to