oops sorry, the frequency defines are part of the xbow contrib in:
    contrib/xbow/tos/platform/mica2/CC1000Const.h
I do my compiles from withing that tree so I pick them up.
If you don't do that you should be able to used the "old" way
of defining the radio channel in the standard apps makefiles.
I believe the power setting is the thing of interest, and is
also common to both.

MS


Prashant Pillai wrote:
Hi Michael,
Thanks for your reply. I added my own makelocal with the requried parameters. But now it gives the following error: C:/Progra~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000ControlM.nc:393:'RADIO_916BAND_CHANNEL_00' undeclared <first use in function> Is there any particular reason that it works for the Micaz motes but does not work for the Mica2 motes.

Prashant
On Mon, Mar 24, 2008 at 6:26 PM, Michael Schippling <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    If you're using T1 (and probably T2 as well) make sure you have defined
    the same radio channel and kicked the xmit power up. That's pretty much
    what the xbow makefile does for mica2's. Look for:

       CFLAGS = -DCC1K_DEFAULT_FREQ=RADIO_916BAND_CHANNEL_0
       CFLAGS += -DRADIO_XMIT_POWER=0xFF

    MS

    Prashant Pillai wrote:


        Hi All,
         I am having some probelms with radio comms. for the Mica2 mote.
        I have installed CntToLedsAndRfm in Mote 1 and RfmToLeds on Mote
        2, but on switching them on, the Mote 2 does not show anything
        on the leds. I have also reversed the programs and tried with
        other sets of motes. Interesting the program works for my MICAZ
        motes. The problem is only with the MICA2 ones that I have. I am
        not using the xbow contributions at the moment, so the
        CntToLedsAndRfm and the RfmToLeds are the ones present in the
        tinyos apps. is it because of this? I remember earlier when I
        used to use the xbow contribs on another old machine there was a
        MakeXbowLocal file. I tried copyin that over to my new machine
        but starting getting several errors.
         Can someone please help me with this?
         Thanking you in advance.
         Regards
        Prashant Pillai


        ------------------------------------------------------------------------

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


-- Platform: WinXP/Cygwin
    TinyOS version: 1.x, Boomerang
    Programmer: MIB510
    Device(s): Mica2, MicaZ, Tmote
    Sensor board: homebrew




--
Dr Prashant Pillai
School of Engineering, Design and Technology
University of Bradford
Bradford, BD7 1DP
West Yorkshire
United Kingdom

--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew

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

Reply via email to