[Tinyos-help] target makefile sim

2008-11-10 Thread Daniel Patrick
Hi All, When I type "make micaz sim", I'd like to add some #ifdefs in my code related to "sim". Is it possible? I've added my own defines and in the makefile I added CFLAGS += -DTOSSIM_DPP. But as this define is related to tossim, I think there is a define that I can use in my nesc code. Thanks a

[Tinyos-help] TinyOS 2.x for Tmote Invent

2008-11-10 Thread Tony O'Donovan
Hi, I was wondering if anyone has written drivers for the Tmote Invent sensors for TinyOS 2. The accelerometer is of particular interest... Thanks Tony ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.be

Re: [Tinyos-help] Using TimerA in ADC (msp430)

2008-11-10 Thread Jan Hauer
> So, if ADC12_TIMERA_ENABLED is set to false, is it possible to perform > multiple conversions? I understand that it won't be possible. If ADC12_TIMERA_ENABLED is undefined, then multiple conversions are possible only if the period is zero (then the ADC channel is sampled as fast as possible), e

Re: [Tinyos-help] TinyOS 2.x for Tmote Invent

2008-11-10 Thread Xavier Orduña
Look around this mailing list, someone has send them some months ago. If you don't find anything, I will try to find them somewhere in my harddisk. Xavi On Mon, Nov 10, 2008 at 2:51 PM, Tony O'Donovan <[EMAIL PROTECTED]> wrote: > Hi, > > I was wondering if anyone has written drivers for the Tmo

Re: [Tinyos-help] target makefile sim

2008-11-10 Thread Daniel Patrick
Hi All, I can use the TOSSIM define. It is working fine. Thanks all Daniel Patrick On Mon, Nov 10, 2008 at 9:23 AM, Daniel Patrick <[EMAIL PROTECTED]> wrote: > Hi All, > > When I type "make micaz sim", I'd like to add some #ifdefs in my code > related to "sim". Is it possible? > I've added my ow

Re: [Tinyos-help] RF230 Noise measure.

2008-11-10 Thread João Carlos Giacomin
.  Peng,    here, in Brazil, we use to say "the hole is deeper" (o buraco eh mais embaixo).    You have to read and understand the programs of radio control.    The radio communications use CSMA protocol. If a node wants to send message, it turns on the radio in RX mode and "hear"

Re: [Tinyos-help] RF230 Noise measure.

2008-11-10 Thread Miklos Maroti
Hi Peng, > but when I read RF230layerP I found that these two values only calculated > when there message is about to be transmitted, So it is not possible to > measure environment noise using this value. So is there some better way? That is correct. If you want to continuously measure the RSSI n

Re: [Tinyos-help] Help with Mate...

2008-11-10 Thread Philip Levis
On Nov 9, 2008, at 10:33 AM, Vijay ragavan wrote: > Please help me on this > > Hi I am trying to use Mate and I have got this basic error. Please > let me know how to go about this. > > [EMAIL PROTECTED]:/opt/tinyos-1.x/apps/BombillaTelosB$ java > net.tinyos.script.Scripter reboot reboot.t

Re: [Tinyos-help] Help with Mate...

2008-11-10 Thread Vijay ragavan
Thanks Phil, The output is Writing State ... and there was no error. But the code led(1) does not switch the led1 on. Where exactly is the state getting written to? Why wont this work? -Vijay On Mon, Nov 10, 2008 at 11:14 AM, Philip Levis <[EMAIL PROTECTED]> wrote: > On Nov 9, 2008, at 10:33 AM,

[Tinyos-help] about install under PN2

2008-11-10 Thread Yu Qun
hi everyone: I have install the coding sample in the PN2 successfully into the mote, why would I not see the syn data through the command under Cygwin except the information of gateway? Did you have encounted the same problem? Please give me some hints. Looking forward your warm reply, Thanks! S

[Tinyos-help] Energy costs of some operations

2008-11-10 Thread fhg07
Well, I am developing a sort of protocol, and then I would like to know about some energy costs, in order to implement it more effectively. When I read my power level through VoltageC.Read, do I spend much energy doing this? Secondly, is it a good idea to have a timer firing every 0,5 seconds, an

Re: [Tinyos-help] Using TimerA in ADC (msp430)

2008-11-10 Thread Xavier Orduña
Hi, Thanks for the explanation, So, if ADC12_TIMERA_ENABLED is set to false, is it possible to perform multiple conversions? I understand that it won't be possible. Thanks, Xavi On Sun, Nov 9, 2008 at 11:26 PM, Jan Hauer <[EMAIL PROTECTED]> wrote: > TimerA is used as clock source for the samp

