Re: [Tinyos-help] upgrading code from tinyos1.x - 2.x

2008-09-05 Thread Pratibha S
Hi, The code has been upgraded. The tinyos 2.x nesc doc and the following links helped in the upgrade. http://www.tinyos.net/tinyos-2.x/doc/html/porting.html http://enl.usc.edu/~jpaek/porting_tinyos_1_to_2.html Thanks, Pratibha ___ Tinyos-help mailing

[Tinyos-help] CTP TEP 123

2008-09-05 Thread Nahr ...
Hi! As it is mentionned in tep 123 CTP is designed for relatively low traffic rates? First question: data rate isn't it? Second why ? which are the restrictions that cause that ? Thanks, ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.

[Tinyos-help] Re : LQI measurments with Tmote-Sky sensor?

2008-09-05 Thread rahim_net
- Message d'origine De : Philip Levis <[EMAIL PROTECTED]> À : [EMAIL PROTECTED] Cc : tinyos-help@millennium.berkeley.edu Envoyé le : Vendredi, 5 Septembre 2008, 4h05mn 28s Objet : Re: [Tinyos-help] LQI measurments with Tmote-Sky sensor? On Sep 4, 2008, at 9:45 AM, <[EMAIL PROTECTED]> <[E

[Tinyos-help] CC2420ActiveMessageC and CC2420CsmaC dependency loop?

2008-09-05 Thread Philipp Küderli
Hi, I am confused about the wiring of these two components. CC2420ActiveMessageC uses CC2420CsmaC and CC2420CsmaC uses CC2420ActiveMessageC I wonder how this fits into the network layer architecture? I mean the second case for me means that a lower network protocol makes use of an upper one.

[Tinyos-help] DSN sequence number in cc2420_header_t

2008-09-05 Thread Philipp Küderli
Hello, we have the radio stack where we have the UniqueSend component. This uses the DSN field. Now what if I renounce on the uniqueness? The field DNS is most likely still sent inside the header. So why this layer structure of the radio stack if the message formats are not layered? Actually I

[Tinyos-help] Incorporating Additional Modules into TinyOS

2008-09-05 Thread Jim Fell
Hello. I have an additional module (.extra?) that I would like to incorporate into my TinyOS build. How is this done? Is there something I need to add to the Makefile? Thanks, -Jim ___ Tinyos-help mailing list Tinyos-help@millennium.berk

[Tinyos-help] Programming micaz using MoteConfig problem

2008-09-05 Thread nartessos
Goodmorning I installed moteconfig on XP. I try to program my micaz (mib520 interface board) when I click on "program" to inject the code nothing is appening just a wait mouse cursor. When I change the com port I have the following message : "Can not connect to Mote correctly. Please check yo

Re: [Tinyos-help] potential micaz flash issues

2008-09-05 Thread Janos Sallai
A fix has been posted to the list: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2008-January/030255.html Most probably, the micazs you have come with the same revision of the at45db chip as the iris motes. Using the files from tinyos-2.x\tos\platforms\iris\chips\at45db might work, a

Re: [Tinyos-help] TOSSIM : simulate a base station / running BaseStation*.nc

2008-09-05 Thread De-MonHell
On Friday 05 September 2008 18:35:14 you wrote: > Tanks for you answer. > If i had understand it I can simulate a base station with tossim!!? > > I 've written a application in which N sensors send messages to > a base station. But my base station is a sensor with a particular > node id and which d

[Tinyos-help] 802.15.4 TinyOS Qs

