Re: [Tinyos-help] Telosb OEM platform suppliers

2009-03-02 Thread Chad Metcalf
Arch Rock would be another option. http://www.archrock.com

Either PhyNet OEM line:
http://www.archrock.com/products/phynet_oem_edition.php

Or EPIC cores:
http://store.archrock.com/ProductDetails.asp?ProductCode=RMB%2D2000
http://store.archrock.com/ProductDetails.asp?ProductCode=RMB%2D2000U

You can read more about EPIC here:
http://www.cs.berkeley.edu/~prabal/pubs/papers/dutta08epic.pdf

If you are looking for volume, I'd recommend contacting sales
directly. The alias for the sales team is sa...@archrock.com.

Cheers
Chad

On Mon, Mar 2, 2009 at 7:30 AM, Mindaugas Jaraminas  wrote:
> Hello everyone. I am searching for alternative telosb platform
> suppliers how can provide hardware in competitive prises range.
> Currently I know: Xbow, Sentilla and Maxfor neither of them are
> acceptable for us to do business (don't ask why). Does someone known
> other suppliers?
>
> Thanks in advanced.
> --
> Best regards
> Mindaugas Jaraminas
>
> tel. +34 91 353 15 64 Ext-125
> http://isisingenieria.com/
> Métodos y Tecnología
> Paseo de la Castellana 182, 10º
> 28046 - Madrid
> SPAIN
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Arch Rock Releases EPIC Motes and Modules Online

2009-01-05 Thread Chad Metcalf
For those of you with plain text email clients just go to:

http://store.archrock.com/SearchResults.asp?Cat=27

Cheers,
Chad

On Mon, Jan 5, 2009 at 6:25 PM, Chad Metcalf  wrote:
> I apologize in advance for the slightly off topic post. But it appears the
> tinyos list is dead. And for those of you looking for EPIC's this should
> help. :)
>
> Arch Rock is pleased to announce that their EPIC based motes and modules are
> now available online.
>
> Arch Rock has three flavors of EPICs available.
>
> EPIC Development Boards - The full feature set of the EPIC Core is exposed
> for easy development and testing. Perfect for rapid prototyping and
> experimentation. No soldering required.
>
> EPIC Motes - The EPIC Mote includes an EPIC Core in a TelosB form factor
> with compatible expansion connector that can attach to existing sensor
> boards. Integrated light, temperature and humidity sensors are available as
> well.
>
> EPIC Cores - A stand alone EPIC Core for your own custom designs.
>
> TinyOS support is already available in CVS via make epic.
>
> As a special offer if you buy 10 or more of a single type of the motes or
> modules before January 31st, 2009 you will get 20% off. For more details or
> to place a large quantity order you should contact sa...@archrock.com.
>
> Cheers!
>
> Chad
>
> --
>
> Chad Stephen Metcalf
> Arch Rock Corporation
> http://www.archrock.com
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Arch Rock Releases EPIC Motes and Modules Online

2009-01-05 Thread Chad Metcalf
I apologize in advance for the slightly off topic post. But it appears  
the tinyos list is dead. And for those of you looking for EPIC's this  
should help. :)


Arch Rock is pleased to announce that their EPIC based motes and  
modules are now available online.


Arch Rock has three flavors of EPICs available.

EPIC Development Boards - The full feature set of the EPIC Core is  
exposed for easy development and testing. Perfect for rapid  
prototyping and experimentation. No soldering required.


EPIC Motes - The EPIC Mote includes an EPIC Core in a TelosB form  
factor with compatible expansion connector that can attach to existing  
sensor boards. Integrated light, temperature and humidity sensors are  
available as well.


EPIC Cores - A stand alone EPIC Core for your own custom designs.

TinyOS support is already available in CVS via make epic.

As a special offer if you buy 10 or more of a single type of the motes  
or modules before January 31st, 2009 you will get 20% off. For more  
details or to place a large quantity order you should contact sa...@archrock.com 
.


Cheers!

Chad

--
Chad Stephen Metcalf
Arch Rock Corporation
http://www.archrock.com___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TOSSIM T2: real-world interactions

2008-05-09 Thread Chad Metcalf
1) partly addressed (the code is a 1 to 1 ratio but can easily change to
some multiple)
2) not addressed
3) all packets come out via an internal SF (packets can go in the via the
same SF)

These are available in CVS actually. Using the sim-sf target.

There is an example of how to use it in tos/lib/sim/sf/examples

Cheers
Chad

On Fri, May 9, 2008 at 8:54 AM, Philip Levis <[EMAIL PROTECTED]> wrote:

>
> On May 8, 2008, at 9:45 PM, Paul Stickney wrote:
> > I am looking for connecting TOSSIM (for TOS 2.x) with "the
> > real-world". My requirements:
> > 1) simulation time run as constant multiple of real-world time
> > 2) sim-time based events in python
> > 3) simulation packets dispatched via serial-forwarder compatible
> > server.
> >
> > I am aware that these seem to, for the most part, have TOSSIM (for TOS
> > 1.x) counter-parts, but I have come up empty-handed in searches for
> > TOSSIM/T2 ways of interacting at this level.
>
> Chad Metcalf implemented TOSSIM live, which I think has some of the
> functionality you desire. I believe it's in tinyos-2.x-contrib?
>
> Phil
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] In Xubuntos2, how to switch from TinyOS 2.x to TinyOS 1.x?

2008-02-13 Thread Chad Metcalf
Assuming you're using BASH and therefore the .bash_tinyos file its:

[EMAIL PROTECTED]:~$ tos1
Setting up for TinyOS 1.x
... Do TinyOS 1.x work ...
[EMAIL PROTECTED]:~$ tos2
Setting up for TinyOS 2.x ...
... Do TinyOS 2.x work


The commands are just tos1 and tos2.

Chad

On Feb 13, 2008 12:16 PM, Chris Yao <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I have followed:
>
> http://sing.stanford.edu/klueska/installing_xubuntos_vm.html
>
> to install Xubuntos2. The default configuration is TinyOS 2.x
>
> How do I switch the environment to TinyOS 1.x?
>
> Thanks,
>
> Chris
>
> --
> Never miss a thing. Make Yahoo your 
> homepage.
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Re: [Tinyos-devel] Problems with tinyos-1.x vs. 2.x

2007-12-16 Thread Chad Metcalf
On Dec 16, 2007 12:34 PM, Kevin Klues <[EMAIL PROTECTED]> wrote:

>
> My solution to all this would be to try and convince everyone to switch
> over to tinyos-2.x, but I realize that some people are reluctant to do so
> right away.  Many of the crossbow sensor drivers only exist for tinyos-1.x, 
> and many users have written code for their own applications that relies on
> the way the 1.x task scheduler operates (which is quite different than the
> 2.x task scheduler).  Code between the two versions is therefore
> unfortunately not backwards compatible.  So whats the right answer here?  Do
> we need someone who is really invested in tinyos-1.x to step up and become
> the official maintainer of the tinyos-1.x tree -- fixing bugs, etc. as
> they come in and pushing out new releases that have the bug fixes in them?
> Or would it be better to start motivating people to start porting everything
> over to tinyos-2.x, so that their reliance on 1.x slowly fades away?
>

Yup. At one point in time there was a notion of a 1.2 release working group
(http://tinyos.net/scoop/special/working_group_tinyos_1-2). But this group
hasn't been active for years.

Speaking from the stand point of a XubunTOS maintainer I'd like nothing more
then to see TinyOS 1.x be officially put into a sunset mode. Keeping
1.xsupport in XubtunTOS takes 10 times the effort of supporting
2.x. Mostly because we've forgotten more about 1.x then we remember. There
is significant code rot in the tree. Contrib is a mess.

On the other hand you're right many of the protocols are being left behind.
TinyOS as an largely academic project means those protocols won't be ported.
Companies aren't likely to pay for these to port, they want new chipset
support, or improving on 2.x. Maybe generate a wish list and have classes
port the best of 1.x. Student labor is just about the right price...

I'd imagine this is something the Alliance and probably Core should make a
decision on. I imagine the "right" answer is to sunset official support for
1.x (toolchains, install, everything). At this point the amount of support
for 1.x is just a band-aid anyway. Rip it off and be done with it. A brief
sunset period allows people to transition away or create some community
support for a 1.2 project. Then after the sunset, its time to move on.

The code will always be available at SourceForge so people who join the
community can always look back. The last version of the supported tools can
be available to people who linger. But the new members of the community will
start in the right direction. They will have a reason to port what they need
across the dead code barrier.

My two cents.
Chad
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] (T2-cvs) Bug in tossim-sf ?

2007-12-05 Thread Chad Metcalf
So the most important thing about using the new TOSSIM-sf is that you have
to have to be using the serial stack and using it correctly. Please see
http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson4.html or
apps/test/TestSerial for an example.

Cheers
Chad

On Dec 4, 2007 3:33 PM, Van der Haegen Mathieu <[EMAIL PROTECTED]>
wrote:

