[Tinyos-help] AVR butterfly port
Ken Peirce
thewirelessmacdude at yahoo.com
Mon Feb 12 17:07:46 PST 2007
I found a reference in the archives to a butterfly port. It was supposedly in a directory that began with "broken/". Its not in the tre now. Anyone know if it survives?
Ken
tinyos-help-request at Millennium.Berkeley.EDU wrote: Send Tinyos-help mailing list submissions to
tinyos-help at Millennium.Berkeley.EDU
To subscribe or unsubscribe via the World Wide Web, visit
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
or, via email, send a message with subject or body 'help' to
tinyos-help-request at Millennium.Berkeley.EDU
You can reach the person managing the list at
tinyos-help-owner at Millennium.Berkeley.EDU
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Tinyos-help digest..."
Today's Topics:
1. how to specify the address of ndoes (qin zhao)
2. Re: Random in TOSSIM (Philip Levis)
3. RE: How To SetUp A Basic Sensor Network (Giri Baleri)
4. SounderControl.start() (Conard, Andrew)
5. math functions and floating point numbers (virginia estellers)
----------------------------------------------------------------------
Message: 1
Date: Mon, 12 Feb 2007 15:59:47 +0000
From: "qin zhao"
Subject: [Tinyos-help] how to specify the address of ndoes
To: tinyos-help at Millennium.Berkeley.EDU
Message-ID:
Content-Type: text/plain; format=flowed
Hi,
I'm new to TinyOS. I started programming for a simple application with two
nodes. One is the master and the other one is the slave. My question is that
how to specify the address of the two nodes. What I did is that I use
TOS_LOCAL_ADDRESS and compare it's value with 0.
event result_t Timer.fired()
{
if (TOS_LOCAL_ADDRESS == 0)
// this is a master, send a beacon
else
// this is a slave, receive a beacon
....
}
But during debugging with TOSSIM, the value of TOS_LOCAL_ADDRESS is always
0. Can someone tell me where is TOS_LOCAL_ADDRESS originally defined? Why it
is always 0? What are the better ways to implement? Thanks a lot.
Best Regards,
Redmuts
_________________________________________________________________
Live Search, for accurate results! http://www.live.nl
------------------------------
Message: 2
Date: Mon, 12 Feb 2007 08:25:21 -0800
From: Philip Levis
Subject: Re: [Tinyos-help] Random in TOSSIM
To: Urs Hunkeler
Cc: tinyos-help at millennium.berkeley.edu
Message-ID: <167DF0F1-61D3-43A2-B0D1-3479C2C6AF04 at cs.stanford.edu>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
On Feb 12, 2007, at 1:04 AM, Urs Hunkeler wrote:
> Phil,
>
> It seems that Mino used different seeds. Looking at the output Mino
> posted I get the impression that the order of the numbers is
> different, but that the numbers always stay the same. This would
> mean that the PRNG produces a limited set of numbers, which seems
> to be a bit odd.
That's the random seed to *TOSSIM*, not to the mote random number
generators. The mote generators behave exactly as they do on real nodes:
RandomMlcgP.nc:
/* Initialize the seed from the ID of the node */
command error_t Init.init() {
atomic seed = (uint32_t)(TOS_NODE_ID + 1);
return SUCCESS;
}
So giving a random seed to TOSSIM will introduce randomness, such as
in the order you boot nodes, but the stream of random numbers each
node generates is deterministic.
Phil
------------------------------
Message: 3
Date: Mon, 12 Feb 2007 08:38:26 -0800
From: "Giri Baleri"
Subject: RE: [Tinyos-help] How To SetUp A Basic Sensor Network
To: "MicazMAK"
Cc: Tinyos-help at Millennium.Berkeley.EDU
Message-ID:
Content-Type: text/plain; charset="us-ascii"
First you need to set-up Stargate's CF card with XServe and Postgres.
Please refer to Stargate manual for details (Section 3.2).
http://www.xbow.com/Support/Support_pdf_files/Stargate_Manual.pdf
Then program the Motes with appropriate XMesh-based sensor apps using
MoteConfig. Please refer to the MoteConfig manual for details.
http://www.xbow.com/Support/Support_pdf_files/MoteConfig_Users_Manual.pd
f
The base station Mote needs to be programmed with XMeshBase and plugged
into the Stargate.
Once everything is set-up, you need to specify the remote connection to
Stargate's IP address in MoteView Datalog/Connection dialog. Refer to
the MoteView manual for details.
http://www.xbow.com/Support/Support_pdf_files/MoteView_Users_Manual.pdf
Regards,
Giri
________________________________
From: tinyos-help-bounces at Millennium.Berkeley.EDU
[mailto:tinyos-help-bounces at Millennium.Berkeley.EDU] On Behalf Of
MicazMAK
Sent: Friday, February 09, 2007 5:32 PM
To: Tinyos-help at Millennium.Berkeley.EDU
Subject: [Tinyos-help] How To SetUp A Basic Sensor Network
Hi
I have stargate board, and couple of motes. I want to collect data from
motes and store it in postgresql database and view it with moteview
application. Can some one guide me how to do that.
MAK
________________________________
8:00? 8:25? 8:40? Find a flick
in no
time
with theYahoo! Search movie showtime shortcut.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070212/8f8e9c19/attachment.html
------------------------------
Message: 4
Date: Mon, 12 Feb 2007 13:22:41 -0500
From: "Conard, Andrew"
Subject: [Tinyos-help] SounderControl.start()
To:
Message-ID:
<9F8EDD0EEBEC3C4D813AB66626997D314A499F at EXEVS07.its.uncc.edu>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
I was wondering how this method works exactly. When called once, is it only supposed to "chirp"? Or when you call it, does the sounder stay on until the SounderControl.stop() is called? For some reason, we have a program where the sounder is supposed to stay on for two seconds once a timer is set off, but it only "chirps" every time. Any help is appreciated.
Thanks,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070212/b0fb2b57/attachment-0001.htm
------------------------------
Message: 5
Date: Mon, 12 Feb 2007 20:26:42 +0100
From: "virginia estellers"
Subject: [Tinyos-help] math functions and floating point numbers
To: Tinyos-help at millennium.berkeley.edu
Message-ID:
Content-Type: text/plain; charset="iso-8859-1"
Hello!
I'm having troubles to include the math.h library on a program that should
run on micaz motes. I've been reading lot of the mails from the list, but
I'm quite dumb and do not succed in including correctly all the files,
paths... so, please, please, help me!
I'm using Tinyos 1.1
- Where must I include the #include or is it
includes math?
- Should I change the makefile?
- Is it necessary to add anything else in order to work
with floats?
Any comments would be much appreciated, really.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070212/d22d47c7/attachment-0001.html
------------------------------
_______________________________________________
Tinyos-help mailing list
Tinyos-help at Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
End of Tinyos-help Digest, Vol 46, Issue 37
*******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070212/3768ddb0/attachment.htm
More information about the Tinyos-help
mailing list