2008-09-05 Thread Jim Fell
Hello. On lines 45 through 59 of .../tinyos-2.x/tos/chips/cc2420/CC2420.h the CC2420 header is specified: typedef nx_struct cc2420_header_t { nxle_uint8_t length; nxle_uint16_t fcf; // Frame Control (Field) nxle_uint8_t dsn; nxle_uint16_t destpan; // Destination PAN ID nxl

Re: [Tinyos-help] 802.15.4 TinyOS Qs

2008-09-05 Thread David Moss
Length = length of the header + payload of the packet, minus the size of the length byte itself (1). This is what allows for variable length packets. DSN = Data Sequence Number, a number incremented for each packet sent by a particular node. This is used in acknowledging that packet, and also

Re: [Tinyos-help] TOSSIM : simulate a base station / running BaseStation*.nc

2008-09-05 Thread De-MonHell
i forgot to say that after composing the 2 apps together you must run a simulation using this mixapp for your nodes. (the logic in MixC will ensure that you'll run only one base station and n sensor) On Friday 05 September 2008 18:35:14 you wrote: > Tanks for you answer. > If i had understand it

Re: [Tinyos-help] Incorporating Additional Modules into TinyOS

2008-09-05 Thread Michael Schippling
If it's named yadyayda.nc in any directory that is searched during compile (the main app or try a PFLAGS++-v to see them all), and somehow referenced from the top config file it'll get included. If it's external 'C' code search this list for ways to include it. MS Jim Fell wrote: > Hello. I ha

Re: [Tinyos-help] IPV6 listener problem ./bootstrap does not work

2008-09-05 Thread Andrey Gursky
Antonio, try to install autoconf and automake packages. Best regards Andrey antonio gonga wrote: > Hey all, > I tried to compile the listener in order to generate the libmote.a, but what > i get is: > ./bootstrap: line 2: aclocal: command not found > ./bootstrap: line 3: autoheader: command n

Re: [Tinyos-help] CTP TEP 123

2008-09-05 Thread Philip Levis
On Sep 5, 2008, at 3:12 AM, Nahr ... wrote: > Hi! > As it is mentionned in tep 123 CTP is designed for relatively low > traffic rates? > > First question: data rate isn't it? > Data says something about the contents of packets. E.g., one could imagine sending CTP packets with no payload as he

Re: [Tinyos-help] help-tossim module

2008-09-05 Thread Paul Stickney
"make micaz sim" TOSSIM.py is generated when you build the application for Tossim/T2. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] tos-set-symbols

2008-09-05 Thread Paul Stickney
I swear I answered this exact same question before; is the question homework for a class? tos-set-symbols can only list/set symbols which, well, reside in the symbol table. enum{ symbol_1=1, symbol_2=2 }; -- Nope, enums are compile-time constructs. The names never make it into the b

Re: [Tinyos-help] TinyOS Question

2008-09-05 Thread Paul Stickney
nesC (.nc) files are just text. I would recommend using to edit the files and using the provided/standard make support to build the TinyOS code. This approach can be used for any of the distributed applications without the use of Eclipse or a specific plug-in. After understanding how the basic, we

Re: [Tinyos-help] TOSSIM : simulate a base station / running BaseStation*.nc

2008-09-05 Thread Paul Stickney
To communicate between a "BaseStation" and an external application, look at Tossim Live by Chad Metcalf (this is distributed as "sim-sf" in TinyOS 2.1 and later versions o the TinyOS 2.0.2 CVS, but not the original 2.0.2 package). It provides an SerialActiveMessageC(mote)<->SF(simulation<->applicat

Re: [Tinyos-help] upgrading code from tinyos1.x - 2.x

2008-09-05 Thread Paul Stickney
Make sure all required hardware support exists in TinyOS 2.x. Otherwise, enjoy the upgrade, 2.x is significantly better than 1.x, see: http://enl.usc.edu/~jpaek/porting_tinyos_1_to_2.html for some useful tips. In short, just read up on T2, analyze the differences in components and approaches (rea

Re: [Tinyos-help] TinyOS Help

2008-09-05 Thread Paul Stickney
By default, very simple ones (although there are extensions for threading or adding priorities and the like). Very grossly speaking, TinyOS is a loop that executes tasks, posted on a queue, that can only be interrupted only be interrupts (such as hardware timers). If there are no tasks, TinyOS can

Re: [Tinyos-help] DAC TinyOS-2.x

2008-09-05 Thread Paul Stickney
(Request entirely too unclear: any "DAC"? The XYZ DAC on Q? Just talking about the ADC interface or...?) TinyOS 2.x uses the Read and ReadStream (??) interfaces. Hardware modules should provide these. HTH, Paul ___ Tinyos-help mailing list Tinyos-help@m

Re: [Tinyos-help] Help with a program please!

2008-09-05 Thread Paul Stickney
Compare both lines mentioned (error and source). Hint: use different names, if they are truly different. Otherwise, use the same-same. HTH, Paul ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/

[Tinyos-help] Installing a nesC compiler

2008-09-05 Thread kfullert
I just installed Kubuntu (the newest version) on my laptop, and now I'm trying to install a nesC compiler onto it. I've used Linux before, but I wouldn't say I'm proficient at it. First, I tried searching in the Adept Package Manager for anything to do with tinyos or nesc, but there wasn'

[Tinyos-help] msp430 warning

2008-09-05 Thread Antonio
Hi All, Compiling my application, I have a strange warning: /opt/tinyos-2.x/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:66:2: warning: #warning Accessing TimerA for ADC12 This is the only warning/error I have. Have you any suggestions? I'm using TinyOS 2.1, and with the previous version I

Re: [Tinyos-help] Installing a nesC compiler

2008-09-05 Thread Eric Decker
you want to use hardy. In my /etc/apt/sources.list I have the following line: deb http://tinyos.stanford.edu/tinyos/dists/ubuntu hardy main Give that a try. eric On Fri, Sep 5, 2008 at 11:58 AM, <[EMAIL PROTECTED]> wrote: > I just installed Kubuntu (the newest version) on my laptop, and now >

Re: [Tinyos-help] msp430 warning

2008-09-05 Thread Eric Decker
In the main tinyos 2.1 tree: ./tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:66:#warning Accessing TimerA for ADC12 The intent is to warn you that TimerA is being used by the Adc12 module mentioned. It is just giving you a heads up in case you want to use TimerA for something else too. Do you know

Re: [Tinyos-help] 802.15.4 TinyOS Qs

2008-09-05 Thread Eric Decker
A suggestion: Can someone with write access to the tree add some comments to this effect to the source code? eric On Fri, Sep 5, 2008 at 8:55 AM, David Moss <[EMAIL PROTECTED]> wrote: > Length = length of the header + payload of the packet, minus the size of > the length byte itself (1). This

Re: [Tinyos-help] Installing a nesC compiler

2008-09-05 Thread Kevin Klues
These instructions are out of date. Please follow instructions from the official TinyOS documentation wiki. http://docs.tinyos.net/index.php/Main_Page Kevin On Fri, Sep 5, 2008 at 11:58 AM, <[EMAIL PROTECTED]> wrote: > I just installed Kubuntu (the newest version) on my laptop, and now > I'm t

Re: [Tinyos-help] 802.15.4 TinyOS Qs

2008-09-05 Thread Philip Levis
On Sep 5, 2008, at 12:56 PM, Eric Decker wrote: > A suggestion: > > Can someone with write access to the tree add some comments to this > effect to the source code? > > eric > > > On Fri, Sep 5, 2008 at 8:55 AM, David Moss <[EMAIL PROTECTED]> wrote: > Length = length of the header + payload of

Re: [Tinyos-help] CTP TEP 123

2008-09-05 Thread Nahr ...
Thanks for the clarification professor! Nahr Elk 2008/9/5, Philip Levis <[EMAIL PROTECTED]>: > > > On Sep 5, 2008, at 3:12 AM, Nahr ... wrote: > > Hi! >> As it is mentionned in tep 123 CTP is designed for relatively low traffic >> rates? >> >> First question: data rate isn't it? >> >> Data says