> Hey everybody
>
> I've got a strange problem here :
> I'm trying to use tossim-sf with a nesc application i developped
> (AnchorApp)
> So when I try to compile it using : * make micaz sim-sf*
> I get the following errors :
>
> > [EMAIL PROTECTED] :/media/LACIE/MLG/piman/demo/v1/t2cvs/tinyos-
> > 2.x-contrib/ulb/mlg/apps/alts/anchor$ make micaz sim-sf
> > mkdir -p build/micaz
> > mig java -DIDENT_PROGRAM_NAME=\"AnchorAppC\" -DIDENT_USER_ID=\"dwarfy\"
> > -DIDENT_HOSTNAME=\"dwarfy -laptop\" -DIDENT_USER_HASH=0xae717420L
> > -DIDENT_UNIX_TIME=0x47556c5fL -DIDENT_UID_HASH=0xe52eb359L -java-classname=
> > net.tinyos.alts.engine.LAMsg anchor.h LAMsg -o LAMsg.java
> > mig java -DIDENT_PROGRAM_NAME=\"AnchorAppC\" -DIDENT_USER_ID=\"dwarfy\"
> > -DIDENT_HOSTNAME=\"dwarfy -laptop\" -DIDENT_USER_HASH=0xae717420L
> > -DIDENT_UNIX_TIME=0x47556c5fL -DIDENT_UID_HASH=0xe52eb359L -java-classname=
> > net.tinyos.alts.engine.LRMsg anchor.h LRMsg -o LRMsg.java
> > mv LAMsg.java ../../../support/sdk/java/src/net/tinyos/alts/engine/
> > mv LRMsg.java ../../../support/sdk/java/src/net/tinyos/alts/engine/
> >   placing object files in build/micaz
> >   writing XML schema to app.xml
> >   compiling AnchorAppC to object file sim.o
> > ncc -c -shared -fPIC -o build/micaz/sim.o -g -O0 -tossim
> > -fnesc-nido-tosnodes=1000 -fnesc-simulate 
> > -fnesc-nido-motenumber=sim_node\(\) 
> > -I/media/LACIE/MLG/piman/demo/v1/t2cvs/tinyos-
> > 2.x/tos/lib/tossim/sf -Wall -Wshadow -Wnesc-all -target=micaz
> > -fnesc-cfile=build/micaz/app.c -board=micasb -finline-limit=10
> > -DIDENT_PROGRAM_NAME=\"AnchorAppC\" -DIDENT_USER_ID=\"dwarfy\"
> > -DIDENT_HOSTNAME=\"dwarfy -laptop\" -DIDENT_USER_HASH=0xae717420L
> > -DIDENT_UNIX_TIME=0x47556c5fL -DIDENT_UID_HASH=0xe52eb359L
> > -Wno-nesc-data-race AnchorAppC.nc   -fnesc-dump=components
> > -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs
> > -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml
> > In component `SerialActiveMessageC':
> > /media/LACIE/MLG/piman/demo/v1 /t2cvs/tinyos- 2.x
> > /tos/lib/tossim/sf/sim/SerialActiveMessageC.nc: In function
> > `startDone.runTask':
> > /media/LACIE/MLG/piman/demo/v1/t2cvs/tinyos-2.x
> > /tos/lib/tossim/sf/sim/SerialAc tiveMessageC.nc:74:
> > SplitControl.startDone not connected
> > /media/LACIE/MLG/piman/demo/v1/t2cvs/tinyos-2.x
> > /tos/lib/tossim/sf/sim/SerialActiveMessageC.nc: In function
> > `stopDone.runTask':
> > /media/LACIE/MLG/piman/demo/v1 /t2cvs/tinyos-2.x
> > /tos/lib/tossim/sf/sim/SerialActiveMessageC.nc:75: SplitControl.stopDonenot 
> > connected
> > make: *** [sim-exe] Error 1
>
>
> I don't know what happend here ?
>
> Btw when I compile using : *make micaz sim *, I get :
>
> > [EMAIL PROTECTED]:/media/LACIE/MLG/piman/demo/v1/t2cvs/tinyos-
> > 2.x-contrib /ulb/mlg/apps/alts/anchor$ make micaz sim
> > mkdir -p build/micaz
> > mig java -DIDENT_PROGRAM_NAME=\"AnchorAppC\" -DIDENT_USER_ID=\"dwarfy\"
> > -DIDENT_HOSTNAME=\"dwarfy-laptop\" -DIDENT_USER_HASH=0xae717420L
> > -DIDENT_UNIX_TIME=0x4755dc0cL -DIDENT_UID_HASH=0xb631a11bL -java-classname=
> > net.tinyos.alts.engine.LAMsg anchor.h LAMsg -o LAMsg.java
> > mig java -DIDENT_PROGRAM_NAME=\"AnchorAppC\" -DIDENT_USER_ID=\"dwarfy\"
> > -DIDENT_HOSTNAME=\"dwarfy-laptop\" -DIDENT_USER_HASH=0xae717420L
> > -DIDENT_UNIX_TIME=0x4755dc0cL -DIDENT_UID_HASH=0xb631a11bL -java-classname=
> > net.tinyos.alts.engine.LRMsg anchor.h LRMsg -o LRMsg.java
> > mv LAMsg.java ../../../support/sdk/java/src/net/tinyos/alts/engine/
> > mv LRMsg.java ../../../support/sdk/java/src/net/tinyos/alts/engine/
> >   placing object files in build/micaz
> >   writing XML schema to app.xml
> >   compiling AnchorAppC to object file sim.o
> > ncc -c -shared -fPIC -o build/micaz/sim.o -g -O0 -tossim
> > -fnesc-nido-tosnodes=1000 -fnesc-simulate
> > -fnesc-nido-motenumber=sim_node\(\)   -Wall -Wshadow -Wnesc-all
> > -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb
> > -finline-limit=10 -DIDENT_PROGRAM_NAME=\"AnchorAppC\"
> > -DIDENT_USER_ID=\"dwarfy\" -DIDENT_HOSTNAME=\"dwarfy-laptop\"
> > -DIDENT_USER_HASH=0xae717420L -DIDENT_UNIX_TIME=0x4755dc0cL
> > -DIDENT_UID_HASH=0xb631a11bL -Wno-nesc-data-race AnchorAppC.nc
> > -fnesc-dump=components -fnesc-dump=variables -fnesc-dump=constants
> > -fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags
> > -fnesc-dumpfile=app.xml
> >   compiling Python support and C libraries into pytossim.o, tossim.o,
> > and c-support.o
> > g++ -c  -shared -fPIC -o build/micaz/pytossim.o -g -O0
> > -DIDENT_PROGRAM_NAME=\"AnchorAppC\" -DIDENT_USER_ID=\"dwarfy\"
> > -DIDENT_HOSTNAME=\"dwarfy-laptop\" -DIDENT_USER_HASH=0xae71

Re: Fwd: [Tinyos-help] error while incorporating interface CC2420Packet;

2007-12-02 Thread Chad Metcalf
Greg is correct TOSSIM doesn't support any of the CC2420 interfaces.

TOSSIM doesn't support changing the power levels. However you can simulate
networks with varying densities, link qualities, etc. This is done via
altering the link gain model you feed into TOSSIM. Determining what link
gain models to use is an exercise left to the reader.

Greg, also mentioned Avrora which has preliminary MicaZ support. Your
mileage may vary, it looks like a fairly early beta.

Chad

On Dec 2, 2007 4:58 PM, Vijayant Bhatnagar <[EMAIL PROTECTED]>
wrote:

> Hi,
> I would like to thank Greg for his quick reply. Right now, we don't have
> real motes. Our plan is to get things working on TOSSIM (i.e. some kind of
> simulation environment) for testing our protocol. We have already developed
> Neighbor Discovery protocol and Routing protocols. We just need to give it a
> final touch by analyzing how our protocols behave on different energy
> levels.
>
> We would be getting motes next month. By that time, we are planning to
> come up with meaningful results and analysis.
>
> Is there any software/simulation tool that can help us do this ?
>
> Any help is appreciated.
>
> Thanks again to Tinyos-help group!
>
> Regards,
> Vijayant
>
>
>
> On Dec 2, 2007 7:40 PM, Greg Hackmann <[EMAIL PROTECTED]> wrote:
>
> > Kevin Klues wrote:
> > > I don't think getting the latest code will help you any.  I haven't
> > > dug into how the inner workings of the cc2420 are simulated by TOSSIM,
> > > but my guess is that they probably aren't.  I'm sure the radio
> > > communication model is probably followed pretty closely, but trying to
> >
> > > call radio specific interface commands probably isn't supported.  I
> > > might be wrong though
> >
> > >From what I can tell, TOSSIM doesn't really emulate any radio hardware
> > in particular.  It uses a noise model based on empirical data to decide
> > if packets can be heard, but the "radio" itself is fairly simplistic
> > (e.g., turning the radio hardware on and off is instantaneous).  None of
> > the CC2420-specific interfaces are supported, so you can't use
> > CC2420Packet to adjust the power level.
> >
> > If you want to simulate an application running on hardware with a CC2420
> > chip, take a look at Avrora (http://compilers.cs.ucla.edu/avrora/ ).  As
> > of last month, Avrora has "preliminary" emulation of MicaZ motes, which
> > use CC2420 radio hardware.
> >
> > Greg Hackmann
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@Millennium.Berkeley.EDU
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
1ab2fc7cad95db6481460f90a4909870
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Serial communication from tossim

2007-11-27 Thread Chad Metcalf
Or perhaps I'll just jump directly into the fray. :)

There is indeed a SF for TOSSIM in CVS. You'll need to use CVS as there has
been a major interface change since 2.0.2.

The SF works with the standard tools (C, CPP, Java, Python). There is one SF
per TOSSIM instance. You'll need to set the dest in the header when sending
packets into the simulation. And conversely you'll need to pay attention to
the src in the header when packets come out. As I recall this is a departure
from the way 1.x tossim-sf worked.

There is an example driver in the sf directory which works nicely with
TestSerial. All in all its terribly simple.

# Instantiate a SF with port number 9001 ( this connects to [EMAIL PROTECTED]
:9001)
sf = SerialForwarder(9001)

# Process once before the main loop to connect up any clients
sf.process()

# Process once in the body of the mainloop to keep the messages coming and
service new clients
for i in range(0, 60):
  sf.process()
  t.runNextEvent()

Thats it. Really. Problems you might encounter are:

   - Trying to use SF when your application doesn't use the serial stack.
   This is a SerialForwarder you'll need to use serial send and receive. Read
   the tutorial.
   - Messages aren't going where you expected. Did you set the dest?
   - You're getting too many messages. Are you filtering for the correct
   src?

In the example you'll also see a Throttle object. All the throttle does is
slow TOSSIM down to run more or less 1 second of sim time per 1 second of
wall time. If you don't need the simulation to run in sync with wall time,
then don't use the Throttle.

There will be a tutorial at some point in the future. But for now this will
have to do.

Cheers
Chad



On Nov 27, 2007 8:08 AM, Van der Haegen Mathieu <[EMAIL PROTECTED]>
wrote:

> Hi ! I think you should have a look on the messages talking about
> tossim-sf .
>
> look here for example : 
> http://mail.millennium.berkeley.edu/pipermail/sim-wg/2007-October/000100.html
>
> or here : 
> http://www.google.com/search?as_sitesearch=mail.millennium.berkeley.edu&hs=kN1&hl=en&lr=&rls=org.mozilla%3Aen-US%3Aofficial&q=tossim-sf&btnG=
>
>
> I think it's still in beta and you will not find much support.
>
> Anyway I will need to make it work in the next days so your experience
> will be interesting for me ...
> And I'll share my trials to.
>
> Cheers.
> Mathieu Van der Haegen.
>
> ps: I think you should ask chad metcalf as he wrote tossim-sf
>
>
> On Nov 27, 2007 11:17 AM, Jannick Bitsch < [EMAIL PROTECTED]> wrote:
>
> >  Hi
> >
> >
> >
> > I wondered if its possible to attach/connect a java serial listener to a
> > mote "running" inside tossim (I only need mote<->pc serial for one of the
> > motes in the simulation). In that case, how would you specify the packet
> > source?
> >
> >
> >
> > Regards
> >
> > Jannick
> >
> >
> >
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@Millennium.Berkeley.EDU
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>
>
>
> --
> Van der Haegen Mathieu
> http://www.ulb.ac.be/di/map/mavdhaeg/
> http://www.ulb.ac.be/di/labo/
> [EMAIL PROTECTED]
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
1ab2fc7cad95db6481460f90a4909870
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Can we inject sensing events into the sensors with Tossim?

2007-11-26 Thread Chad Metcalf
This functionality doesn't exist. But it wouldn't be that hard to script up.
Various people are working on sensor simulation extensions for TOSSIM
currently so watch contribs for new functionality.

Chad

On Nov 26, 2007 1:47 PM, Quan Yuan <[EMAIL PROTECTED]> wrote:

>  Hello,
>
>
>
> I am using TinyOs 2 and doing some simulations with Tossim.
>
>
>
> One issue is that can we inject sensing events in our simulations? Then we
> can assign which sensors can sense some data at a specified time. I saw that
> we can inject packets into the network, but not sure whether we can inject
> sensing events into the network with the Tossim simulator.
>
>
>
> Thank you.
>
>
>
> Quan Yuan
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
1ab2fc7cad95db6481460f90a4909870
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] PowerTOSSIM on 2.0.2

2007-11-20 Thread Chad Metcalf
PowerTossim is available for mica2 in tinyos 2.x contrib. There is some
preliminary work to take it to micaz but its still a work in progress.

Cheers
Chad

On Nov 20, 2007 6:13 PM, Vijayant Bhatnagar <[EMAIL PROTECTED]>
wrote:

> Hi,
> Can we use PowerTOSSIM on TinyOS 2.0.2 ? When we read the
> implementation guide, it has been assumed that powertossim is running
> on tinyos 1.1.10.
> Help appreciated.
>
> Thanks,
> Vijayant Bhatnagar.
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TinyOS-1.x and TinyOS-2.x In the same PC

2007-11-17 Thread Chad Metcalf
Its not only possible but the default behavior of setup provided by
XubunTOS. In fact this has been as easy as following my guide on
http://www.5secondfuse.com/tinyos/install.html for sometime now.

If you look at the .bashrc on 5 Secondfuse or in XubunTOS you'll see how you
need to set things up.

Then switching between TOS1 and TOS2 is as simple as:

[EMAIL PROTECTED]:~$ tos1
Setting up for TinyOS 1.x
... Do TinyOS 1.x work ...
[EMAIL PROTECTED]:~$ tos2
Setting up for TinyOS 2.x ...
... Do TinyOS 2.x work


I used to have Boomerang in the mix as well but pulled it recently. Now that
Sentilla has dropped off Boomerang in TinyOS 1.x contrib I might add it
back. This should also work in Cygwin but you may have to hack it a bit.

Cheers
Chad

On Nov 17, 2007 8:53 AM, Philip Levis <[EMAIL PROTECTED]> wrote:

>
> On Nov 17, 2007, at 8:24 AM, antonio gonga wrote:
>
> > Hey all,
> > I want to migrate to TinyOS-2.x but I'd like to keep my TinyOS-1.x
> > installation while I'm not skilled yet with TinyOS-2.x syntax. And
> > I'm still using Eclipse Plugin for TinyOS which is only supported
> > by version 1.
> > My question is: Is it possible to have two Installations of TinyOS
> > in the Same Computer? I have several Drives in my Laptop maybe If I
> > install TinyOS-2.x in of the drives I'll not have problems.
> >
>
> It is. If everything is set up right (fingers crossed!), the only
> thing you have to do to switch between the two is change three
> environment variables: TOSDIR, MAKERULES, and CLASSPATH.
>
> Phil
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TOSSIM and PhotoTemp

2007-11-07 Thread Chad Metcalf
Currently TOSSIM only supports micaz. And there is no sensor support other
then a simple fake DemoSensorC.

Chad

On 11/7/07, Quan Yuan <[EMAIL PROTECTED]> wrote:
>
>  Hello,
>
>
>
> I just tried to compile files under \tinyos-
> 2.x\apps\tests\mts300\PhotoTemp.
>
>
>
> However, how could I connect PhotoTemp to TOSSIM in TinyOS 2? It seems
> that "make mica2 sim" does not work.
>
>
>
> Thank you.
>
>
>
> Quan
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] How I can run TOSIM in TinyOs2?

2007-11-05 Thread Chad Metcalf
Please read the tutorial:

http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson11.html

Chad

On 11/5/07, Mustafa Hammad <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I install tinyOs2 under XubunTOS. In TOSIM, after I type (make micaz sim),
> what I have to do to run the simulator?
>
> Regards,
> Mustafa
>
>  __
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>


-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Tinyos newbie, help on mote compilers installation and general environment setup

2007-11-05 Thread Chad Metcalf
If you are doing this for a course and are comfortable in Ubuntu then skip
the install and use XubunTOS. You can use the XubunTOS Live CD or the
XubunTOS VMware image. Both of these are working development environments.

The VMware way to do things would allow you to continue using Windows full
time while developing in a the VMware instance. And XubunTOS is a tested
development environment where you can focus on writing code instead of
installing packages.

You can find all the information you could possibly need to go this way
here:

http://toilers.mines.edu/Public/XubunTOS
http://5secondfuse.com/tinyos/install.html
http://sing.stanford.edu/klueska/running_xubuntos_vm.html

We have had several classes of students use XubunTOS and they all say it
saved them a ton of time.

Cheers
Chad


On 11/5/07, mattia <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I am just starting with tinyos... My ubuntu installation went crazy today
> when I was trying to set up my environment, hence I'm now trying on a
> different windows machine with cygwin?
>
> I basically need to write some simple application for one university
> course and we will be using telosb and micaz with mts300 sensorboards and
> mib510 programming boards
>
> In the installation help page for tinyos it says that we should download
> and install native compilers... Are these compilers ones relative to which
> boards/motes I will be running my code on? I guess in my case the avr or
> msp430 native compilers will not be of any need ? Am I right or will I need
> these anyways?
>
> I'd also appreciate any suggestions/hints which could help me in setting
> up this environment using cygwin as efficently as possible if anyone as
> already had any outstanding experiences..
>
> Thanks for your attention
>
> --
> Mattia
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TOSSIM and SF

2007-11-05 Thread Chad Metcalf
Yes. This is a new feature in CVS. There isn't much documentation on how to
use it yet. And I won't have time to write it for awhile. The SF
functionality will make its real debut with the 2.1 release.

That said if your brave enough to test it out its in CVS. There is an
example checked in with it.

The main difference is you'll need to use the sim-sf target instead of the
sim target. That is:

make micaz sim-sf

Cheers
Chad

On 11/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Is it possible to connect SerialForwarder to TOSSIM in TinyOS 2 ?
>
> thx,
>
> Anton
>
>
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] about Blaze_CC1100_Radio_Stack

2007-11-05 Thread Chad Metcalf
Sourceforge explains how to get Tinyos code base here:
http://sourceforge.net/cvs/?group_id=28656

You want tinyos-2.x and tinyos-2.x-contrib

Chad

On 11/4/07, jiwen zhang <[EMAIL PROTECTED]> wrote:
>
> Hello all:
>I spend much time in https://sourceforge.net in search Blaze project
> source code. but finally I could not find a way to download the source
> codes. can you give me a straightforward address to download the it or send
> me the source code to me ?Thank you me much.
>
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TOSSIM Python RPM? silly question

2007-11-05 Thread Chad Metcalf
If you are using Cygwin, you should make sure you selected python and
python-dev (if it has one). Run setup again and check.

Alternatively,  you can use the XubunTOS Live CD or the XubunTOS VMware
image. Both of these are working development environments.

The VMware way to do things would allow you to continue using Windows full
time while developing in a the VMware instance. And XubunTOS is a tested
development environment where you can focus on writing code instead of
installing packages.

You can find all the information you could possibly need to go this way
here:

http://toilers.mines.edu/Public/XubunTOS
http://5secondfuse.com/tinyos/install.html
http://sing.stanford.edu/klueska/running_xubuntos_vm.html

Cheers
Chad

On 11/5/07, Murray, Ben <[EMAIL PROTECTED]> wrote:
>
> ...or do I need to install python(-devel)? for windows and point TOS2 at
> that?
>
> Cheers,
> Ben
>
> >
> > Sorry to ask a silly question but what should I be doing to
> > update/install
> > Python (I think I need a "python devel rpm") such that TOSSIM
> > has it to work
> > from? I'm not sure where to go looking for the correct devel package?
> >
> > TinyOS 2.0.2
> > MicaZ
> > python version returns 2.3.4
> >
> > I followed the troubleshooter in
> > http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson11.ht
> > ml#appendix
> > I have no libpython#.#.so in the cygwin directories...
> >
> > Thanks!
> > -Ben
>
>
> ***
> Please consider the environment before printing this email.
>
> ***
> This email and any files transmitted with it are intended solely for the
> use of
> the individual or entity to whom they are addressed and may not be
> divulged to
> any third party without the express permission of the originator.  Any
> views
> expressed in this message are those of the individual sender, except where
> the
> sender specifically states them to be the views of Thales Research &
> Technology
> (UK) Limited.
>
> ***
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TOSSIM Hangs

2007-11-02 Thread Chad Metcalf
Right. But I think this is that memory problem I ran into. Cutting the trace
down just to identify if its the same problem.

Chad

On 11/2/07, Philip Levis <[EMAIL PROTECTED]> wrote:
>
> On Nov 2, 2007, at 9:58 AM, Chad Metcalf wrote:
>
> > I think I've seen this problem. Try cutting your noise trace size
> > to a couple hundred maybe a thousand lines and see if that helps.
> > Let me know how it goes.
>
> If you make the trace 100 lines long, it's pretty meaningless.
>
> Phil
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TOSSIM Hangs

2007-11-02 Thread Chad Metcalf
I think I've seen this problem. Try cutting your noise trace size to a
couple hundred maybe a thousand lines and see if that helps. Let me know how
it goes.

Chad

On 11/2/07, Alban Hessler <[EMAIL PROTECTED]> wrote:
>
> Hi again,
>
> I have the last cvs update of T2 and Python 2.5 on Ubuntu 7.10.
>
> I have a problem with TOSSIM. If I run a test, TOSSIM loads a lot of data,
> which eats up the RAM and finally the swap, which makes the PC very slow..
> The execution of the test seems to never happen..
>
> With the verbose, I don't get much information except that he loads the
> different modules (TOSSIM, math, etc..) : The last line before it hangs is:
>
> "import _TOSSIM # dynamically loaded from /home/hessler/tinyos- 2.x
> /apps/tests/myapp/_TOSSIMmodule.so"
>
> I don't know what change I made to my system so that it doesn't work any
> more (it used to work some months ago ..).
>
>
> I tried to use 2.4 (and modified sim.extra accordingly, of course), but
> that didn't solve the problem.
>
>
>
> Thank you in advance for the help,
>
> Alban
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Capture stdout from DBG

2007-10-20 Thread Chad Metcalf
I haven't used TOSSIM 1 for a long time and never needed to in the manner
you describe.

Check into  TOSSIM sockets, Tython, and how TinyViz does it. You aren't
likely to find much in the way of documentation on this. You'll have to read
code.

The links I can recommend are:

http://www.tinyos.net/tinyos-1.x/doc/nido.pdf
http://www.tinyos.net/tinyos-1.x/doc/tython/tython.html

Chad


On 10/20/07, Chan kenniel <[EMAIL PROTECTED]> wrote:
>
> Hi Chad,
>
> Thanks for that. But what I am using is TOSSIM 1, coz as I know TOSSIM 2
> is only for micaz so far, I need more platforms than this. So I am using
> tinyos 1.x. right now.
>
> Moreover, what I need is getting data online, so it would be better I can
> capture the stdout
> instantly while not from the file. Do you guys have any suggestion for
> this?
>
> Thanks in advanced.
>
> Regards,
> Kenneth
>
>
> On 10/21/07, Chad Metcalf <[EMAIL PROTECTED]> wrote:
> >
> > If you're using TOSSIM 2 this is covered in the tutorial. The example is
> > to standard out but you can use files.
> >
> > http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/index.html
> >
> > Chad
> >
> >
> >
> > On 10/20/07, Chan kenniel < [EMAIL PROTECTED]> wrote:
> >
> > > Dear all,
> > >
> > > May I ask how to capture the stdout that are printed out by using DBG?
> > > I wanna those data to be sent to another programs to do some online
> > > analysis.
> > >
> > > Thanks in advanced.
> > >
> > > --
> > > Best wishes,
> > > Kenneth Chan
> > >
> > > 
> > > Wish you have a good day!
> > > ___
> > > Tinyos-help mailing list
> > > Tinyos-help@Millennium.Berkeley.EDU
> > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> > >
> > >
> >
> >
> >
> > --
> > Chad @ Home
>
>
>
>
> --
> Best wishes,
> Kenneth Chan
>
> 
> Wish you have a good day!




-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Capture stdout from DBG

2007-10-20 Thread Chad Metcalf
If you're using TOSSIM 2 this is covered in the tutorial. The example is to
standard out but you can use files.

http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/index.html

Chad



On 10/20/07, Chan kenniel <[EMAIL PROTECTED]> wrote:
>
> Dear all,
>
> May I ask how to capture the stdout that are printed out by using DBG? I
> wanna those data to be sent to another programs to do some online analysis.
>
> Thanks in advanced.
>
> --
> Best wishes,
> Kenneth Chan
>
> 
> Wish you have a good day!
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] tossim

2007-10-20 Thread Chad Metcalf
Yup. Read the tutorial.

http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/index.html

Chad

On 10/20/07, roberto pagliari <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> I wonder to know if it is possible to run multiple simulations (using
> tossim) and save the results in a file, like ns.
>
> thanks,
>
> Roberto
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Surprising news

2007-10-16 Thread Chad Metcalf
The end of life notice

http://www.sentilla.com/moteiv-endoflife.html

Notes that they are still available on a first come first serve basis until
Jan. So buy them now or consider the Telosb product line from Crossbow. I
don't know about RoHS certification with the Crossbow product.

Chad

On 10/16/07, André Miguel de Almeida Marrão Rodrigues <
[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I just read that there will be no more TMoteSky, TMote Mini, ...
>
> Because the new company Sentilla is focused on Software.
>
> Does anyone have any idea were I could buy TMoteSky clones that are RoHS
> certified?
>
> I have put a lot of time creating some addon board
>
> Thanks,
>
> André Rodrigues
>
> - Original Message -
> From: "Michael Schippling" <[EMAIL PROTECTED]>
> To: "Yang Bofu" <[EMAIL PROTECTED]>
> Cc: 
> Sent: Tuesday, October 16, 2007 11:16 PM
> Subject: Re: [Tinyos-help] AMSend Unicast
>
>
> > I've heard rumors that some comm components do not do ID filtering.
> > I know that this works for Mica2's using T1 GenericComm, but it
> > may be that other flavors' mileage varies. Try searching this list
> > for some more relevant information.
> > MS
> >
> >
> > Yang Bofu wrote:
> >> Hi guys,
> >>
> >> I am trying to do a unicast in my application. I thought it should be
> >> as easy as just call AMSend.send(nodeID, &packet, sizeof(...)).
> >> However, it turns out that the node is still broadcasting.
> >> For example, I got two nodes, node 0 as sink and node 1 as sensor
> >> node. If I let node 1 to AMSend.send(2, &packet, sizeof(...)), where
> >> the sink shouldn't receive anything, but the sink can still get every
> >> packet from node 1. Why is that?
> >>
> >> Need help, thanks in advance!
> >>
> >> Bofu
> >> ___
> >> Tinyos-help mailing list
> >> Tinyos-help@Millennium.Berkeley.EDU
> >>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@Millennium.Berkeley.EDU
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] I could not do 'make telosb' in XubunTOS

2007-10-14 Thread Chad Metcalf
After further review the XubunTOS team noticed you are using sudo.

sudo make telosb

Won't work. Please try again without the sudo.

You should have read/write access to the tinyos directories so you shouldn't
need to ever use sudo when compiling or general development. You might need
it for programming various hardware but not Telosb hardware.

Chad

On 10/14/07, Chad Metcalf <[EMAIL PROTECTED]> wrote:
>
> Did you alter your path? Or change something in the environment? Because a
> standard XubunTOS install has all the packages needed to build telosb. We
> test this fairly intensively before we release.
>
> Chad
>
> On 10/14/07, Derek Tarm <[EMAIL PROTECTED]> wrote:
>
> > I've just install the XubunTOS, but I found every worked fine except the
> > make telosb. Here is the message:
> >
> > [EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink$ sudo make telosb
> > > mkdir -p build/telosb
> > > compiling BlinkAppC to a telosb binary
> > > ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
> > > -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
> > > -fnesc-cfile=build/telosb/app.c -board= -DIDENT_PROGRAM_NAME=\"BlinkAppC\"
> > > -DIDENT_USER_ID=\"root\" -DIDENT_HOSTNAME=\"derek-laptop\"
> > > -DIDENT_USER_HASH=0xfd6d4b72L -DIDENT_UNIX_TIME=0x4711d24aL
> > > -DIDENT_UID_HASH=0xb58bd4e6L  BlinkAppC.nc -lm
> > > Couldn't execute msp430-gcc
> > > make: *** [exe0] Error 2
> > >
> > >
> > Unfortunately, I am using TelosB now. How can I solve it? Thank you!
> >
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@Millennium.Berkeley.EDU
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
> >
>
>
>
> --
> Chad @ Home




-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] I could not do 'make telosb' in XubunTOS

2007-10-14 Thread Chad Metcalf
Did you alter your path? Or change something in the environment? Because a
standard XubunTOS install has all the packages needed to build telosb. We
test this fairly intensively before we release.

Chad

On 10/14/07, Derek Tarm <[EMAIL PROTECTED]> wrote:
>
> I've just install the XubunTOS, but I found every worked fine except the
> make telosb. Here is the message:
>
> [EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink$ sudo make telosb
> > mkdir -p build/telosb
> > compiling BlinkAppC to a telosb binary
> > ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
> > -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
> > -fnesc-cfile=build/telosb/app.c -board= -DIDENT_PROGRAM_NAME=\"BlinkAppC\"
> > -DIDENT_USER_ID=\"root\" -DIDENT_HOSTNAME=\"derek-laptop\"
> > -DIDENT_USER_HASH=0xfd6d4b72L -DIDENT_UNIX_TIME=0x4711d24aL
> > -DIDENT_UID_HASH=0xb58bd4e6L  BlinkAppC.nc -lm
> > Couldn't execute msp430-gcc
> > make: *** [exe0] Error 2
> >
> >
> Unfortunately, I am using TelosB now. How can I solve it? Thank you!
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] 'make micaz sim' goes wrong under Ubuntu 7.04

2007-10-13 Thread Chad Metcalf
You're install is incomplete. Please install per the instructions found on
this site:

http://www.5secondfuse.com/tinyos/install.html

Or install XubunTOS either in LiveCD or VMware image (also available at the
above link)

Chad

On 10/13/07, Derek Tarm <[EMAIL PROTECTED]> wrote:
>
> Hi, all. I newly install the Ubuntu 7.04 and then install TOS2 by these
> command:
> sudo apt-get install tinyos-msp430
> sudo apt-get install tinyos-avr
> and then set some environment variable
> 'make micaz' and 'make telosb' work fine.
> but 'make micaz sim' got a nearly 1000 lines of errors. I am trying hard
> to solve them, but it seems of no help.
> Here is some of the message:
>
> >   sudo make micaz sim
> > mkdir -p build/micaz
> >   placing object files in build/micaz
> >   writing XML schema to app.xml
> >   compiling BlinkAppC to object file sim.o
> > ncc -c -shared -fPIC -o build/micaz/sim.o -g -O0 -tossim
> > -fnesc-nido-tosnodes=1000 -fnesc-simulate
> > -fnesc-nido-motenumber=sim_node\(\)   -finline-limit=10 -Wall -Wshadow
> > -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb
> > -DIDENT_PROGRAM_NAME=\"BlinkAppC\" -DIDENT_USER_ID=\"root\"
> > -DIDENT_HOSTNAME=\"derek-laptop\" -DIDENT_USER_HASH=0xfd6d4b72L
> > -DIDENT_UNIX_TIME=0x4710d18eL -DIDENT_UID_HASH=0xeb75fb3aL
> > -Wno-nesc-data-race BlinkAppC.nc   -fnesc-dump=components
> > -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs
> > -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml
> > /usr/lib/ncc/nesc_nx.h:16:22: error: inttypes.h: No such file or
> > directory
> > : failed to preprocess /usr/lib/ncc/nesc_nx.h
> > /opt/tinyos-2.x/tos/lib/tossim/tos.h:41:22: error: inttypes.h: No such
> > file or directory
> > /opt/tinyos-2.x/tos/lib/tossim/tos.h:49:20: error: string.h : No such
> > file or directory
> > /opt/tinyos-2.x/tos/lib/tossim/tos.h:50:20: error: stdlib.h: No such
> > file or directory
> > /opt/tinyos-2.x/tos/lib/tossim/tos.h:51:18: error: math.h: No such file
> > or directory
> > /opt/tinyos- 2.x/tos/lib/tossim/tos.h:53:19: error: ctype.h: No such
> > file or directory
> > /opt/tinyos-2.x/tos/lib/tossim/tos.h:54:19: error: stdio.h: No such file
> > or directory
> > In file included from /opt/tinyos-2.x/tos/lib/tossim/tos.h:88:
> > /opt/tinyos-2.x/tos/lib/tossim/sim_tossim.c:39:22: error: sys/time.h: No
> > such file or directory
> >
> > Is there somebody knowing how to solve this? I've gotten stuck in it
> nearly a week!
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] RSSISample Contrib Application

2007-10-07 Thread Chad Metcalf
Like over a serial forwarder? It might work over something like a Tmote
Connect.

Otherwise I think it would need to be connected.

Chad

On 10/6/07, Tal Rusak <[EMAIL PROTECTED]> wrote:
>
>  The RSSISample application is working well when the java application
> is running while the data is being collected. However, is it also
> possible to use this application to collect data that while the mote
> was disconnected from a computer?
>
> Thanks,
> Tal
>
> > Nothing wrong.
> >
> > The application takes a couple of minutes to collect data. And then it
> > takes
> > awhile longer to transfer all the readings to the application.
> >
> > Program the mote, run the application, tail -f Noise.txt and go get a
> cup
> > of
> > coffee, read a paper, check your email and then it should be done.
> >
> > Cheers
> > Chad
> >
> > On 10/5/07, Tal Rusak <[EMAIL PROTECTED]> wrote:
> >>
> >> Hi,
> >>  I am trying to run the RSSISample program. It appears to be
> >> running,
> >> however, no information is being displayed to Java standard out.
> >>  The only message that I get is
> >> serial@/dev/ttyUSB0:115200: resynchronizing
> >>  Is something going wrong?
> >>
> >> Thanks,
> >> Tal
> >>
> >> > Hey Tal,
> >> >
> >> > The README is out of date. You should run the RssiSample application
> >> > collocated with the NoiseAppC.
> >> >
> >> > When you run this a Noise.txt will show up. And give it awhile the
> >> > application samples for awhile but it also takes a long time to get
> >> all
> >> > the
> >> > data across the serial port.
> >> >
> >> > Cheers
> >> > Chad
> >> >
> >> > On 9/30/07, Tal Rusak <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >> Hi,
> >> >>  From the readme file of the RSSISample Application:
> >> >>
> >> >> (/opt/tinyos-2.x-contrib/stanford-sing/apps/RssiSample)
> >> >>
> >> >> 3) Running the java program to collect the sampled data in
> >> 'Noise.txt'
> >> >> file
> >> >>
> >> >> java TestSerial -comm [EMAIL PROTECTED]:telosb
> >> >> (x is the port number you are using.)
> >> >>
> >> >>  Is the TestSerial application referred to the same as the one
> in
> >> >> /opt/tinyos-2.x/apps/tests/TestSerial?
> >> >>  I am not seeing how this application would generate Noise.txt.
> >> >>
> >> >> Thanks,
> >> >> Tal
> >> >>
> >> >> ___
> >> >> Tinyos-help mailing list
> >> >> Tinyos-help@Millennium.Berkeley.EDU
> >> >>
> >>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Chad @ Home
> >> >
> >>
> >>
> >>
> >
> >
> > --
> > Chad @ Home
> >
>
>
>


-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] RSSISample Contrib Application

2007-10-06 Thread Chad Metcalf
Nothing wrong.

The application takes a couple of minutes to collect data. And then it takes
awhile longer to transfer all the readings to the application.

Program the mote, run the application, tail -f Noise.txt and go get a cup of
coffee, read a paper, check your email and then it should be done.

Cheers
Chad

On 10/5/07, Tal Rusak <[EMAIL PROTECTED]> wrote:
>
> Hi,
>  I am trying to run the RSSISample program. It appears to be running,
> however, no information is being displayed to Java standard out.
>  The only message that I get is
> serial@/dev/ttyUSB0:115200: resynchronizing
>  Is something going wrong?
>
> Thanks,
> Tal
>
> > Hey Tal,
> >
> > The README is out of date. You should run the RssiSample application
> > collocated with the NoiseAppC.
> >
> > When you run this a Noise.txt will show up. And give it awhile the
> > application samples for awhile but it also takes a long time to get all
> > the
> > data across the serial port.
> >
> > Cheers
> > Chad
> >
> > On 9/30/07, Tal Rusak <[EMAIL PROTECTED]> wrote:
> >>
> >> Hi,
> >>  From the readme file of the RSSISample Application:
> >>
> >> (/opt/tinyos-2.x-contrib/stanford-sing/apps/RssiSample)
> >>
> >> 3) Running the java program to collect the sampled data in 'Noise.txt'
> >> file
> >>
> >> java TestSerial -comm [EMAIL PROTECTED]:telosb
> >> (x is the port number you are using.)
> >>
> >>  Is the TestSerial application referred to the same as the one in
> >> /opt/tinyos-2.x/apps/tests/TestSerial?
> >>  I am not seeing how this application would generate Noise.txt.
> >>
> >> Thanks,
> >> Tal
> >>
> >> ___
> >> Tinyos-help mailing list
> >> Tinyos-help@Millennium.Berkeley.EDU
> >>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >>
> >
> >
> >
> > --
> > Chad @ Home
> >
>
>
>


-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Understanding Serial Packet

2007-10-02 Thread Chad Metcalf
You should check one of the examples that uses the serial port.

http://tinyos.cvs.sourceforge.net/tinyos/tinyos-2.x/apps/tests/TestSerial/

Cheers
Chad

On 10/2/07, Roberto <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> I send packets from pc ( or a stargate) to a micaz using a serial
> communication.
> I would like read the content of the packet sent in the micaz mote.
> So, I use these statements:
> ---
> event message_t * UARTReceive.receive[am_id_t id](message_t *msg, void
> *payload, uint8_t len)
> {
> message_t *ret=msg;
> char *buffer=(char*) payload;
> if (buffer[0]=='h')
>call Leds.set(7);
>
> return ret;
> }
> 
> The message I sent is 'hello'. So, the first character of the payload
> might be just 'h' and I might see three leds on.
> But the leds are turned off.
> Can you tell me where is the mistake in my source code?
> Thank in advance
>
> RG
>
> --
> Platform: Linux Fedora
> TinyOS version: 2.x
> Programmer: MIB510
> Device(s): Micaz, Stargate
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] SF problem

2007-10-02 Thread Chad Metcalf
Why this way? Why not the more conventional way of passing the
"serial@/dev/ttyUSB0:56700" directly to the MoteIF?

Check out
http://tinyos.cvs.sourceforge.net/tinyos/tinyos-2.x/apps/tests/TestSerial/TestSerial.java?revision=1.2&view=markup

Chad

On 10/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm using T2.
> I am trying to run a serial forwarder in a java programm,as below:
>
>
>
> try {
> Process p = null;
> int n=0;
> String SFCREATINGCMDL ="java net.tinyos.sf.SerialForwarder -port
> "+sfportStr+"
> -comm "+packetSourceString;
>
> p = Runtime.getRuntime().exec(SFCREATINGCMDL);
>
>   }
>
> catch(Exception ex)
> {
>ex.printStackTrace();
> }
>
> PacketSource ps = BuildSource.makePacketSource(sfserver);
> PhoenixSource source=BuildSource.makePhoenix(ps,PrintStreamMessenger.err);
> source.start();
> MoteIF mif = new MoteIF(source);
>
> Where sfportStr is a numer like 9003 and packetSourceString is an
> expression
> like serial@/dev/ttyUSB0:57600 and sfserver is an expression like
> :sf at lca2-s1-pc3:9003
>
> So the thing is that I can see a sf window  pop up after running the
> command
> but programm stops when it arrives to MoteIF creation and exits with
> this message:
>
>
> sf at lca2-s1-pc3:9003
> sf at lca2-s1-pc3:9003 died - exiting (java.net.ConnectException:
> Connection
> refused)
>
> I don't have another sf running on the same port and the bizarre thing is
> if
> I write the same expression as SFCREATINGCMDL in a console it works,and I
> will
> have no problem for creating MoteIF ,I've checked lot of times the
> expression
> SFCREATINGCMDL,and i've even printed using println ,and I think it's
> correct .
>
>
>
> Any ideas?
> B.
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] yamp problems with xubuntos

2007-10-02 Thread Chad Metcalf
This isn't a XubunTOS problem.

Here is your problem:

/opt/tinyos-2.x/tos/system/tos.h:36:22: platform.h: No such file or
directory

Here is your solution:

$ touch /opt/tinyos-2.x/tos/platforms/yamp/platform.h

It corrects the first error in your output, and the rest of the lesson
works fine.  All platforms in /opt/tinyos-2.x/tos/platforms have an
empty platform.h.  I don't know why that's not in Lesson 10. But I'll
talk to the author and see about getting it added.

Cheers
Chad


On 10/2/07, mejda chouaieb <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I installed Xubuntos live cd in a virtual machine and I tried to execute
> the yamp application (tinyos tutorials lesson 10) but I have these problems,
> when I type make telosb it's ok but when I type:
>
>
>
>
> [EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Null# make yamp
> mkdir -p build/yamp
> compiling NullAppC to a yamp binary
> ncc -o build/yamp/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d
> -Wnesc-all -target=yamp -fnesc-cfile=build/yamp/app.c -board=
> NullAppC.nc -lm
> /opt/tinyos-2.x/tos/system/tos.h:36:22: platform.h: No such file or
> directory
> : failed to preprocess /opt/tinyos-2.x/tos/system/tos.h
> In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:36:
> In interface `Scheduler':
> /opt/tinyos-2.x/tos/interfaces/Scheduler.nc:54: only commands and events
> can be defined in interfaces
> /opt/tinyos-2.x/tos/interfaces/Scheduler.nc:54: warning: return-type
> defaults to `int'
> /opt/tinyos-2.x/tos/interfaces/Scheduler.nc:54: syntax error before
> `runNextTask'
> In file included from /opt/tinyos-2.x/tos/platforms/yamp/hardware.h:3,
>  from /opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:41,
>  from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:40:
>


