[Tinyos-help] changing the default channel and default group in Tinyos-2.1
Michael Schippling
schip at santafe.edu
Wed Sep 3 15:06:56 PDT 2008
Can't help with the T2 settings,
but you did reprogram your Basestation
with the new channel, right?
MS
Eric Keller wrote:
> Can someone confirm the procedure to change the default channel and
> default group
> for a telosb mote under Tinyos-2.1? I would like to change it in the
> makefile in my source
> directory if I can.
>
> Here's the background:
> I have a network of 45 telosb motes running an application based on
> the Oscilloscope demo that is in apps/Oscilloscope. My application
> bears little resemblance to the Oscilloscope program anymore, but I
> was still using the AM message ID. Sometime today, a neighbor
> apparently started running the Oscilloscope demo on a sizable network,
> because I was getting packets even with my network turned off. I
> didn't test it using the oscilloscope java app, but
> Hex dumps show well formed packets as defined in the Oscilloscope
> program. I am using the default group and default channel. So I
> changed my message ID, and it started working better. But I'm still
> sharing a channel with someone else, and my network runs very slowly.
> Of course, this happened a few hours before I had to give a demo.
>
> I tried changing the channel in /opt/tinyos-2.x/tos/chips/cc2420/CC2420.h
> CC2420_DEF_CHANNEL = 24
> For whatever reason, this didn't seem to work. I have my motes hooked up to
> a group of 7 PC's and program them over USB. I compile the program
> and distribute
> it to the 7 PCs, which have tinyos installed. I reprogrammed all the
> motes with the
> new channel, and the base station mote was not receiving any messages.
>
> Thanks,
> Eric
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
More information about the Tinyos-help
mailing list