Title: Message
TinyOS 1.x won't do it, it's broken.  TinyOS 2.x will, and so will an upgraded radio stack on TinyOS 1.x.
 
To upgrade your TinyOS 1.x CC1000 radio stack, download the CC1000Radio directory from TinyOS 1.x CVS under /contrib/rincon/tos/lib/CC1000Radio.  Put that in your /lib/ directory, and compile your programs referencing that directory:
 
CFLAGS += -I%T/lib/CC1000Radio
CFLAGS += -I%T/lib/CC1000Radio/interfaces
CFLAGS += -I%T/lib/CC1000Radio/core
 
That should do it.  Compile your program and you'll be referencing the new stack instead of the old one located in /mica2.  And if you ever want to go back to the old one, just stop including the CC1000Radio directory.
 
You'll need NesC 1.2.7 to compile that code at the moment, because of some return-from-atomic-block problems I haven't gotten around to fixing yet.
 
The interface you're interested in is CC1000Control.tuneManual(freqHz), provided by CC1000RadioC. Example:  call CC1000Control.tuneManual(914077076);
 
You may run into problems if you're in the middle of sending a message and switch frequencies, I'm not sure.
 
-David
 
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lei
Sent: Thursday, September 14, 2006 1:26 PM
To: [email protected]
Subject: [Tinyos-help] Help for Multifrequency operations

Dear all:
    I would like to dynamiclly operate my mote MICA2 based on transceiver CC1000 with multi frequency,
I know we can mannually change the channel in Profile by setting the channel No.
but how to dynamically do it,
    Anybody who has expperience or idea?
thanks!
Lei
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to