[Tinyos-help] Ask how to make sink as a sender on tinyos 1.1.10?
ma. pratama
spidol_permanen at yahoo.com
Thu May 7 21:21:58 PDT 2009
--- On Fri, 5/8/09, ma. pratama <spidol_permanen at yahoo.com> wrote:
From: ma. pratama <spidol_permanen at yahoo.com>
Subject: Re: [Tinyos-help] Ask how to make sink as a sender on tinyos 1.1.10?
To: "Michael Schippling" <schip at santafe.edu>
Date: Friday, May 8, 2009, 12:20 AM
OK.. now i could compile the micaz mote..for both TOSBase and Robot program..
But now i'm confuse on how using the Mote program?? im using MIB 600 Programmer Board. I already type " serial at com1:mica2 " --> (correct me if im wrong) in cygwin but there are no such commands..what should i type in the cygwin to see the data??
And how im suppose to know whether the sink send a data to other mote??Cause i dont see the leds on the sink flashing/ try to send the data.. ( I tried with only 2 mote and 1 sink).
--- On Thu, 5/7/09, Michael Schippling <schip at santafe.edu> wrote:
From: Michael Schippling <schip at santafe.edu>
Subject: Re: [Tinyos-help] Ask how to make sink as a sender on tinyos 1.1.10?
To: "ma.
pratama" <spidol_permanen at yahoo.com>
Cc: tinyos-help at millennium.berkeley.edu
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 /<spidol_permanen at yahoo.com>/* wrote:
>
>
> From: ma. pratama <spidol_permanen at yahoo.com>
> Subject: Re: [Tinyos-help] Ask how to make sink as a sender
on
> tinyos 1.1.10?
> To: "Michael Schippling" <schip at santafe.edu>
> 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 /<schip at santafe.edu>/* wrote:
>
>
> From: Michael Schippling <schip at santafe.edu>
> Subject: Re: [Tinyos-help] Ask how to make sink as a sender on
> tinyos 1.1.10?
> To: "ma. pratama" <spidol_permanen at yahoo.com>
> Cc: "Tinyos-Help" <tinyos-help at Millennium.Berkeley.EDU>
> 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
>
/<schip at santafe.edu>/* wrote:
> >
> >
> > From: Michael Schippling <schip at santafe.edu>
> > Subject: Re: [Tinyos-help] Ask how to make sink as a
> sender on
> > tinyos 1.1.10?
> > To: "ma. pratama" <spidol_permanen at yahoo.com>
> > Cc: tinyos-help at millennium.berkeley.edu
> > 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
> > > Tinyos-help at millennium.berkeley..edu
> > >
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
> >
> >
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090507/f94f40b0/attachment.htm
More information about the Tinyos-help
mailing list