-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] CC2420_DEF_RFPOWER in TOSSIM

2007-10-02 Thread Chad Metcalf
TOSSIM doesn't simulate transmission power. You will need to change the
properties of your link gain model.  Although its not particularly straight
forward ie there is no "make smaller radius". You'll need to play around
with it.

Chad

On 10/2/07, Markus de Brün <[EMAIL PROTECTED]> wrote:
>
> Hi everyone.
>
> I am trying to adjust the communication radius of motes in TOSSIM.
> My make target is "micaz sim".
> I tried to change the radio power by including
> "CFLAGS+="-DCC2420_DEF_RFPOWER={VALUE}" in the Makefile.
> The value of CC2420_DEF_RFPOWER is set correctly but there seems to be
> no effect.
>
> Does TOSSIM ignore the radio power?
> And is there another possibility to change the communication radius?
>
> Thanks,
> Markus
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Time measurment in TOSSIM

2007-10-01 Thread Chad Metcalf
Its very likely that what you are trying to time happens in fractions of a
second so small they won't show up in sim_time_string.

Use sim_time() and then divide the result by sim_ticks_per_sec()

You probably will get an extremely small number.

Chad

On 10/1/07, Liron Elmaleh <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I'm trying to measure the time that a task is running.
> For this issue I'm printing a message using the function
> sim_time_string() in the begining & the end of the runTask function, but
> even when I'm using a task with a big loop in it, I still see that the
> difference is 0.
> How can I get the real time of the task's run?
>
> Liron.
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] RSSISample Contrib Application

