--- On Thu, 5/7/09, ma. pratama <[email protected]> wrote:

From: ma. pratama <[email protected]>
Subject: Re: [Tinyos-help] Ask how to make sink as a sender on tinyos 1.1.10?
To: "Michael Schippling" <[email protected]>
Date: Thursday, May 7, 2009, 11:28 PM

My "MakeXbowLocal" file already the same with yours..Here is the error i've got 
from compiling micaz mote to the TOSBase and Robot program :  

This the makefile in the Robot folder :

COMPONENT=Robot
#SENSORBOARD=micasb
#include ../../../../apps/Makerules
CFLAGS= -I../../../../tos/sensorboards/micasb \

XBOWROOT=%T/../contrib/xbow/tos

PFLAGS= -I$(XBOWROOT)/platform/micaz \
        -I../../tos/interfaces -I../../tos/system

include ../MakeXbowlocal
include $(TOSROOT)/tools/make/Makerules

And this is the error i got from compile micaz mote :


                
                    
                
                                
                
                
                                
                
                                        
            
                                 
         
        
And this is the TOSBase Make file :

COMPONENT=TOSBase

XBOWROOT=%T/../contrib/xbow/tos

PFLAGS= -I$(XBOWROOT)/platform/micaz

include ../MakeXbowlocal
include $(TOSROOT)/tools/make/Makerules

And this is the error from compiling micaz mote in the TOSBase :

                
                    
                
                                
                
                
                    
                
                                
                
        
        

 
--- On Thu, 5/7/09, Michael Schippling <[email protected]> wrote:

From: Michael Schippling <[email protected]>
Subject: Re: [Tinyos-help] Ask how to make sink as a sender on tinyos 1.1.10?
To: "ma. pratama" <[email protected]>
Cc: [email protected]
Date: Thursday, May 7, 2009, 1:16 PM

It's been a while since I used that code, and of course,
I can't get the AVR dev system to work on the machine
I have in front of me, so this is all from memory...

I have, in the past, compiled and run on both mica2
and micaz...with the proviso that the Timer setting
of 1 will not work above v1.1.7 due to it's being
clamped at 3 after that.  But this
 only affects the
robot part of the robocode, not the messaging. For
micaz one needs 1.1.10 or higher IIRC.

First, it does have to be under contrib/xbow/apps and
have the whole xbow file subset. It looks like you
may have intuited that. I think it's just to get the
right defines for radio power and channel. In the
MakeXbowlocal I use these defines for both platforms:

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

CFLAGS +=-DCC2420_TXPOWER=TXPOWER_MAX
CFLAGS +=-DCC2420_DEF_CHANNEL=26

If you send the make output with command line and errors
maybe I can figure out what's wrong...

For message structure see the RoboMsg.h file and it's
ilk on the TOS side and the .java files under
Mote/src/com/etantdonnes/tinyos/robo for the host side.

MS

ma. pratama wrote:
> 
> 
> --- On *Thu, 5/7/09, ma. pratama /<[email protected]>/* wrote:
> 
> 
>     From: ma. pratama <[email protected]>
>     Subject: Re: [Tinyos-help] Ask how to make sink as a sender on
>     tinyos 1.1.10?
>     To: "Michael Schippling" <[email protected]>
>     Date: Thursday, May 7, 2009, 6:09 AM
> 
> 
>     Hi...ive already put all of the 3 folder you gave in your program,
>     but i still cant compile the micaz mote...are there any specific
>     changes
 should i do in the makexbowlocal ?? can you show me what
>     should i change ??
>     --- On *Thu, 5/7/09, Michael Schippling /<[email protected]>/* wrote:
> 
> 
>         From: Michael Schippling <[email protected]>
>         Subject: Re: [Tinyos-help] Ask how to make sink as a sender on
>         tinyos 1.1.10?
>         To: "ma. pratama" <[email protected]>
>         Cc: "Tinyos-Help" <[email protected]>
>         Date: Thursday, May 7, 2009, 2:37 AM
> 
>         OK. Sending from the HOST to the remote nodes,
>         rather than having the base station mote do
>         the sending on it's own, that's what you want?
> 
>         If so look at my code or SimpleCmd.
> 
>         In my code you can modify the message to Broadcast
>         to all nodes or send to only ONE of the re-Motes --
>         using the mote ID set at install time. See the TOS
>     
    doc/tutorial for info about the message structure and
>         addressing during Sends.
> 
>         MS
> 
> 
>         ma. pratama wrote:
>          > Yes..i want to send the source from the sink that connected
>         to the PC to other motes..
>          > Where can i find the send and simplecmd examples in TinyOS
>         1?? i dont get what you mean..? And can I use your program to
>         send the data from sink to a specific mote ??
>          >
>          > for example if there are 4 nodes and i want to send data from
>     
    Sink only to node 3 and 4 without sending to node 1 and 2,how
>         can i do that ?
>          >
>          > Thx,.
>          >
>          >
>          >     --- On *Thu, 5/7/09, Michael Schippling
>         /<[email protected]>/* wrote:
>          >
>          >
>          >         From: Michael Schippling <[email protected]>
>         
 >         Subject: Re: [Tinyos-help] Ask how to make sink as a
>         sender on
>          >         tinyos 1.1.10?
>          >         To: "ma. pratama" <[email protected]>
>          >         Cc: [email protected]
>          >         Date: Thursday, May 7, 2009, 1:53 AM
>          >
>          >     
    You can certainly change the base station code to use
>         the Send
>          >         interface just like the re-Motes, but I suspect you
>         want to
>          >         use the PC host as a message source. In that case see
>         the Send
>          >         and SimpleCmd examples in the T1 java code, or
>         TestSerial which
>          >         I think is only in T2.
>          >
>          >         You can also look at
 my posted code for
>         bi-directional messaging:
>          >            http://www.etantdonnes.com/Motes/robocode.tar.gz
>          >
>          >         MS
>          >
>          >         ma. pratama wrote:
>          >          > Hi all..
>          >          >
>          >          > I want to ask all of you how to make a sink / base
>     
    station
>          >         act as a sender that could send information to other
>         nodes? are
>          >         there any interface or component that could do that
>         sort of
>          >         thing? please help me...
>          >          >
>          >          > Thx..
>          >          >
>          >          > -Arif-
>          >         
 >
>          >          >
>          >          >
>          >          >
>          >                
>------------------------------------------------------------------------
>          >          >
>          >          > _______________________________________________
>          >          > 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



      


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

Reply via email to