[Tinyos-help] changing the default channel and default group in Tinyos-2.1
Eric Keller
eekeller at psu.edu
Wed Sep 3 14:15:37 PDT 2008
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
More information about the Tinyos-help
mailing list