2007-09-30 Thread Chad Metcalf
Hey Tal,

The README is out of date. You should run the RssiSample application
collocated with the NoiseAppC.

When you run this a Noise.txt will show up. And give it awhile the
application samples for awhile but it also takes a long time to get all the
data across the serial port.

Cheers
Chad

On 9/30/07, Tal Rusak <[EMAIL PROTECTED]> wrote:
>
> Hi,
>  From the readme file of the RSSISample Application:
>
> (/opt/tinyos-2.x-contrib/stanford-sing/apps/RssiSample)
>
> 3) Running the java program to collect the sampled data in 'Noise.txt'
> file
>
> java TestSerial -comm [EMAIL PROTECTED]:telosb
> (x is the port number you are using.)
>
>  Is the TestSerial application referred to the same as the one in
> /opt/tinyos-2.x/apps/tests/TestSerial?
>  I am not seeing how this application would generate Noise.txt.
>
> Thanks,
> Tal
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Re: Diferent components in TOSSIM

2007-09-27 Thread Chad Metcalf
I'm guessing what you mean is can you simulate more then one application in
TOSSIM. That is can you have a network were some of the nodes run X and some
run Y. The short answer is no. At least not without some node id based
magic.  IE if ID mod 2 then do X else do Y.

Its on the list of things people would like. But its not forthcoming.

Chad

On 9/27/07, Bernardo Avila Pires <[EMAIL PROTECTED]> wrote:
>
> Greetings
>
>   I am sorry for having sent the empty e-mail.
>   Is there any way to simulate different components in TOSSIM? I've
> tried to mask the components as one (by starting only the parts I needed for
> each node), but it has not worked. The fake component did not work whereas
> both components worked well individually.
>   I am interested in attempting to change TOSSIM so that each node can
> have a different component. Is this plausible?
>  Well, that is all for now.
>Regards,
> Bernardo
>
>
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] CVS update and Collection problems

2007-09-24 Thread Chad Metcalf
Opps cut and paste error.

What you need is something like this:

BlinkToRadioMsg* btrpkt = (BlinkToRadioMsg*)(callPacket.getPayload(&pkt,
sizeof(BlinkToRadioMsg)));

if (btrpkt == NULL) { return; }



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] CVS update and Collection problems

2007-09-24 Thread Chad Metcalf
I think people will see a lot of this. The error:

> FaultDetectionC.nc:217: warning: passing argument 2 of
> `Send.getPayload' makes integer from pointer without a cast

Results from a recent interface change. What you've got is something like:

BlinkToRadioMsg* btrpkt = (BlinkToRadioMsg*)(call
Packet.getPayload(&pkt, NULL));

What you need is something like this:

BlinkToRadioMsg* btrpkt = (BlinkToRadioMsg*)(call
Packet.getPayload(&pkt, sizeof(BlinkToRadioMsg)));

if (o == NULL) {
return;
}

Another example can be seen here:
http://tinyos.cvs.sourceforge.net/tinyos/tinyos-2.x/apps/MViz/MVizC.nc?r1=1.2&r2=1.3

Cheers
Chad
On 9/24/07, Iñigo Urteaga <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have been using Collection Tree Protocol this past weeks without any
> problem in TOSSIM. However, I have updated today my tinyos-2.x
> directory with cvs and now I get errors when compiling my programs
> (that worked last week).
>
> I append the error output. I can't figure out why this happens, since
> I am not explicitly calling cc2420 modules.
>
> Thanks in advance,
>
> Iñigo
>
>
> /**/
> mkdir -p build/micaz
>   placing object files in build/micaz
>   writing XML schema to app.xml
>   compiling FaultDetectionAppC to object file sim.o
> ncc -c -shared -fPIC -o build/micaz/sim.o -g -O0 -tossim
> -fnesc-nido-tosnodes=1000 -fnesc-simulate
> -fnesc-nido-motenumber=sim_node\(\)   -finline-limit=10 -Wall
> -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c
> -board=micasb -I/opt/tinyos-2.x/tos/lib/net
> -I/opt/tinyos-2.x/tos/lib/net/le -I/opt/tinyos-2.x/tos/lib/net/ctp
> -DIDENT_PROGRAM_NAME=\"FaultDetectionA\" -DIDENT_USER_ID=\"urteaga\"
> -DIDENT_HOSTNAME=\"Txarlys\" -DIDENT_USER_HASH=0x8627c931L
> -DIDENT_UNIX_TIME=0x46f85e83L -DIDENT_UID_HASH=0x80a21023L
> -Wno-nesc-data-race FaultDetectionAppC.nc   -fnesc-dump=components
> -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs
> -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml
> In file included from FaultDetectionAppC.nc:7:
> In component `FaultDetectionC':
> FaultDetectionC.nc: In function `SendValueTask.runTask':
> FaultDetectionC.nc:217: warning: passing argument 2 of
> `Send.getPayload' makes integer from pointer without a cast
> In file included from /opt/tinyos-2.x/tos/lib/net/ctp/CtpP.nc:134,
>  from /opt/tinyos-2.x/tos/lib/net/ctp/CollectionC.nc:69,
>  from FaultDetectionAppC.nc:13:
> In component `CtpRoutingEngineP':
> /opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc: At top level:
> /opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:117: interface
> CompareBit not found
> /opt/tinyos-2.x/tos/lib/net/ctp/CtpRoutingEngineP.nc:661:
> `shouldInsert' is not in interface `CompareBit'
> In file included from
> /opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageC.nc:37,
>  from /opt/tinyos-2.x/tos/lib/net/ctp/CtpP.nc:191,
>  from /opt/tinyos-2.x/tos/lib/net/ctp/CollectionC.nc:69,
>  from FaultDetectionAppC.nc:13:
> In C file:
> /opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:75: syntax error before `nx_bool'
> /opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:75: warning: no semicolon at
> end of struct or union
> /opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:76: syntax error before `ack'
> /opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:77: `time' redeclared as
> different kind of symbol
> /usr/include/time.h:187: previous declaration of `time'
> /opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:86: syntax error before `}'
> /opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:86: warning: type defaults
> to `int' in declaration of `cc2420_metadata_t'
> /opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:86: warning: data definition
> has no type or storage class
> In file included from /opt/tinyos-2.x/tos/lib/net/ctp/CtpP.nc:191,
>  from /opt/tinyos-2.x/tos/lib/net/ctp/CollectionC.nc:69,
>  from FaultDetectionAppC.nc:13:
> In component `CC2420ActiveMessageC':
> /opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageC.nc:48: interface
> CC2420Packet not found
> In file included from /opt/tinyos-2.x/tos/lib/net/ctp/CtpP.nc:191,
>  from /opt/tinyos-2.x/tos/lib/net/ctp/CollectionC.nc:69,
>  from FaultDetectionAppC.nc:13:
> /opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageC.nc:51: interface
> RadioBackoff not found
> In file included from
> /opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageC.nc:58,
>  from /opt/tinyos-2.x/tos/lib/net/ctp/CtpP.nc:191,
>  from /opt/tinyos-2.x/tos/lib/net/ctp/CollectionC.nc:69,
>  from FaultDetectionAppC.nc:13:
> In component `CC2420ActiveMessageP':
> /opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:49: interface
> CC2420PacketBody not found
> /opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMessageP.nc:50: interface
> CC2420Config not found
> In file included from
> /opt/tinyos-2.x/tos/chips/cc

Re: [Tinyos-help] No internet in VMware Xubuntos

2007-09-19 Thread Chad Metcalf
PS: When changing your networking settings (e.g., bridged to nat)
you'll need to reboot the vm for changes to take effect.

Chad

On 9/19/07, Chad Metcalf <[EMAIL PROTECTED]> wrote:
> You can try NAT if you don't need to get back into your VMware from
> the "outside". Like ssh into or something.
>
> I was having a problem with working on campus because the VM uses a
> different MAC address then my Windows interface and the school's
> infrastructure wouldn't let me associate multiple macs with one port.
> Anyway, a mess.
>
> Long story short, make sure you're not sitting behind some kind of
> strict DHCP server. And realize that your VM is trying to use a
> different MAC then your Windows interface. And if all else fails use
> NAT.
>
> Cheers
> Chad
>
> On 9/19/07, Victor Shia <[EMAIL PROTECTED]> wrote:
> > I followed the instructions on
> > http://sing.stanford.edu/klueska/running_xubuntos_vm.html
> >   to setup the vmware player and xubuntos, but my internet in the xubuntos
> > isn't work.  I was wondering if anyone else had this problem and or if
> > anyone knew how to solve this problem.
> > I'm running windows XP SP2 and the new vmware player build (9/18/07) and I
> > have the Ethernet on the bridge connection.
> >
> > Thanks,
> > Victor
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@Millennium.Berkeley.EDU
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>
>
> --
> Chad @ Home
>


-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] No internet in VMware Xubuntos

2007-09-19 Thread Chad Metcalf
You can try NAT if you don't need to get back into your VMware from
the "outside". Like ssh into or something.

I was having a problem with working on campus because the VM uses a
different MAC address then my Windows interface and the school's
infrastructure wouldn't let me associate multiple macs with one port.
Anyway, a mess.

Long story short, make sure you're not sitting behind some kind of
strict DHCP server. And realize that your VM is trying to use a
different MAC then your Windows interface. And if all else fails use
NAT.

Cheers
Chad

On 9/19/07, Victor Shia <[EMAIL PROTECTED]> wrote:
> I followed the instructions on
> http://sing.stanford.edu/klueska/running_xubuntos_vm.html
>   to setup the vmware player and xubuntos, but my internet in the xubuntos
> isn't work.  I was wondering if anyone else had this problem and or if
> anyone knew how to solve this problem.
> I'm running windows XP SP2 and the new vmware player build (9/18/07) and I
> have the Ethernet on the bridge connection.
>
> Thanks,
> Victor
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>


-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] One application connected to several SerialForwarder

2007-09-18 Thread Chad Metcalf
I'm with Michael on this one. If your mote hardware has what it takes
to hook up to a PC (serial, USB, etc) or a Gateway (Tmote Connect,
etc) then it doesn't matter what application you run on it.

Some T2 application sends data over the serial to a serial forwarder.
Your application hooks up to this SF via a MoteIF. Your application
can have as many MoteIFs up as you want. I just had 52 up without
breaking a sweat.

Lightly covered here:
http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson4.html

Now if your problem is with the SF then maybe you should look at at a
different SF, like the C or C++ one. Or maybe your problem is
elsewhere.

Cheers
Chad

On 9/18/07, Michael Schippling <[EMAIL PROTECTED]> wrote:
> Lets run this back to the help list, since I don't fully understand the
> question
>
> If you want a physical connection between mote and PC you need one
> MIB5x0 (or whatever) and one USB or serial 'port' per mote. Aside
> from expense, I don't know that there is any limit to the number
> of any of those you may use (well, maybe 256 ports or something...).
>
> I'm not sure why you want so many base-stations. We may have
> a terminology problem because your use of "server" and "client"
> has me confused. But if what you really want is a bunch of motes
> hardwired to a PC, then the approach metcalfc and I have outlined
> should do you fine. Each PacketSource is directly mapped to a single
> port, and thus a single mote, and keeping track of which is which is
> just, as they say, a matter of software...
>
> MS
>
> [EMAIL PROTECTED] wrote:
> > I'm using tinyos-2.0,I think that that will work as
> > Michael proposed but it still limits the number of
> > base station that I can connect and also all theses BS's
> > should be physically connected to the pc.
> >
> > The whole idea is that I have several base stations as clients
> > and one sever.Each client wants to connect to the sever in
> > order to send sensing messages to its table in a data base.
> > In the other words, the application is just a datalogger.
> > So if my server receives a sensing message it should know
> > to which table should  send it.
> > For instance,I have a single client version of this application
> > (one BS communicates with one application)but I try to create
> > a multiclient version.
> > BB.
> >
> > En réponse à [EMAIL PROTECTED]:
> >
> >> Granted I'm using T2 but I do this all the time w/ the Java sdk (not
> >> much is different then the T1 ver).
> >>
> >> You create a MoteIF per sf and keep track of which is which (map?).
> >>
> >> I'm guessing you have a separate problem. Config or otherwise.
> >>
> >>
> >> On 9/18/07, Michael Schippling <[EMAIL PROTECTED]> wrote:
> >>> Perhaps Urs's advice has helped the initial problem but I would
> >>> recommend that you just skip the SF processes and go directly to the
> >>> serial ports. You could start a java thread to wait on each port and
> >>> deliver the data for whatever processing you wish...
> >>>
> >>> Anyway there is indication in the T1 tools that you can do something
> >>> like this:
> >>>
> >>> PacketSource ps = BuildSource.makePacketSource(
> >> "" );
> >>> ps.open(PrintStreamMessenger.err);
> >>>
> >>> while( (packet = ps.readPacket()) != null )
> >>> // do stuff
> >>>
> >>> where "" is what you would normally put in the
> >> MOTECOM
> >>> environment variable, e.g.: [EMAIL PROTECTED]:mica2
> >>>
> >>> MS
> >>>
> >>>
> >>> [EMAIL PROTECTED] wrote:
>  The problem is that I would like to connect several base stations to
> >> a
>  juste one pc in the way that they can communicate to the java
>  application which is running on this pc.
> 
>  My idea was to have a SerialForwarder for each base station in the
> >> way
>  that they can communicate to my application on diffrent ports.
>  That's why I need to use SerialForwarder rather than any other
> >> packet
>  source.
>  Does anybody have an idea about how can I handel the problem
> >> below:
>  Cheers,
>  B.
> 
>  "I create a SerialForwarder and I try to associate it to moteIF
> >> object
>  as below:
> 
>  PhoenixSource source =
> 
> >> BuildSource.makePhoenix(BuildSource.makeSF
> > (this.hostname,9002),PrintStreamMessenger.err);
> MoteIF mote=new MoteIF(source);
> 
>  When I run the programe I get this:
> 
>  [EMAIL PROTECTED]:9002 died - exiting (java.net.ConnectException:
> >> Connection
>  refused)
> 
>  I've checked there is no other SerialForwarder or another
> >> application
> >>> which
>  is running on this port .I've tried to unset MOTECOM but it's
> >> useless"
>  ___
>  Tinyos-help mailing list
>  Tinyos-help@Millennium.Berkeley.EDU
> 
> >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >>> --
> >>> Platform: WinXP/Cygwin
> >>> TinyOS version: 1.x, Boomerang
> >

Re: [Tinyos-help] Running TOSSIM on Vista

2007-09-15 Thread Chad Metcalf
The just-use-Linux rope is much shorter now that there are nice vm tools.

VMware player is free. http://vmware.com/products/player/

All you need is to download an image, which Kevin Klues was nice
enough to provide for us based on the XubunTOS image.
http://sing.stanford.edu/tinyos/dists/xubuntos-2.0-vm.tar.gz

Its really all you need. And you don't have to blow away Windows,
reboot, or anything.

Did I mention that we test XubunTOS against TinyOS (applications,
SDKs, etc) to make sure everything "just works"? If you find something
that doesn't work, let us know and we'll try to fix it. So if you
download VMware player and load the XubunTOS image you will have a
working development environment in the time it takes to download the
files.

Chad