Re: [Tinyos-help] AVR JTAG for ATMega128L (micaZ)

2008-11-10 Thread Andrey Gursky
Hi Carlos! I had short conversation here with Janos regarding debugging with JTAG: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2008-September/036088.html https://www.millennium.berkeley.edu/pipermail/tinyos-help/2008-October/036865.html You have luck, you use MicaZ, because JTAGICE

Re: [Tinyos-help] Dealing With Recieved Voice Packets.

2008-11-10 Thread Michael Schippling
I think the javax.sound package has classes for creating .wav format files and such. Or look at the JMF. I just googled "java .wav" and found this for playing .wav files: http://personalwebs.coloradocollege.edu/~jbredin/java/examples/playwav.html MS Mosab I. Messad wrote: > Hello eveybody, > hope

[Tinyos-help] tmote sky interface ADC

2008-11-10 Thread Gang Lu
Hi, What is the range of input of ADC on tmote sky? Is it 0~2.5v or 0~5v? ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] tmote sky interface ADC

2008-11-10 Thread renjie huang
Hi You may try the tinyos search engine http://www.google.com/coop/cse?cx=000490616372089452102%3Ajdf9nzpy7se On Mon, Nov 10, 2008 at 12:33 PM, Gang Lu <[EMAIL PROTECTED]> wrote: > Hi, > > What is the range of input of ADC on tmote sky? Is it 0~2.5v or 0~5v? > > _

[Tinyos-help] Example TinyOS 2.x app with multiple packet types

2008-11-10 Thread Matt Keally
Hi, I wish to have two types of packets for communication in my application: control packets sent from a base station and sensor data packets returned from the nodes. Each has a different nx_struct. Is there an example application (I can't seem to find one) that makes use of this scheme? It see

[Tinyos-help] DVFS Imote2

2008-11-10 Thread Bo Zhang
Hi. I hope to know if TinyOS 2.x supports DVFS capability of Imote2. Thanks Bo ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] RF230 Noise measure.

2008-11-10 Thread Miklos Maroti
> What do you mean by RF230 stack, is it RF230LayP? No. I meant all files in the chips/rf230 directory. You can turn all tasklets into either tasks or asynchronous events executed in interrupt context. Miklos > > Thanks > Peng > > On Mon, Nov 10, 2008 at 3:38 AM, Miklos Maroti <[EMAIL PROTECTED]

Re: [Tinyos-help] Example TinyOS 2.x app with multiple packet types

2008-11-10 Thread Omprakash Gnawali
On Mon, Nov 10, 2008 at 1:36 PM, Matt Keally <[EMAIL PROTECTED]> wrote: > Hi, > > I wish to have two types of packets for communication in my application: > control packets sent from a base station and sensor data packets returned > from the nodes. Each has a different nx_struct. Is there an exam

[Tinyos-help] UPMA Problem

2008-11-10 Thread CIS Project - S. Khan
I am trying to compile UPMA in tinyos-2.x (. Kevin Kleus and others). When I try to compile TestBMac I get SendingAppC.nc:37: component MacControlC not found Will appreciate any guidance. Thanks SK___ Tinyos-help mailing list Tinyos-help@millenni

[Tinyos-help] Bytecode in TinyOS 2.x

2008-11-10 Thread Alex Araújo
Hei guys! is there someway of generate bytecode in tinyos 2.x? I saw that tinyos 1 has the Scripter and Bombilla to generate and run bytecode, but i didnt see anything to tinyos 2.x. Thanks in advance, Alex. ___ Tinyos-help mailing list Tinyos-help@mil

[Tinyos-help] T2 program

2008-11-10 Thread CIS Project - S. Khan
I am using tinyos-2.x, and I want to modify a folder in tos/lib. I have copied the relevant .nc file to my_program folder and made the changes. How can I get T2 to look at my_program folder instead of the tos/lib folder when compiling - I need to know what the Makefile should say. Thanks SK

Re: [Tinyos-help] T2 program

2008-11-10 Thread Kaisen Lin
The quick and dirty way is to rename the relevant directory and create a new one as a symlink to your version. Then you don't have to deal with Makefile at all. Otherwise, you can use: CFLAGS += -I/Your/Directory but you'll need to make sure it appears before the default one during your compil

Re: [Tinyos-help] T2 program

2008-11-10 Thread Philip Levis
On Nov 10, 2008, at 8:04 PM, CIS Project - S. Khan wrote: > I am using tinyos-2.x, and I want to modify a folder in tos/lib. I > have copied the relevant .nc file to my_program folder and made the > changes. How can I get T2 to look at my_program folder instead of > the tos/lib folder when