On 9/15/07, Michael Schippling <[EMAIL PROTECTED]> wrote:
> I might point out that the TOS toolchain does work on Widows XP
> and there has been some chatter about Vista on this list. You
> can search back and see if anything useful transpired, and look
> at tinyos.net for various platform distributions. Otherwise I'm
> pretty much at the beginning of the just-use-Linux rope myself...
>
> MS
>
> John Griessen wrote:
> > Darshana Wickramaratne wrote:
> >  I am running
> >> Windows Vista (not by choice) on my laptop and also have a copy of
> >> Cygwin installed.
> >>
> >> I would like to know if there is any way to get the TOSSIM simulator
> >> started if I was to create a VMWare image of the XubuntOS Live CD
> >> image ISO file.  If this is possible, what steps would I have to go
> >> through?
> >
> >
> > VMWare Player is reported to play the edgy version of XubuntOS.
> > I imagine VMWare supports Vista, and their site will tell you more..
> >
> > I find Xubuntos installed directly to be much more beneficial than
> > dealing with Windows interoperability and versions.  I recommend getting
> > another old laptop with excellent battery life instead of top processor
> > speed and use xubuntos directly, and get quick startup.
> >
> > John G
> >
> >
>
> --
> Platform: WinXP/Cygwin
> TinyOS version: 1.x, Boomerang
> Programmer: MIB510
> Device(s): Mica2, MicaZ, Tmote
> Sensor board: homebrew
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Running TOSSIM in Windows

2007-09-15 Thread Chad Metcalf
TOSSIM works fine in a VMware image of XubunTOS. Kevin Klues has made an
VMware image available here:

http://sing.stanford.edu/tinyos/dists/xubuntos-2.0-vm.tar.gz


The email on the subject is here:

http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-September/027748.html

Or you can run directly from the LiveCD which you can find here:

http://5secondfuse.com/tinyos/XubunTOS-2.0.iso

Or you can run in Cgywin. I'm not sure how Vista friendly things are. But
I'd go with the VMware image. Its the best of all worlds.

Cheers
Chad



On 9/15/07, Darshana Wickramaratne < [EMAIL PROTECTED]> wrote:
>
> Hello!
>
> I wish to expand my knowledge of wireless sensor networks by making use
> of the TOSSIM simulator as included with the TinyOS.  I am running
> Windows Vista (not by choice) on my laptop and also have a copy of
> Cygwin installed.
>
> I would like to know if there is any way to get the TOSSIM simulator
> started if I was to create a VMWare image of the XubuntOS Live CD image
> ISO file.  If this is possible, what steps would I have to go through?
> If this is not possible what would be the best way to get started on
> simulating projects using the TOSSIM simulator within the Windows
> environment?
>
> Thankyou for your time.
>
> -Darshana
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Python SDK for TinyOS 2.x

2007-09-14 Thread Chad Metcalf
It should work with any of the tools (Java, C, or C++ SFs). When it comes to
MoteIF you'll find them very similar.

Using TestSerial as an example:

--- Makefile ---
COMPONENT=TestSerialAppC
BUILD_EXTRA_DEPS += TestSerial.class TestSerialMsg.py
CLEAN_EXTRA = *.class TestSerialMsg.java TestSerialMsg.py

TestSerial.class: $(wildcard *.java) TestSerialMsg.java
javac *.java

TestSerialMsg.java:
mig java -target=null $(CFLAGS) -java-classname=TestSerialMsg
TestSerial
.h test_serial_msg -o $@

TestSerialMsg.py:
mig python -target=null $(CFLAGS) -python-classname=TestSerialMsg
TestSe
rial.h test_serial_msg -o $@

include $(MAKERULES)
-

--- example.py ---

#!/usr/bin/env python

# This is a quick and dirty example of how to use the MoteIF interface in
# Python

from TestSerialMsg import *
from tinyos.message import MoteIF

class MyClass:
def __init__(self):
# Create a MoteIF
self.mif = MoteIF.MoteIF()
# Attach a source to it
self.source = self.mif.addSource("[EMAIL PROTECTED]:9001")

# SomeMessageClass.py would be generated by MIG
self.mif.addListener(self, TestSerialMsg)

# Called by the MoteIF's receive thread when a new message
# is received
def receive(self, src, msg):
print "Received message: "+ str(msg)

if __name__ == "__main__":
print "Running"
m = MyClass()



Not terribly useful example but it works.

Cheers
Chad

On 9/14/07, John Griessen <[EMAIL PROTECTED]> wrote:
>
> Matt Welsh wrote:
> > We've developed a Python based SDK for TinyOS, allowing you to write
> > Python programs that talk to serialforwarder, send and receive packets,
> > and so forth.
>
> Sounds great.  I've been using the c++ serial forwarder.  Has it been
> tested with that yet?   Does it parallel the whole java process of
> making message classes?
>
> Might it be just changing .java to .py
> in a Makefile like:
>
> ==
> COMPONENT=ReadMoistureSensorsC
> SENSORBOARD=a2d12ch
>
> BUILD_EXTRA_DEPS=MoistureSensorsMsg.class
> MoistureSensorsMsg.class:  MoistureSensorsMsg.java
> javac MoistureSensorsMsg.java
>
> MoistureSensorsMsg.java:
> mig java -target=null -java-classname=MoistureSensorsMsg
> ReadMoistureSensors.h MoistureSensorsMsg -o $@
>
> include $(MAKERULES)
> ===
>
> Thanks,
>
> John Griessen
> --
> Ecosensory
> tinyOS devel on:  ubuntu Linux;   tinyOS v2.0.2;   telosb ecosens1
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] XubunTOS 2 Released

2007-08-31 Thread Chad Metcalf
People looking for the easiest way to install TinyOS can now grab XubunTOS
2, a combination of Xubuntu Feisty Fawn (7.04), Stanford's TinyOS 2.0.2 debs
and TinyOS 1.x from CVS.

It is hands down the fastest way to get up and running with TinyOS.

Read more about it here: http://toilers.mines.edu/Public/XubunTOS

Or just grab it here:
http://toilers.mines.edu/files-XubunTOS/XubunTOS-2.0.iso

Or here: http://5secondfuse.com/tinyos/XubunTOS-2.0.iso

Cheers
Chad

-- 
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Compiling RSSISample For TOSSIM

2007-07-01 Thread Chad Metcalf

NoiseAppC.nc:38:28: error: StorageVolumes.h: No such file or directory

This is the problem. TOSSIM doesn't support file system simulation at this time.

Chad

On 7/1/07, Tal  Rusak <[EMAIL PROTECTED]> wrote:

Hi,
 I tried to compile the RSSISample program in
/tinyos-2.x-contrib/stanford-sing/apps/RssiSample for TOSSIM.
However, I got several error messages. Then, I tried to compile this
application to the MicaZ mote, and it seems to have worked. I then
compiled to TOSSIM again and I got a different error message!
 Please see the terminal dump in the attached text file.
 Does anyone know the reason for this behavior? Is it possible to
compile and run RSSI sample on TOSSIM? If not, then why?
 I really appreciate any assistance in advance.

Tal
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Tiny OS 2. Tutorial 4 location error

2007-06-30 Thread Chad Metcalf

I do not believe the rpms include the tools directory. Binary versions
are provided for you in the tinyos-tools rpm. There if you want the
tools directory you'll need to check out TinyOS from CVS.

Cheers
Chad

On 6/30/07, KURT PETERS <[EMAIL PROTECTED]> wrote:

I'm going through tutorial 4 for tos 2.X and noticed references to:
tinyos-2.x/tools/tinyos/java and
tinyos-2.x/tools/

I checked my installation and the install rpm: tinyos-2.0.1-5.noarch.rpm and
don't see this directory.
I was wondering if this has changed in 2.x, but someone didn't update the
entry from the 1.x tutorial?
Regards,
Kurt


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Xubuntos

2007-06-01 Thread Chad Metcalf

Can you give me some more details as to the problems with gcc and toscomm?

I'm in and out due to work and moving across country (everything is
packed away) but I can try and help.

Chad

On 6/1/07, Gideon Spreeth <[EMAIL PROTECTED]> wrote:

Does anybody know how to add moteiv boomerang install to xubuntos.
I used Chad's guide athttp://5secondfuse.com/tinyos/install.html
but still have problems with getting msp430-gcc and TOSComm to work..





___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] "One-step Install TOS2.0.1 with a Live CD" NOT for windows xp?

2007-05-06 Thread Chad Metcalf

You can. If someone makes the VMWare image to run. Mines and/or myself
will happily host the image. But we don't have VMware to make the
initial image to run on the player. At least that is my understanding
of how VMware's Player works.

The other alternative is that you make a LiveUSB and run directly off that.

Cheers
Chad

On 5/6/07, Philip Levis <[EMAIL PROTECTED]> wrote:

On May 6, 2007, at 9:46 PM, Chad Metcalf wrote:

> No. At least not without additional software. The LiveCD is a Linux
> based distribution. It is not a Windows install. Now that said if you
> have VMWare or something similar you can install XubunTOS under
> Windows or Mac for that matter (assuming you have Parallels).
>
> We haven't made and are not planning to make a Windows install.
> Windows users will need to continue to follow the hand install
> instructions.

Does it work with VMWare's VMPlayer? You can download that for free
to run it, right?

Phil




--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] "One-step Install TOS2.0.1 with a Live CD" NOT for windows xp?

2007-05-06 Thread Chad Metcalf

No. At least not without additional software. The LiveCD is a Linux
based distribution. It is not a Windows install. Now that said if you
have VMWare or something similar you can install XubunTOS under
Windows or Mac for that matter (assuming you have Parallels).

We haven't made and are not planning to make a Windows install.
Windows users will need to continue to follow the hand install
instructions.

Cheers
Chad

On 5/6/07, Derek FOol <[EMAIL PROTECTED]> wrote:



Hi,all,
doesn't the latest release TOS 2.0.1 support one-step installation for
WINXP?

 

Derek FOol
2007-05-07
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Has anyone installed on Linux? Please reply if you have

2007-04-23 Thread Chad Metcalf

You can install Boomerang for Linux. My recommendation is follow my
install guide at http://www.5secondfuse.com/tinyos/install.html.

Even if you don't use a Ubuntu variant, if you're Linux savvy you'll
see what you need. Not to mention the debs that Stanford makes for
TinyOS 2 will work for Boomerang. No need to build a separate msp430
toolchain, etc.

Cheers
Chad

On 4/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Alan,

Yep sorry, I sent out an email a while ago and no one replied. So I
thought I might try a more generic email just to see if people had
successfully installed it on Linux.

I am trying to install Tmote Tools CD V2.0.4 (from boomerang). It
requires me to run a script found in
C:\cygwin\opt\tinyos-1.x\tools\src\mspgcc\ called build-mspgcc

When I run this, it cannot find the required files through CVS. I tried
searching for these files through google and I found most of them. The
only one I am having trouble finding is a file called mspgcc-cvs.tar.gz

So I thought if someone did install this file, then they would have a
copy of it in their C:\cygwin\opt\tinyos-1.x\tools\src\mspgcc\archive
directory.

Thanks

Keerthi

Quoting Alan Medlar <[EMAIL PROTECTED]>:

> Could you be less vague? What file? What verion of tinyos? (or boomerang if
> this is something to do with moteiv)?
>
>
> On 19/04/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I was just wondering if anyone has installed Moteiv's Tmote tools or
>> tinyos on linux. If so, please reply I need a file which I cannot find
>> on the cvs.
>>
>> Regards
>>
>> Keerthi
>>
>>
>> ___
>> Tinyos-help mailing list
>> Tinyos-help@Millennium.Berkeley.EDU
>> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>




___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Ubuntu package might be broken

2007-04-23 Thread Chad Metcalf

Did you recently update your debs? Like within the last two days?

If so go to $TOSROOT/support/make/sim.extra

Is the Python version set to 2.5? If so change it to 2.4. Does this
fix your problem?

Thanks
Chad

On 4/23/07, Romain Thouvenin <[EMAIL PROTECTED]> wrote:

Hello,

Today, when I tried to test my application with TOSSIM, it didn't work.
First, Python.h was missing though I didn't change anything in my
distrib. I somehow fixed that, but then during the simulation, the
sendDone event is never signaled after a send call.

I tried to test a tutorial, BlinkToRadio : same result.

I tried to load BlinkToRadio in a mote, then it worked.

I don't know if TOSSIM of python is guilty. I didn't notice any python
update lately, but a tinyos update this week-end if I remember well.
Could that be the source of the problem ?

Does other Ubuntu users faced the problem ? Any clue ?

Thanks for your help,
Romain
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Installing to Tmote nodes in Ubuntu 7.04 Feisty Fawn

2007-04-22 Thread Chad Metcalf

My understanding is USB support has a lot of problems in Feisty. Last
I heard the udev rules had been updated a caused a lot of breakage.

My suggestion would be not to use Feisty, its too beta to be worth it.
Use Edgy. I'm thinking perhaps in June or so I'll get Feisty working
and update the www.5secondfuse.com/tinyos/install.html page.

If you're dead set to use it. Look in the udev rules.

Cheers
Chad

On 4/22/07, Matthias Gauger <[EMAIL PROTECTED]> wrote:

Hello,

It looks like with the new version 7.04 Ubuntu has stopped supporting
/dev/ttyUSB{x} and replaced it with libusb. The result is that the
command 'motelist' stopped working and installing software to Tmote
sensor nodes the usual way (e.g., make tmote reinstall,0) fails. Has
anyone already found a workaround that allows to install software to
Tmotes in Ubuntu 7.04 Feisty Fawn?

Thanks,


Matthias

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] PowerTOSSIM for TinyOS-2.x?

2007-04-05 Thread Chad Metcalf

Lilia,

Currently this functionality does not exist in TOSSIM. Venkatesh S is
working on these extensions as part of the overall effort of the Simulation
Working Group.

I'm not sure where he is in terms of having something to release but the
Simulation WG hopes to have several new things ready for TTX in late April.

Cheers
Chad

On 4/5/07, Lilia Paradis <[EMAIL PROTECTED]> wrote:


Hi, I need to measure energy expenditure of the nodes in my simulation
experiments. I was looking at PowerTOSSIM tool and as I understand it is
only available for TinyOS-1.x
Is there a similar tool for TinyOS-2.x?

Thank you,


--
Lilia Paradis
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Problems installing Tiny OS 2.0

2007-03-28 Thread Chad Metcalf

2.4 is fine. You'll just need to update sim.extra.

The http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson11.html talks
about all the current Python issues people have and provides solutions.
Including what to do if you are using 2.4.

Chad

On 3/28/07, Romain Thouvenin <[EMAIL PROTECTED]> wrote:


On 3/28/07, Chad Metcalf <[EMAIL PROTECTED]> wrote:
> On 3/28/07, Romain Thouvenin <[EMAIL PROTECTED]> wrote:
>
> > PS : And if someone knows have an idea about these dependencies ...
> >
>
>  As per the guide on
> http://www.5secondfuse.com/tinyos/install.html the current
> list of "things you need in Ubuntu" are:
>
>  sudo apt-get install cvs subversion autoconf automake1.9 python-dev
> sudo apt-get install g++-4.0 gperf swig sun-java5-jdk graphviz alien
> fakeroot
> sudo apt-get install g++-3.4 tinyos-msp430 tinyos-avr
>
>  These packages will pull in all their dependancies and should cover all
you
> need and more.
>
>  The python binding problem is likely because you a) don't have swig
> installed or b) don't have python-dev installed.
>
>  Cheers
>  Chad
>

Thanks for the reply.
I have all this installed, do you know if a particular version of
python is needed ? I have 2.4

Romain





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Problems installing Tiny OS 2.0

2007-03-28 Thread Chad Metcalf

I'll venture out on a limb and say if you use Ubuntu 6.10, the instructions
on my page, plus the debs from Stanford give a 99.99% chance of success. The
typical sources of failure would be weird hardware, keyboard-to-chair
interface issues, or something rare we haven't found that we'd like to fix.
So I'd go Ubuntu.

That said, I think your problem is solved if "tos-install-jni" works after
the fact. You could of course try installing Sun's Java in RPM form
(available at java.sun.com) and retrying.

Chad

On 3/28/07, Pedro Almeida <[EMAIL PROTECTED]> wrote:


Hi, Chad!

Thanks for explanation! I don't mind returning into Ubuntu if is assured
it works for a pure Tiny OS 2.0 install!
I'm now using Fedora and following the install guide from that link you
showed at tinyos.net site, but it's precisely where i got stuck in step 4,

which is why i'm asking for help, as given the original packages are
rpm's, Fedora should be the best place to install everything.
I have no idea why it isnt working, i explained the problems in the first
post, but if it's not possible to use tiny os on Fedora, i'll just try
Ubuntu again...

Many Thanks;

Pedro

On 3/28/07, Chad Metcalf <[EMAIL PROTECTED]> wrote:

> So I'm not sure I understand the problem. My guide 
(http://www.5secondfuse.com/tinyos/install.html
> ) is not terribly helpful if you are using Fedora. The guide originally
> installed everything from scratch, then used alien to convert the rpms, and
> now uses straight debs built by Stanford. But it is Ubuntu specific, except
> for the .bash_tinyos script which is useful to any TinyOS user who wants to
> switch between developing in 1x, 2x and Boomerang.
>
> If you are using RPMs from TinyOS.net then the 
http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html
> directions are the way to go. If you are using a "pure" 2x environment
> then the .bash_tinyos script won't make any difference to you and will just
> clutter your environment with aliases you don't use.
>
> Chad
>
> On 3/28/07, Pedro Almeida < [EMAIL PROTECTED]> wrote:
>
> >  Hey, Atilla;
> >
> > So if i do all steps in that url you provided till "Install TinyOS 1.x",
> > i should have everything set up as if i did all 6 steps in 
http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html
> >  ?
> > There still has to be someway the RPMs work, it's how they come out
> > originally, after all...
> >
> > Regards,
> >
> > Pedro
> >
> > On 3/28/07, Atilla <[EMAIL PROTECTED] > wrote:
> > >
> > > The packages installed from the Ubuntu repository , in that example,
> > > are the requirements for the 2.0 release and the 2.0 release of
> > > TinyOS, with all it supports by default. The next useful thing is
> > > the
> > > environment settings script, that so far has been working quite
> > > nicely
> > > for me and eased up my life significantly. The rest of the gude
> > > includes version 1, Boomerang, and version 2 from CVS (installed in
> > > a
> > > separate folder), which are completely optional. If you only care
> > > about 2.0 stop after the environment script, or before that, if
> > > you've
> > > got a better way of configuring it.
> > >
> > > Unfortunatelly I can't help you with the RPMs, since there's where I
> > > hit trouble and that's why I got Ubuntu when the repository came
> > > out.
> > >
> > >
> > > On 28/03/07, Pedro Almeida <[EMAIL PROTECTED]> wrote:
> > > > Hi;
> > > >
> > > > Problems with Ubuntu were probably because i started with Tiny OS
> > > 1.1 then
> > > > tried to upgrade to 1.15 to get it to support the MicaZ from
> > > Crossbow that
> > > > i'm using (unsupported in 1.1), then it didnt work well with the
> > > tarballs,
> > > > so i used alien to covert the rpms to deb packages, but i also got
> > > errors
> > > > with install attempts, i dont quite remember which. Maybe if I try
> > > a pure
> > > > 2.0 install i'll be more lucky. I'm currently trying with Fedora
> > > because of
> > > > the native support for RPM's and in a hope to face the least
> > > errors
> > > > possible.
> > > >
> > > > That website you gave, it appears to be for Moteiv motes and for
> > > 1.x tiny os
> > > > plus cvs upgrade to 2.0 tree.
> > > > Is there anything similar (or can it be used at all) for a pure
> > > Ti

Re: [Tinyos-help] Problems installing Tiny OS 2.0

2007-03-28 Thread Chad Metcalf

On 3/28/07, Romain Thouvenin <[EMAIL PROTECTED]> wrote:


PS : And if someone knows have an idea about these dependencies ...



As per the guide on http://www.5secondfuse.com/tinyos/install.html the
current list of "things you need in Ubuntu" are:

sudo apt-get install cvs subversion autoconf automake1.9 python-dev
sudo apt-get install g++-4.0 gperf swig sun-java5-jdk graphviz alien fakeroot
sudo apt-get install g++-3.4 tinyos-msp430 tinyos-avr

These packages will pull in all their dependancies and should cover all you
need and more.

The python binding problem is likely because you a) don't have swig
installed or b) don't have python-dev installed.

Cheers
Chad

--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Problems installing Tiny OS 2.0

2007-03-28 Thread Chad Metcalf

So I'm not sure I understand the problem. My guide (
http://www.5secondfuse.com/tinyos/install.html) is not terribly helpful if
you are using Fedora. The guide originally installed everything from
scratch, then used alien to convert the rpms, and now uses straight debs
built by Stanford. But it is Ubuntu specific, except for the .bash_tinyos
script which is useful to any TinyOS user who wants to switch between
developing in 1x, 2x and Boomerang.

If you are using RPMs from TinyOS.net then the
http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html directions are
the way to go. If you are using a "pure" 2x environment then the
.bash_tinyos script won't make any difference to you and will just clutter
your environment with aliases you don't use.

Chad

On 3/28/07, Pedro Almeida <[EMAIL PROTECTED]> wrote:


Hey, Atilla;

So if i do all steps in that url you provided till "Install TinyOS 1.x", i
should have everything set up as if i did all 6 steps in 
http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html
 ?
There still has to be someway the RPMs work, it's how they come out
originally, after all...

Regards,

Pedro

On 3/28/07, Atilla <[EMAIL PROTECTED]> wrote:
>
> The packages installed from the Ubuntu repository , in that example,
> are the requirements for the 2.0 release and the 2.0 release of
> TinyOS, with all it supports by default. The next useful thing is the
> environment settings script, that so far has been working quite nicely
> for me and eased up my life significantly. The rest of the gude
> includes version 1, Boomerang, and version 2 from CVS (installed in a
> separate folder), which are completely optional. If you only care
> about 2.0 stop after the environment script, or before that, if you've
> got a better way of configuring it.
>
> Unfortunatelly I can't help you with the RPMs, since there's where I
> hit trouble and that's why I got Ubuntu when the repository came out.
>
>
> On 28/03/07, Pedro Almeida <[EMAIL PROTECTED]> wrote:
> > Hi;
> >
> > Problems with Ubuntu were probably because i started with Tiny OS 1.1then
> > tried to upgrade to 1.15 to get it to support the MicaZ from Crossbow
> that
> > i'm using (unsupported in 1.1), then it didnt work well with the
> tarballs,
> > so i used alien to covert the rpms to deb packages, but i also got
> errors
> > with install attempts, i dont quite remember which. Maybe if I try a
> pure
> > 2.0 install i'll be more lucky. I'm currently trying with Fedora
> because of
> > the native support for RPM's and in a hope to face the least errors
> > possible.
> >
> > That website you gave, it appears to be for Moteiv motes and for 1.xtiny os
> > plus cvs upgrade to 2.0 tree.
> > Is there anything similar (or can it be used at all) for a pure Tiny
> OS 2.0
> > isntall for Crossbow's MicaZ motes?
> >
> > Thanks!
> >
> >
> > On 3/28/07, Atilla <[EMAIL PROTECTED]> wrote:
> > > On 28/03/07, Pedro Almeida < [EMAIL PROTECTED]> wrote:
> > > > Hello;
> > > >
> > > > i've recently entered the tiny OS world, but not without trouble
> right
> > from
> > > > the start.
> > > > i dont seem to be able to even install it! after Ubuntu, after Red
> Hat
> > 9,
> > > > i'm now trying with Fedora 6. always different problems, which
> don't
> > matter
> > > > now, but my current situation is this:
> > > >
> > > > while installing the tiny OS 2.0 files, during Step 4 (according
> to the
> > > > install tutorial), it's required to install the rpm of
> tinyos-tools. the
> > > > process of installing it goes like this (all others went fine):
> > >
> > > I'm not experienced in getting it to work from RPMs either, but my
> > > recommendation is to use the Ubuntu repository, which is by far the
> > > fastest and easiest way to get it working. What sort of trouble did
> > > you encounter while using the Ubuntu packages?
> > > You might want to check out
> > > http://www.5secondfuse.com/tinyos/install.html , which
> > gives a short
> > > but compete tutorial on how to get it all working in Ubuntu.
> > >
> >
> >
>


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] how do I model lossless environment in Tossim (Tinyos 2)?

2007-03-21 Thread Chad Metcalf

You're right even with a gain of 0 you'll still have the possibility of a
collision.

I might suggest looking into using the BinaryInterferenceModelC.nc instead
of the  UscGainInterferenceModelC.nc. You'll need to use a different
ActiveMessageC.nc.

Cheers
Chad

On 3/21/07, Lilia Paradis <[EMAIL PROTECTED]> wrote:


Hi Chad,

Thanks for quick response!

That's what I've been doing too, but I still have weird inconsistencies.
My grid network initializes and builds routing tree perfectly about 9 out of
10 times, but that one time some node somewhere never gets the message sent
to it.

I am thinking it must be because of collisions. What is the default MAC
protocol used in Tinyos 2? I thought it was B-mac, is that true? Is there
some carrier sensing going on by default? Or is it only possible to prevent
collisions by randomizing transmission times?

Thanks,
Lilia

On 3/21/07, Chad Metcalf < [EMAIL PROTECTED]> wrote:
>
> I imagine the best way is in the link specification. Tutorial 11 talks a
> little about this.
>
> The method you're looking for is:
> *
> add(src, dest, gain)*: Add a link from *src* to *dest* with *gain*. When
> *src* transmits, *dest* will receive a packet attenuated by the *gain*value.
>
> From the tutorial:
>
> Because the radio connectivity graph can be scripted, you can easily
> store topologies in files and then load the file. Alternatively, you can
> store a topology as a script. For example, this script will load a file
> which specifies each link in the graph as a line with three values, the
> source, the destination, and the gain, e.g.:
>
> 1  2 -54.0
>
> means that when 1 transmits 2 hears it at -54 dBm. Create a file
> topo.txt that looks like this:
>
> 1  2 -54.0
> 2  1 -55.0
> 1  3 -60.0
> 3  1 -60.0
> 2  3 -64.0
> 3  2 -64.0
>
> This script will read such a file:
>
> >>> f = open("topo.txt", "r")
> >>> lines = f.readlines()
> >>> for line in lines:
> ...   s = line.split()
> ...   if (len(s) > 0):
> ... print " ", s[0], " ", s[1], " ", s[2];
>
>
>
> ... r.add(int(s[0]), int(s[1]), float(s[2]))
>
>
> The default sensitivity seems to be 3.0 so an incoming packet must be
> 3dBm greater than the sum of noise and concurrent transmissions for it to be
> received. The default threshold seems to be -95 dBm. Specify a 0 gain and
> that should mean the packet is heard at the same strength it was sent (I
> think...).
>
> Of course Phil or someone else might have a better answer.
>
> Cheers,
> Chad
>
> On 3/21/07, Lilia Paradis < [EMAIL PROTECTED]> wrote:
>
> > Hi all,
> >
> > I can't seem to figure out how to model lossless environment in
> > Tossim, i.e. 100% packet delivery rate and error-free. I've searched
> > the archives and found a few messages on this subject, but they all refer to
> > Tinyos-1.x. I am using Tinyos-2
> >
> > Thanks,
> >
> > --
> > Lilia Paradis
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@Millennium.Berkeley.EDU
> > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
> >
>
>
>
> --
> Chad @ Home




--
Lilia Paradis

--
Lilia Paradis
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] how do I model lossless environment in Tossim (Tinyos 2)?

2007-03-21 Thread Chad Metcalf

I imagine the best way is in the link specification. Tutorial 11 talks a
little about this.

The method you're looking for is:
*
add(src, dest, gain)*: Add a link from *src* to *dest* with *gain*. When *
src* transmits, *dest* will receive a packet attenuated by the *gain* value.


From the tutorial:


Because the radio connectivity graph can be scripted, you can easily store
topologies in files and then load the file. Alternatively, you can store a
topology as a script. For example, this script will load a file which
specifies each link in the graph as a line with three values, the source,
the destination, and the gain, e.g.:

1  2 -54.0

means that when 1 transmits 2 hears it at -54 dBm. Create a file
topo.txtthat looks like this:

1  2 -54.0
2  1 -55.0
1  3 -60.0
3  1 -60.0
2  3 -64.0
3  2 -64.0

This script will read such a file:


f = open("topo.txt", "r")
lines = f.readlines()
for line in lines:

...   s = line.split()
...   if (len(s) > 0):
... print " ", s[0], " ", s[1], " ", s[2];
... r.add(int(s[0]), int(s[1]), float(s[2]))


The default sensitivity seems to be 3.0 so an incoming packet must be 3dBm
greater than the sum of noise and concurrent transmissions for it to be
received. The default threshold seems to be -95 dBm. Specify a 0 gain and
that should mean the packet is heard at the same strength it was sent (I
think...).

Of course Phil or someone else might have a better answer.

Cheers,
Chad

On 3/21/07, Lilia Paradis <[EMAIL PROTECTED]> wrote:


Hi all,

I can't seem to figure out how to model lossless environment in Tossim,
i.e. 100% packet delivery rate and error-free. I've searched the archives
and found a few messages on this subject, but they all refer to Tinyos-1.x.
I am using Tinyos-2

Thanks,

--
Lilia Paradis
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] toswrap make micaz sim error

2007-03-04 Thread Chad Metcalf

The first error is pretty clear...

The tutorial talks about this. You need to install the python development
files. Or if you already have them point the build to them.

Perhaps you should consider wiping your environment and starting fresh?

Chad
---

If you have all of the needed files, but are still getting errors such as
"undefined reference" or "Python.h: No such file or directory", then you
have the next problem: they're on your filesystem, but TOSSIM can't find
them.
You have Python support installed, but the make system can't find it

You've found libpython and Python.h, but when TOSSIM compiles it says that
it can't find one or both of them. If it can't find Python.h then
compilation will fail pretty early, as g++ won't be able to compile the
Python glue code. If it can't find the python library, then compilation will
fail at linking, and you'll see errors along the lines of "undefined
reference to __Py...". You need to point the make system at the right place.

Open up support/make/sim.extra. If the make system can't find Python.h, then
chances are it isn't in one of the standard places (e.g., /usr/include). You
need to tell the make system to look in the directory where Python.h is with
a -I option. At the top of sim.extra, under the PFLAGS entry, add

CFLAGS += -I/path

where /path is the path of the directory where Python.h lives. For example,
if it is in /opt/python/include, then add CFLAGS += -I/opt/python/include.

If the make system can't find the python library for linking (causing
"undefined reference") error messages, then you need to make sure the make
system can find it. The sim.extra file uses two variables to find the
library: PYDIR and PYTHON_VERSION. It looks for a file named
libpython$(PYTHON_VERSION).so. So if you have Python 2.4 installed, make
sure that PYTHON_VERSION is 2.4 (be sure to use no spaces!) and if 2.3, make
sure it is 2.3.

Usually the Python library is found in /usr/lib. If it isn't there, then you
will need to modify the PLATFORM_LIB_FLAGS variable. The -L flag tells gcc
in what directories to look for libraries. So if libpython2.4.so is in
/opt/python/lib, then add -L/opt/python/lib to the PLATFORM_LIB_FLAGS. Note
that there are three different versions of this variable, depending on what
OS you're using. Be sure to modify the correct one (or be paranoid and
modify all three).

*Symptom:* You've verified that you have the needed Python files and
libraries, but compilation is still saying that it can't link to them
("undefined reference") or can't find them ("cannot find -lpython2.4").

*Solution:* Change the sim.extra file to point to the correct directories
using -L and -I flags.
You have Python support installed, but it turns out to be incompatible with
TOSSIM.

*Symptom:* You get a "This python version requires to use swig with the
-classic option" error message.

*Solution:* Install SWIG and regenerate Python support with the
sing-generate script in tos/lib/tossim, or install a different version of
Python.


On 3/1/07, fatima cabot <[EMAIL PROTECTED]> wrote:


Hi. I've followed every step in tutorial (but the little adjustments to
make it work) and i keep on getting this error when doing make micaz sim
inside any application directory

Any ideas?

Thanks in advance

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Tmote target for Mac OS x

2007-02-25 Thread Chad Metcalf

Download them from Moteiv and run setup for Windows or follow the
instructions for Linux?

http://www.moteiv.com/software/download.php
http://www.moteiv.com/community/Tmote_Linux_install
http://www.moteiv.com/community/Tmote_Windows_install




On 2/25/07, Nitish Jha <[EMAIL PROTECTED]> wrote:


hello,

does anybody know how to install, the moteiv tools or tmote.target
file for the tmote sky.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] sim.extra fixes for mac os x users

2007-02-05 Thread Chad Metcalf

I'm using 10.4.8 and I get multiple results...

With Apple's bash
metcalfc:~ metcalfc$ echo $OSTYPE
darwin8.0

With Fink's bash

[EMAIL PROTECTED]:/Users/metcalfc$ echo $OSTYPE
darwin8.5.1

Would OS=`uname` maybe eliminate some of these issues? On Mac you should
get:
Darwin

The various linux flavors I have come back all Linux. I don't have a Cygwin
running right this second but ten gets you twenty its Cygwin...

Just an idea.

Cheers
Chad

On 2/5/07, Philip Levis <[EMAIL PROTECTED]> wrote:


On Feb 5, 2007, at 8:42 PM, Jane wrote:

> I discovered couple of errors in sim.extra for Mac OS X users.
>
> In line 32: ifeq ($(OSTYPE), darwin) should be replaced as ifeq ($
> (OSTYPE),
> darwin8.0).
>

What version of OSX are you running? I am running 10.4.8 and:

transience /Users/pal -3-> printenv OSTYPE
darwin

If anything, there should be two tests. I'll look into adding another
ifeq to test for darwin8.0.


> Line 36 PLATFORM_BUILD_FLAGS=-flat_namespace -undefined supress
> should be replaced by PLATFORM_BUILD_FLAGS=-flat_namespace -undefined
> suppress.
>

Good catch!

Phil
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [TinyOS-Help] Installation problem

2007-02-01 Thread Chad Metcalf

That's fine. You can safely ignore that error.

Chad

On 2/1/07, Min Guo <[EMAIL PROTECTED]> wrote:



After installation the tinyos on Debian of IBM T43P (I installed
graphviz-2.12-1.src.rpmin
 the last step),
I got following warning when execute the "tos-check-env" :

WARNING: The graphviz (dot) version found by tos-check-env is not 1.10.
Please update your graphviz version if you'd like to use the nescdoc
documentation generator.


Anybody knows why and do I need to do anything?

Thanks,
Min



On 2/1/07, Min Guo < [EMAIL PROTECTED]> wrote:
>
>
>
>

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] CC2420 RSSI Question

2007-01-27 Thread Chad Metcalf

Yes. There was a discussion about this a few weeks ago on this list
and some source code from Stanford was posted. Search back.

Chad

On 1/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Platform:  TelosB
TinyOS version:  2.x

I understand that a receiving node upon reception of a packet can compute the
RSSI of the transmitting node.  My question is, can the CC2420's RSSI register
be polled in order to capture the amount of background energy present in the
channel?(i.e. when a packet is sent from the transmitting node to the
basestation and it is not received at the basestation, is it possible to sample
the RSSI register in order to get the radio energy present in the channel.  I am
interested in determining what is causing that interference at that particular
time).  Thanks.

Dave
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] 29 byte message portion of a packet

2007-01-23 Thread Chad Metcalf

There is a short and very very long answer to your question.

Short: Yes... you can have multiple readings a packet but your other
assertions are not correct (29 is not a fixed size, there is packet
overhead, etc).

This is a fairly fundamental concept... so that leads me to the long answer.

Long: Read the documentation.

The message_t TEP: http://www.tinyos.net/tinyos-2.x/doc/html/tep111.html

The mote communications tutorial:
http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson3.html

The TinyOS Programming Guide:
http://csl.stanford.edu/~pal/pubs/tinyos-programming-1-0.pdf

The example applications in the TinyOS source trees (example
MultihopOscilloscope in TinyOS 2).

Cheers
Chad

On 1/23/07, Chris Byers <[EMAIL PROTECTED]> wrote:





I have read that there are 29 bytes of room for data payload in a packet and
have seen that certain programs delegate there senosor readings to certain
bytes in that payload.  My question is, is that 29 bytes programmable for
any type of payload or are certain bytes set aside for certain sensor
outputs.  In other words, I am trying to put multiple magnetometer samples
in a single packet, is this possible?



Thanks,



Chris Byers
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Would it be possible to change TOSMsg payload to 1000 bytes ?

2007-01-12 Thread Chad Metcalf

Depends on your radio. But with the current radios no and I can't
think of any that would be that high. 1000 is nearly an Ethernet MTU.

The CC2420 limit is something like 127 bytes. Search this list for
discussions about the cons of large packet sizes.

Chad

On 1/12/07, Heo Heo <[EMAIL PROTECTED]> wrote:

  I was wondering if it is possible to change the maximum payload size of a
TOSMsg to , say, 1000 bytes (the default is 29 bytes for micaz - as
indicated in TOS_DATA_LENGTH). Having large payload packets can be handy in
many scenarios, so, I would like to know if anyone has any experiences on
this topic (like what would be the max payload possible, etc.)

  Another question is: would the radio component of TinyOS transfer (TOSMsg
header + actual payload) bytes, or it always transfers (TOSMsg header +
TOS_DATA_LENGTH) bytes in all cases (i.e. always fixed packet size).

  Thanks a lot for your help !
  Heo






 
Want to start your own business? Learn how on Yahoo! Small Business.


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] BUG: tinyos-2 libtoscomm.so needs -fPIC flag (w/patch)

2007-01-09 Thread Chad Metcalf

According to the nice people at libtool (ltmain.sh).

827 # On Cygwin there's no "real" PIC flag so we must build
both object types
828 case $host_os in
829 cygwin* | mingw* | pw32* | os2*)
830   pic_mode=default
831   ;;
832 esac
833 if test "$pic_mode" = no && test "$deplibs_check_method"
!= pass_all; then
834   # non-PIC code in shared libraries is not supported
835   pic_mode=default
836 fi
837

So maybe on Cygwin it doesn't matter.

Chad


On 1/9/07, Mr. Jonathan A. Gomez <[EMAIL PROTECTED]> wrote:


I looked at the documentation of gcc at

  http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc

and found the options described in section 3.18.

>From what I can tell, the difference between the two options -fpic and
-fPIC has to do with whether it checks for system-dependent restrictions
on the size of the global offset table that would be generated, avoiding
creating PIC code in that case.

If says for the -fpic flag: "If the GOT size for the linked executable
exceeds a machine-specific maximum size, you get an error message from
the linker indicating that -fpic does not work; in that case, recompile
with -fPIC instead. (These maximums are 8k on the SPARC and 32k on the
m68k and RS/6000. The 386 has no such limit.)".

I don't know much about cygwin, but it sounds like the usage of these
two different flags is a bit more of an issue than just cygwin vs.
linux.  It sounds like it is somewhat architecture-specific too.
"This option makes a difference on the m68k, PowerPC, and SPARC".

The full text for the options, of course, is available at the link
above by going to the appropriate section.

I tried to look up -fpic/PIC on cygwin, but I wasn't having much
success.  I'd love to know where to get references.


Sincerely,

Jon.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] typos or defined elsewhere?

2007-01-04 Thread Chad Metcalf

This is all covered in the 3rd tutorial, including where to find these
files (tos/interfaces or tos/system). Also if you are new to TinyOS I
strongly recommend you read Dr Levis'  TinyOS Programming "book".
http://csl.stanford.edu/~pal/pubs/tinyos-programming.pdf

You can also use the find command (it should be around in Cygwin or Linux).

For example:

[EMAIL PROTECTED]:/opt/tinyos-2.x$ find . -name AMSend.nc
./tos/interfaces/AMSend.nc

So this tells us that AMSend is an interface that is in the
tos/interface directory.

Grep is also your friend.

For example:

[EMAIL PROTECTED]:/opt/tinyos-2.x$ grep -R 'send' tos/interfaces/AMSend.nc
/** The basic active message message sending interface. Also see
   * Packet interface of the component providing AMSend. If send
   * returns SUCCESS, then the component will signal the sendDone
   * event in the future; if send returns an error, it will not
   * signal the event.  Note that a component may accept a send
   * will signal sendDone with error code.
   * @param addr   address to which to send the packet
   * @return   SUCCESS if the request to send succeeded and a
   *   sendDone will be signaled later, EBUSY if the
   *   abstraction cannot send now but will be able to
   *   in a state that can send (e.g., off).
   * @see  sendDone
 command error_t send(am_addr_t addr, message_t* msg, uint8_t len);
   * if the send was successfully canceled, if the radio is
   * sendFailed event, and never a sendSucceeded event.
   * @seesendDone
   * Signaled in response to an accepted send request. msg is
   * the send was successful.
   * @param  msg   the packet which was submitted as a send request
   * @see send
 event void sendDone(message_t* msg, error_t error);

Its all there. Just poke around a bit.

Cheers
Chad





On 1/4/07, Mohamed Ahmed <[EMAIL PROTECTED]> wrote:

Hi Chad,

Thank you very much for your helpful email and clarifications!

I didn't mean the tutorials are not correct but was unable to
figure out where these variables come from as I'm new to TinyOS.


implementation {

uint16_t counter;
message_t pkt;
bool busy = FALSE;


I can't find where "pkt" is initialized. Could you please show me where
this initialization takes place?

Also, where is the declaration (or definition) of AMSend.Send?
Could you show me the definition of the command "Send" of the
interface "AMSend"?

Besides, "Receive.receive" was never called.

Thank you very much for making these clear.

Mohamed

Chad Metcalf <[EMAIL PROTECTED]> wrote:

On 1/4/07, Mohamed Ahmed wrote:
> Hi,
>
> Could someone tell me the following code is complete/correct?
> Where is pkt defined?

According the version in my
$TOSROOT/apps/tutorials/BlinkToRadio/BlinkToRadioC.nc pkt
is defined
on line 55. Just search for it.


implementation {

uint16_t counter;
message_t pkt;
bool busy = FALSE;


> Also btrpkt is not used after initializing its fields "nodeid" and
> "counter".

You are correct. The btrpkt pointer is used to used access to the
nodeid and counter fields. Once they are updated you don't need to use
the pointer anymore. That's what this:

BlinkToRadioMsg* btrpkt = (BlinkToRadioMsg*)(call Packet.getPayload(&pkt,
NULL))

is doing for you. The pkt is the packet you are sending. The payload
is where the BlinkToRadioMsg structure lives (for this message type).
By getting a pointer to the payload and casting it to a pointer to the
BlinkToRadioMsg struct you get a nice convenient way of modifying the
values of nodeid and counter.

Now in this line:

if (call AMSend.send(AM_BROADCAST_ADDR, &pkt, sizeof(BlinkToRadioMsg))
== SUCCESS) {

you send the pkt. The nodeid and counter values have been changed. So
you don't need the btrptk because it isn't the whole packet, just the
payload.

Generally, the tutorials are correct.

Cheers,
Chad


--
Chad @ Home



 __
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] typos or defined elsewhere?

2007-01-04 Thread Chad Metcalf

On 1/4/07, Mohamed Ahmed <[EMAIL PROTECTED]> wrote:

Hi,

Could someone tell me the following code is complete/correct?
Where is pkt defined?


According the version in my
$TOSROOT/apps/tutorials/BlinkToRadio/BlinkToRadioC.nc pkt is defined
on line 55. Just search for it.


implementation {

 uint16_t counter;
 message_t pkt;
 bool busy = FALSE;



Also btrpkt is not used after initializing its fields "nodeid" and
"counter".


You are correct. The btrpkt pointer is used to used access to the
nodeid and counter fields. Once they are updated you don't need to use
the pointer anymore. That's what this:

BlinkToRadioMsg* btrpkt = (BlinkToRadioMsg*)(call Packet.getPayload(&pkt, NULL))

is doing for you. The pkt is the packet you are sending. The payload
is where the BlinkToRadioMsg structure lives (for this message type).
By getting a pointer to the payload and casting it to a pointer to the
BlinkToRadioMsg struct you get a nice convenient way of modifying the
values of nodeid and counter.

Now in this line:

if (call AMSend.send(AM_BROADCAST_ADDR, &pkt, sizeof(BlinkToRadioMsg))
== SUCCESS) {

you send the pkt. The nodeid and counter values have been changed. So
you don't need the btrptk because it isn't the whole packet, just the
payload.

Generally, the tutorials are correct.

Cheers,
Chad


--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Time counting

2007-01-04 Thread Chad Metcalf

My apologies for the initial mis-send.

On 1/4/07, Michael Newman <[EMAIL PROTECTED]> wrote:

The first thing I did was to read the documentation.

The 2.0 Source code documentation link  on page
http://www.tinyos.net/tinyos-2.x/doc/ is broken, it points to
http://www.tinyos.net/tinyos-2.x/doc/html/nesdoc/ which gets a 404 error.
The 2.0 TEP is quite clear, I never got there. The 2.0 Tutorial and the
example code in Blink is wrong, leading you down the same path that I
followed.


The best documentation is the source code itself. Timer.h and Timer.nc
point to TEP 102 for additional details. As for the tutorial being
wrong, if you think so contact the author, explain your reasoning and
submit a patch. Its an open source effort. People should be happy that
people take time to get tutorials done in the first place.


I suggest having both interfaces, there is no cost in space or time it all
gets resolved at compile time. The following would be equivalent calls:

call Timer.startMS(TIMER_REPEAT,  1000);
call Timer.startBinaryMS(TIMER_REPEAT,  1024);

You can debate which way to implemented the current start interface, for
compatibility it should match startBinaryMS, to match the 1.1 documentation
and existing examples it should match startMS.

call Timer.start(TIMER_REPEAT,  1024);



This seems like it would create more confusion then it would solve.
Better to clarify the interface then to add convenience methods that
are more apt to cause bugs. From the TEP:

"All precisions presented in this TEP are in "binary" units with
respect to one second. That is, one second contains 1024 binary
milliseconds, 32768 32kHz ticks, or 1048576 microseconds."

So clarify the interface and don't stray. For those who can stand
binary time units...

#define MSTOBMS(x) ( (int) (x * 1.024))

Just my two cents...
Chad

--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Time counting

2007-01-04 Thread Chad Metcalf

On 1/4/07, Michael Newman <[EMAIL PROTECTED]> wrote:

The first thing I did was to read the documentation.

The 2.0 Source code documentation link  on page
http://www.tinyos.net/tinyos-2.x/doc/ is broken, it points to
http://www.tinyos.net/tinyos-2.x/doc/html/nesdoc/ which gets a 404 error.
The 2.0 TEP is quite clear, I never got there. The 2.0 Tutorial and the
example code in Blink is wrong, leading you down the same path that I
followed.



The best documentation is the source code itself. Timer.h and Timer.nc
point to TEP 102 for additional details. As for the tutorial being
wrong,


The 1.1 documentation leads you to the tutorial which is clear too, it does
not match the implementation. I only looked at the 1.1 documentation which
matches my environment.

I started on the web site, followed the links under documentation and the
TinyOS 1.1 link there:

http://www.tinyos.net/tinyos-1.x/doc/

There is no design document for timers (or link to the TEPs). From there I
went to the tutorial and examples which are VERY CLEAR and describe the
milliseconds as decimal time. They clearly describe one second as matching
1000 milliseconds with examples that show this correspondence.

Note that an interface which takes arguments in decimal milliseconds can
easily be presented against the existing back end. Rounding or truncation
error will occur when the decimal arguments have no exact representation in
binary milliseconds.

I suggest having both interfaces, there is no cost in space or time it all
gets resolved at compile time. The following would be equivalent calls:

call Timer.startMS(TIMER_REPEAT,  1000);
call Timer.startBinaryMS(TIMER_REPEAT,  1024);

You can debate which way to implemented the current start interface, for
compatibility it should match startBinaryMS, to match the 1.1 documentation
and existing examples it should match startMS.

call Timer.start(TIMER_REPEAT,  1024);


DOCUMENTATION BUG: The link to TEP 102 on the bottom of the page:
http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson2.html goes to TEP
107.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] make mica2 sim

2007-01-02 Thread Chad Metcalf

Tossim on TinyOS 2 currently only supports MicaZ.

Chad

On 1/2/07, Kamal Gakhar <[EMAIL PROTECTED]> wrote:

Hi,
I just wonder if the same problem still persists for TinyOS-2 as discussed
concerning "mica2" on "sim"
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006-September/019347.html

OR is it my system only..?,

Best,

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Problem with tossim

2006-12-25 Thread Chad Metcalf

This is a python problem. Either you don't have the python development
packages or it can't find them. I'd bet on the first problem. You
probably can find an answer just looking back in this list a bit.

Cheers
Chad

On 12/25/06, Mohamed Ahmed <[EMAIL PROTECTED]> wrote:

Hi,

After I run "make micaz sim", I got the following errors:
-
build/micaz/pytossim.o(.text+0x9a8):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:812: undefined reference to `__imp__PyExc_IOError'
build/micaz/pytossim.o(.text+0x9b4):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:815: undefined reference to `__imp__PyExc_RuntimeError'
build/micaz/pytossim.o(.text+0x9c0):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:818: undefined reference to `__imp__PyExc_IndexError'
build/micaz/pytossim.o(.text+0x9cc):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:821: undefined reference to `__imp__PyExc_TypeError'
build/micaz/pytossim.o(.text+0x9d8):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:824: undefined reference to
`__imp__PyExc_ZeroDivisionError'
build/micaz/pytossim.o(.text+0x9e4):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:827: undefined reference to `__imp__PyExc_OverflowError'
build/micaz/pytossim.o(.text+0x9f0):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:830: undefined reference to `__imp__PyExc_SyntaxError'
build/micaz/pytossim.o(.text+0x9fc):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:833: undefined reference to `__imp__PyExc_ValueError'
build/micaz/pytossim.o(.text+0xa08):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:836: undefined reference to `__imp__PyExc_SystemError'
build/micaz/pytossim.o(.text+0xa14):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:839: undefined reference to `__imp__PyExc_AttributeError'
build/micaz/pytossim.o(.text+0xa20):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:842: undefined reference to `__imp__PyExc_RuntimeError'
-

By looking at the file "tossim_wrap.cxx", these "undefined" have different
names,
such as "PyExc_IOError" instead of "__imp__PyExc_IOError".

Did anyone encounter this problem? If so, how was it solved?

Thanks,
Mohamed

Mohamed Ahmed <[EMAIL PROTECTED]> wrote:
Date: Mon, 25 Dec 2006 12:30:11 -0800 (PST)
From: Mohamed Ahmed <[EMAIL PROTECTED]>
Subject: Problem with tossim
To: [EMAIL PROTECTED]



undefined reference to `_PyInstance_NewRaw'
undefined reference to `_PyDict_New'
undefined reference to `_PyDict_SetItem'
undefined reference to `_PyObject_GetAttrString'
undefined reference to `_PyDict_SetItem'
...

Can anyone help me how to solve it?
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


 __
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] TOSSIM and TinyViz

2006-12-02 Thread Chad Metcalf

You'll find the patch on
http://www.5secondfuse.com/tinyos/oldInstall.com under the Compile
Java Tools section.

Chad

On 12/2/06, Bernd-Christian Renner <[EMAIL PROTECTED]> wrote:

Hey list,

I justed fixed the problem myself. In case anybody else is interested. Just
look out for "tinyos-sim-Makefile.patch" and copy it to $TOSROOT. Do
a "patch -p0 tinyos-sim-Makefile.patch" there and finally make the java tools
again. That solved the problem for me.


Christian
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Tinyos 2.0 no tar.gz packages anymore?

2006-11-28 Thread Chad Metcalf

I haven't seen any tgz. But you can always rip open the rpms. There
are a number of tools like 7zip which will do it. Its how I used to
install Boomerang by hand.

7z x tinyos-moteiv-2.0.1-1.cygwin.noarch.rpm
7z x tinyos-moteiv-2.0.1-1.cygwin.noarch.cpio.gz
7z x tinyos-moteiv-2.0.1-1.cygwin.noarch.cpio

You'll get all the files in your current directory which you can then
move around to your hearts content.

Chad

On 11/28/06, Aurélien Francillon <[EMAIL PROTECTED]> wrote:

Hi,
I like to install tinyos from tar.gz / source packages but it seems that
tar.gz packages aren't provided anymore ?

before 2.0.0 release in
http://www.tinyos.net/dist-2.0.0/tinyos/source/
we could find the source/tar.gz  packages as :
tinyos-tools-1.2.0.tar.gzthe tools
tinyos-2.0.0beta2.tar.gztinyos source tree / apps and support directory

but unfortunately they are out of date wrt binary/rpm ones :
in  http://www.tinyos.net/dist-2.0.0/tinyos/linux/
we can find rpm's for tinyos-2.0.0

tinyos-tools-1.2.3-1.i386.rpm
tinyos-2.0.0-3.noarch.rpm


Is there a plan to still provide the tar.gz and/or source packages or is it
now unsupported ?
Should i forget about them and get source from the (unreliable) sourceforge
anonymous cvs on tinyos-2-0-0-release  branch instead ?

thanks in advance
Aurélien


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




--
Chad @ Home

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] ubuntu

2006-11-27 Thread Chad Metcalf

http://www.5secondfuse.com/tinyos/install.html

It includes the minimum set of packages needed to develop with T2 with Ubuntu.

Chad

On 11/27/06, fatima cabot <[EMAIL PROTECTED]> wrote:

hi all

If anyone can help me, I would like to know which are the minimun
requirements to use the Ubuntu desktop and gtk (as a developer).

Would you recommend a different o.s. in order to work with tinyos 2?

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] no /tinyos-2.x/tools directory

2006-11-23 Thread Chad Metcalf

The tools directory only comes when you check out the source from CVS.
The rpm won't have it. You don't need it since you have the
compiled/installed versions of all the tools via the rpm.

Cheers,
Chad

On 11/23/06, Jim Wei <[EMAIL PROTECTED]> wrote:


The tutorial Lesson 1 for TinyOS2.0 suggests that there is a
/tinyos-2.x/tools directory but I am only able to see /tinyos-2.x/tos,
/tinyos-2.x/support and /tinyos-2.x/apps.  I followed instructions for
installing TinyOS2.0 and installed all the TinyOS tools
(tinyos-tools-1.2.3-1.cygwin.i386.rpm was installed).  Am I
missing something?  Thanks.
Jim
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Newbie: setting up devenv

2006-11-22 Thread Chad Metcalf

The Tmotes (or telosb from other companies) are the fastest and
easiest way to start (IMHO).

Each board is its own programmer. That's why they've got USB
connectors. Each can be flashed to be a base station. Or you can write
a base station that forwards traffic over the USB and takes its own
sensor readings.

You don't need anything more then a couple USB cables and Tmotes.

Of course I also use gvim and hate emacs with a passion. Linux rather
then Windows. Python rather then Perl. C++ rather then Java.

Chad

On 11/22/06, Michael Schippling <[EMAIL PROTECTED]> wrote:

Well...given that I was wrong about the entry fee...
$800 doesn't seem right for the intro-mica2 kit but
if that's what they say, there you have it...
Wait, I just figured out how to get the prices online
and it doesn't make any sense...maybe someone from
XBOW reads this stuff and can comment:
The MOTE-KIT4x0 starter kit @ $795, contains:
 3x mica2  @ $125   -- $375(the mote boards)
 2x MTS300 @ $120   --  240(temp/light sensors but mostly useless)
 1x MIB510 @  $95--   95(programmer/base station)
Which comes to a grand total of...$710...
Ok, you get prints of a couple online manuals too.
And maybe they no longer supply the antennas with the motes,
the danged connector is about $5 in onesies and nearly impossible
to assemble. So add $10 and copy charges...what's the other $75 cover?

Anyway...to get started with remote sensing...

You need two motes, one with some kind of sensors -- the mica's
have a battery voltage "sensor" onboard, and three LEDs to flash --
and a programmer/base-station to connect to your "real" computer.
The mica 52 pin connector is nearly impossible to use (it's a SMT
connector made for inter-board, not human use -- I made a breakout
board for it so I could use regular .1" ribbon cable. I have a
couple spares...). Otherwise it's a "no-brainer" to connect simple
analog or binary I/O devices.

I haven't used, or even seen, the tmotes. Maybe they are more
economical, but I assume that they require some kind of base-
station as well.

The couple day learning curve is to laugh however...
Just getting the hardware connected, software loaded, and over
the paradigm shift will take at least that. The tutorial is
quite good, but there are constant questions about what didn't
work on this list so it takes some time. I spent about 2 months
(very part-time) in the WTF phase, but that was somewhat before
everything actually worked as described. Kit or no it'll probably
take a while to get going (I've done sporadic embedded work for 25yrs
and it still took a while to figure out what they were getting at.
Perhaps I had too many preconceptions...)

good luck Mr. Phelps.
MS




Ted Carter wrote:
> Inline...
>
>  > Check on the Xbow starter kits too, I can't find the prices
>  > but I think the mica2 one is in the $300 range:
>  > http://xbow.com/Products/productsdetails.aspx?sid=67
>  > I'm probably wrong about the price...
>
> Are starter kits worth the money?  $800 is pretty steep for entry.  If I
> purchase a couple of motes (Sky or TelosB) I can get in around the $300
> mark with a sensor package.  Can I expect to be up and running in a
> couple of days if I spam the list and RTFM?  Or is there some good
> valuable stuff in a kit that's going to accelerate my ramp time?
>
> Regards, Ted.
>
>
> 
> Be one of the first to try Windows Live Mail.
> 





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Newbie: setting up devenv

2006-11-22 Thread Chad Metcalf

You'll be good to go with the Tmotes. Between the docs you can get
from them and RTFM at www.tinyos.net you'll be fine.

Chad

On 11/22/06, Ted Carter <[EMAIL PROTECTED]> wrote:


Inline...

> Check on the Xbow starter kits too, I can't find the prices
> but I think the mica2 one is in the $300 range:
> http://xbow.com/Products/productsdetails.aspx?sid=67
> I'm probably wrong about the price...

Are starter kits worth the money?  $800 is pretty steep for entry.  If I
purchase a couple of motes (Sky or TelosB) I can get in around the $300 mark
with a sensor package.  Can I expect to be up and running in a couple of
days if I spam the list and RTFM?  Or is there some good valuable stuff in a
kit that's going to accelerate my ramp time?

Regards, Ted.



Be one of the first to try Windows Live Mail.



--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Newbie: setting up devenv

2006-11-22 Thread Chad Metcalf

Sure you can start with TOSSIM, its cheap. But not terribly exciting
to watch. For 260 bucks you can get 2 Tmote Sky's
http://www.moteiv.com/xcart/product.php?productid=2. For another 100
bucks you can get sensors on your Tmotes. That's a little more
exciting. Blinking lights are always nice.

Between TOSSIM and 2 nodes you can play around. Then potentially you
could get access to one of the testbeds and try larger deployments.

95% of my work is on 10 nodes before it moves to 52 nodes. With heavy
TOSSIM 2 in there to boot. So you certainly don't need a large number
to play.

Cheers
Chad

On 11/22/06, Ted Carter <[EMAIL PROTECTED]> wrote:


Apologize for the newbie spam.

I'm just starting to get my feet wet with TinyOS.  I've read the FAQ and the
hardware page and I thought I'd solicit advice from the list before
proceeding.  My goal is to start experimenting  (build/debug) with nesC and
TinyOS.  I'd like to get some physical hardware (motes), but I'm on a
limited budget, since this is one of my garage projects.  With a $300 budget
and a cygwin box, what's the most straight forward platform to start out
with?  Is TOSSIM considered a good place to start, or is $300 going to save
me some time?

Regards, Ted.



Be one of the first to try Windows Live Mail. Windows Live Mail.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] TOSSIM not working for TinyOS 2.x

2006-10-15 Thread Chad Metcalf
The linker can't find your python library. You'll need to add -lpython and potentially a -L/where/ever/your/python/library/is My setup would look something like -lpython2.4 -L/usr/lib/Chad
On 15 Oct 2006 08:03:06 -, Sai  Krishna M <[EMAIL PROTECTED]> wrote:

  
I'm trying to compile Blink to TOSSIm on 2.x, but the compilation is not going through.

Message --

cxx:3424: undefined reference to `_PyModule_GetDict'
collect2: ld returned 1 exit status
make: *** [sim-exe] Error 1
Anybody has ideas why??

Also, does TOSSIM only has simulations of micaz components? What about other platforms? Pls let me know..

Thanks..





___Tinyos-help mailing listTinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
-- Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Problems Compiling on Fedora Core 4 Related to offsetof()

2006-09-26 Thread Chad Metcalf

Patch files are applied thusly:

patch -p0 < tinyos.patch

You need to be in the top level directory and it assumes the patch was
made there. Otherwise you might need to alter the -p option. I seem to
recall that patch was a -p1 but I don't recall.

But you might be able to use a newer version of nesc which doesn't
need the patch. The latest and greatest works for me for my TinyOS 1.x
work. But I can't comment on 1.1.10.

Chad

On 9/26/06, Jason Hemann <[EMAIL PROTECTED]> wrote:

Dear TinyOSers,

 I am trying to compile TinyOS 1.1.0 on Fedora Core 4, and ran into a
problem that many others have had relating to offsetof().

 When I try to compile, I get 4 error messages of the sort
 /opt/tinyos-1.x/tos/types/AM.h:157: parse error before `struct'
 As I understand the problem, the offsetof() macro has been changed since
Linux kernel 2.6.9. Instead of using a generic method, it is now replaced by
a compiler specific function __builtin_offsetof() which is not recognitized
by nesc.

 I have found the patch located in the message
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2005-September/012275.html

 But do not know how or where to install the patch. If someone could give
further instructions for installing this patch, replacing my old version of
gcc, or any other way to solve this problem,  I would be ever so
appreciative.

 Thank you,
 Jason Hemann


Jason Hemann
One Trinity Place # 663
San Antonio, Texas 78212
713 702 7524

 
How low will we go? Check out Yahoo! Messenger's low PC-to-Phone call rates.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] netbsl for TinyOS-2.x

2006-09-16 Thread Chad Metcalf

Does anyone have netbsl working for TinyOS 2.x? I tried to modify the
script and .extra out of 1.x and Boomerang but I seem to be stumped.
I'm not getting any errors but the programming isn't going through.

I can ping my Tmote Connect. netcat is installed and working. I'm not
sure where else to look for problems.

Thanks
Chad

--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Question about Telosb/Tmote support for TOSSIM v2

2006-07-21 Thread Chad Metcalf

Has anyone started writing the sim components for telosb so that they
can be simulated under TOSSIM v2? If so is it close to completion?

I remember talking to someone about this awhile ago and got the
impression it wasn't started and wouldn't be for awhile.

Thanks
Chad

--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] FTDI support under Ubuntu

2006-07-19 Thread Chad Metcalf

Ubuntu has always worked fine on my hardware (Dell workstations and
laptops). Both in Badger and Drake. I've never had to do anything
special.

Are you using a PowerBook with Ubuntu?

If you find out something let me know and I'll add it to my Ubuntu
installation instructions.

Chad

On 7/19/06, Philip Levis <[EMAIL PROTECTED]> wrote:

On Jul 19, 2006, at 10:49 AM, Cory Sharp wrote:

> After plugging in a Tmote/TelosB, run "lsmod" to see if the ftdi_sio
> driver is being loaded.  If it is, and you're just not getting the
> device nodes created automatically, Shawn Schaffert has some
> suggestions from a while back that have been incorporated into the
> Tmote Sky Linux Manual Installation page.  See the section "Device
> Nodes"

When I insert the node, the kernel doesn't automatically install the
ftdi_sio module; I therefore installed in manually with insmod. I
don't even get an entry in /dev/usb. I had one fun experience of
thinking the hiddev entry might be the mote, messing with it, then
watching by USB keyboard and mouse freak out. Oh well.

It basically looks like the kernel is not recognizing the Telos as an
FTDI device. I've tried Berkeley, Crossbow, and Moteiv motes. It's
always worked fine with every other Linux distro I've used, so I
think it's something up with Ubuntu and its configuration. If I get
time I'll dig deeper.

Phil




___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




--
Chad @ Home
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] TinyOS on OS X

2006-05-03 Thread Chad Metcalf

Just to add into the mix this what I (and others at Mines) have done
differently to get things working with Tmote Sky's on Mac.

- Get the javax.comm files from here
https://prdownloads.sourceforge.net/jmri/JavaCommInstaller2.hqx?use_mirror=easynews

- Build java tools
 * $ cd $TOSROOT/tools/java/jni
 * $ cc -bundle
"-I/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Headers"
-o libgetenv.jnilib -framework JavaVM net_tinyos_util_Env.c
 * $ sudo cp libgetenv.jnilib
/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/.
 * $ cd $TOSROOT/tools/java
 * # Edit Makefile so it looks like this
 * $ cat Makefile

# Top-level Makefile for tools/java

SUBDIRS = org net #jni

#INSTALLDIRS = jni

ROOT = .
include $(ROOT)/Makefile.include

Cheers
Chad

On 5/3/06, Matt Welsh <[EMAIL PROTECTED]> wrote:

Folks,

I quickly threw together a web page with all the steps (I think!)
that I used to get TinyOS working on Mac OS X on Intel:

http://www.eecs.harvard.edu/~mdw/proj/tinyos-macos

This supports both programming motes and using serialforwarder
on Intel Macs. There are a few steps I am not 100% sure about,
so if you have any updates please let me know.

There are now at least three web pages for TinyOS on MacOS floating
around. I don't particularly want to maintain this and am happy to
use (e.g.,) the CENTS Wiki site instead once I get access to it.
But for now, this is what I have figured out in case you find it useful.

Ideally we could get support for MacOS into the next TinyOS and NesC
revision so these pages will be obsolete.

Thanks for all of your input and help.

Matt





___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] tinyOS under debian/ubuntu

2006-03-02 Thread Chad Metcalf
I've got a Ubuntu specific howto at
http://www.chadmetcalf.com/tinyos-1x-on-ubuntu/

I builds on these links and adds a few bits I needed to do for things
to work on Ubuntu.

Cheers
Chad

On 3/2/06, Markus Becker <[EMAIL PROTECTED]> wrote:
>
> There are various guides out there on the internet about
> debian/tinyos. They all differ in a way depending on for which platform
> you want to develop for, as for the Telos Motes you do not need the avr
> packages, but the msp packages.
>
> Some of the links:
> http://www.moteiv.com/community/Tmote_Linux_install
> https://www.comnets.uni-bremen.de/typo3site/index.php?id=48
> http://www.eecs.harvard.edu/~mainland/tinyos/
>
> See especially the  External Guides and References Sections.
>
> BR,
> Markus
>
> On Thu, 2 Mar 2006, Roberto wrote:
>
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > can any one tell me if can I install tinyOS on ubuntu/debian?
> > I read that the distribution is an rpm for redhat but I would like to
> > use tinyos under debian.
> >
> > thank you
> >
> > -BEGIN PGP SIGNATURE-
> > Version: GnuPG v1.4.1 (GNU/Linux)
> > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> >
> > iD8DBQFEBrd6rt4NkCCuMLkRAtTWAJ9ajPk0SIniA/oXO1raQzOn+0634wCgmFqQ
> > +rFgGuo30JqBNYzJu5dISwI=
> > =mGej
> > -END PGP SIGNATURE-
> >
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@Millennium.Berkeley.EDU
> > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] TinyOS 2.0 and TOSSIM

2006-02-16 Thread Chad Metcalf
I've started playing with TinyOS 2.0 and got everything up and running
on Ubuntu (sort of). I did a manual of TinyOS 1.x install so keeping
backwards compatibility on a Debian based system required some effort. 

Some things are broken like the top level Makefile for the apps. I
might have caused this with my rpm2tgz variety install (yes I know
alien but I didn't want the default installation directories of /usr
and /opt). But it seems the apps themselves are fine and its probably
the special version of make that I don't have.

I do have several questions. 

Anyone else using a non-rpm Linux based system to work with 2.0? And if so what work arounds have you found yourself needing?

Is there any documentation on the 2.0 version of TOSSIM? I'm guessing
"make null sim" is the equivalent of "make pc sim" and I've found the
two examples in $TOSDIR/lib/tossim/examples but I'm lost now.  I
found http://www.tinyos.net/dist-2.0.0/tinyos-2.0.0beta1/doc/ but
TOSSIM isn't part of it.

Thanks
Chad
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] OscilloscopeRf

2006-02-08 Thread Chad Metcalf
Try zooming out?http://www.tinyos.net/nest/doc/tutorial/lesson5.htmlSlightly outdated but probably of use.
On 2/8/06, Colin Couper <[EMAIL PROTECTED]> wrote:
I have managed to get this working but I get no data displaying on theGUI. I'm using telos sky motes.I feel the level may be too high but I can't figure out how to fix it!Appreciate any help!___
Tinyos-help mailing listTinyos-help@Millennium.Berkeley.EDUhttps://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help