[Tinyos-help] Time synchronization for Tmote Sky

2007-06-18 Thread manu suryavansh
Hi, I there any example of time synchronization with multihop for tmote sky. I have 25 tmote sky systems connected to pressure sensors and I want to synchronize the sampling of the sensors. Thank you Manu Suryavansh - Expecting? Get great news right away with

[Tinyos-help] tinyOS-1.x_ADCControl_Interface

2007-06-18 Thread antonio gonga
Hey All,According to my findings in the tinyos-1.x/tos/interfaces directory, and after reading the ADCControl interface I have some doubts that I expect you can help me to make me clear.I need to sample a microphone with a Sampling rate over 64Kbps, because I need to playback the audio samples,

Re: [Tinyos-help] TOSSIM Tutorial Questions

2007-06-18 Thread Philip Levis
On Jun 16, 2007, at 7:33 PM, Tal Rusak wrote: I have read the TOSSIM tutorial at http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson11.html As I followed the tutorial, I encountered the following issues when using TinyOS 2.0.1: 1) For some reason, the result of the comman

Re: [Tinyos-help] Problems with Moteview 1.4 and MEP-SYS of CrossbowInc.

2007-06-18 Thread Juan Antonio López Riquelme
Hello Giri, more thank for your reply. Best regards, Juan Antonio. 2007/6/18, Giri Baleri <[EMAIL PROTECTED]>: Hello Juan, The MEP nodes in the MEP-SYS are programmed with XMesh 1.2 firmware and the low power version of this app doesn't support the commands (eg. change data rates). You nee

RE: [Tinyos-help] CC2420 lossy module in TOSSIM

2007-06-18 Thread Adam
Hi Alexander, Can you please send detailed instructions of using lossy model with CC2420 in TOSSIM? We digged the source code and it seems like there is no entry to read a nss file. Are there any amendaments which I do not know? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[Tinyos-help] tmote delta app w/ interrupt

2007-06-18 Thread bedesign
Hi All, I'm running the delta application in low power mode. I'd like to use the pushbutton (userint) to wake up and transmit a packet. What would I need to do to get the mote to wake up and send? I'm under the impression I need to wait until the module wakes up from low power mode for software to

Re: [Tinyos-help] CC2420 lossy module in TOSSIM

2007-06-18 Thread Wang, Lei (Ray)
could you give more instructions on how to use it in cc2420? we tried, and it looks like cc2420 tossim does not read it at all? Alexander Becher wrote: * Yang Peng: Does anyone use "run -rf=yourlossyfile.nss nodeNUM" ? It seems like my lossy.nss file does not work, seems like it is not rea

Re: [Tinyos-help] CC2420 lossy module in TOSSIM

2007-06-18 Thread Ray Wang
On 6/18/07, Alexander Becher <[EMAIL PROTECTED]> wrote: * Yang Peng: >Does anyone use "run -rf=yourlossyfile.nss nodeNUM" ? > >It seems like my lossy.nss file does not work, seems like it is not >read You also have to specify "-r=lossy". Regards, Alexander

RE: [Tinyos-help] TOSSIM: radio model

2007-06-18 Thread Adam
Hi, Looks like the lossy model with TOSSIM does not work with CC2420Radio. Is this right? Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Philip Levis Sent: Monday, June 18, 2007 10:46 AM To: Anu Singh Cc: tinyos-help@Millennium.Berkeley.EDU Sub

RE: [Tinyos-help] start up time

2007-06-18 Thread David Moss
Restating your question, you would like to know two parameters: the startup time of the radio (off->on), and the time it takes to switch back and forth between rx and tx. The startup time is approximately 3 milliseconds. The tx->rx and rx->tx switching takes approximately 140 us in either dir

[Tinyos-help] RE: PacketLink/RadioBackoff unexpected behavior

2007-06-18 Thread David Moss
Mayur - Not sure what the difference is, since PacketLink uses PacketAcknowledgements to setup and test for acks. The PacketLink layer simply retries messages when they don't get through, and is completely optional. If you're only interested in the PacketAcknowledgement layer, then not compil

Re: Re: [Tinyos-help] Questions about using Deluge T2

2007-06-18 Thread Razvan Musaloiu-E.
Hi! On Mon, 18 Jun 2007, Yu-En Tsai wrote: Hi, Now I can correctly install $TOSROOT/tools/tinyos/misc. There should be some problem in the cygwin part of tos-locate-jre file. I forced JAVAC_DIR="/cygdrive/c/Program Files/Java/jdk1.5.0_08/bin" then it worked. Then, my remaining troubles are: 1.

[Tinyos-help] start up time

2007-06-18 Thread roberto pagliari
hi all, does anyone know the start up time of the cc2420 radiochip ? I mean moving from transmit to receive mode or viceversa? How many useconds? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bi

Re: Re: [Tinyos-help] Questions about using Deluge T2

2007-06-18 Thread Yu-En Tsai
Hi, Now I can correctly install $TOSROOT/tools/tinyos/misc. There should be some problem in the cygwin part of tos-locate-jre file. I forced JAVAC_DIR="/cygdrive/c/Program Files/Java/jdk1.5.0_08/bin" then it worked. Then, my remaining troubles are: 1. When running burn script, there is a problem

Re: [Tinyos-help] UART

2007-06-18 Thread mai naaom
am using meca family not telos do u know how i can start On 6/18/07, mai naaom <[EMAIL PROTECTED]> wrote: -- Forwarded message -- From: mai naaom <[EMAIL PROTECTED]> Date: Jun 18, 2007 11:22 PM Subject: Re: [Tinyos-help] UART To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> are t

Fwd: [Tinyos-help] UART

2007-06-18 Thread mai naaom
-- Forwarded message -- From: mai naaom <[EMAIL PROTECTED]> Date: Jun 18, 2007 11:22 PM Subject: Re: [Tinyos-help] UART To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> are there any tuturials i can start from first that explaining this interfaces On 6/18/07, [EMAIL PROTECTED] <[EMA

[Tinyos-help] PrintBigMsgs.java

2007-06-18 Thread antonio gonga
Hey all,can u e-mail me this file please?-antonio _ Hotmail to go? Get your Hotmail, news, sports and much more! Check out the New MSN Mobile! http://mobile.msn.com___ Tinyos-help mailing l

[Tinyos-help] [tinyOS-1.x]RadioSuspendC

2007-06-18 Thread antonio gonga
Hey all,Can use this configuration with MicaZ motes??I'm using tinyOS-1.x. and I'd like to suspend the Radio while I'm sampling data from ADC interface. In some applications that I found they use itwith mica2 motes... thanks in advance..-antonio __

[Tinyos-help] Tmote, Boomerang and ext Flash

2007-06-18 Thread Mikael Ifversen
Hello, In an effort to test the external Flash on the Tmote I wrote an application that samples light and temperature and both store the data in a buffer and at the same time sends the data to TOS Base. When the buffer is full the data 256bits is committed to the ext Flash, red and send to TO

[Tinyos-help] UART

2007-06-18 Thread mai naaom
i wanna ask about the tuturials regarding the issue of using the UART if someone tell me from where i can start thanks in advance regards, mai naaom ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cg

RE: [Tinyos-help] Problems with Moteview 1.4 and MEP-SYS of CrossbowInc.

2007-06-18 Thread Giri Baleri
Hello Juan, The MEP nodes in the MEP-SYS are programmed with XMesh 1.2 firmware and the low power version of this app doesn't support the commands (eg. change data rates). You need to reprogram the MEP nodes with the newer MEP application firmware available in MoteWorks to change the data rate

[Tinyos-help] Problems with Moteview 1.4 and MEP-SYS of Crossbow Inc.

2007-06-18 Thread Juan Antonio López Riquelme
Hi, I am using MEP-SYS and Moteview 1.4c from Crossbow Inc ( http://www.xbow.com/Products/productdetails.aspx?sid=245). I tried to change the LEDs status of only MEP410 nodes and the sample rate in all nodes (MEP410 and MEP510) using the option command in tab control. After this, I don't see any

[Tinyos-help] I cannot put the micaz mote into the deep sleep by using HPLPowerManagementM

2007-06-18 Thread Gary Pan
Hi all, I have searched the mail archive for info about power management. I tried to use the HPLPowerManagementM module to enable the sleep mode. I also followed the example of CountRadio to turn the radio on and off. I am able to turn the radio off and get the current down to 1.6mA in 3V when

[Tinyos-help] questions on T-mote processing

2007-06-18 Thread Zaihan Yang
Dear All, I am zay, graduate student in CSE Lehigh. I am now working on Tinyos and T-mote, but meet with some problems. I wonder whether any of you could provide me some help. I have installed the progam to the T-mote, but some errors occur when I want to issue the java listen command. My op

[Tinyos-help] Tinynode radio stack errors?

2007-06-18 Thread Matthew Garber
Hey folks, So, I'm working on a Tinynode base station application. and I'm seeing some odd behavior out of the radio. Right now, there is one repeating timer that tries to send out three beacon messages to other motes. So, with one LED assigned to toggle just after SendMsg.send(), and another ti

Re: Re: [Tinyos-help] Questions about using Deluge T2

2007-06-18 Thread Razvan Musaloiu-E.
Hi! On Mon, 18 Jun 2007, Yu-En Tsai wrote: On 6/17/07, Razvan Musaloiu-E. <[EMAIL PROTECTED]> wrote: Hi! On Sun, 17 Jun 2007, Yu-En Tsai wrote: > Hi Mike, > I use these 2 instructions to do CVS update: > cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos login > cvs -z3 -d:pserver:[EMAIL PROT

Re: [Tinyos-help] send inside Receive

2007-06-18 Thread Philip Levis
On Jun 18, 2007, at 7:36 AM, sara Khad wrote: Hi, Hope that someone could help me with the following: I would like to do the following: 1- Mote1 sends a packet every 1sec to Mote2 2- I want Mote2 to add some filed to the received packet and then forwards it directlly to another mote. I want to

Re: [Tinyos-help] tinyos.jar

2007-06-18 Thread Philip Levis
On Jun 17, 2007, at 4:25 AM, Ahmed Said wrote: hi, does anyone know how can i regenaerte tinyos.jar? make tinyos.jar Phil ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/l

Re: [Tinyos-help] RSSI measuring

2007-06-18 Thread Philip Levis
On Jun 18, 2007, at 6:05 AM, Tsung-Han Lin wrote: According to the datasheet, "the RSSI_VALID status bit indicates when the RSSI value is valid, meaning that the receiver has been enabled for at least 8 symbol periods." Since receiving a packet will always be longer than 8 symbol periods, t

Re: [Tinyos-help] TOSSIM: radio model

2007-06-18 Thread Philip Levis
On Jun 17, 2007, at 11:14 AM, Anu Singh wrote: Hi, I am using tinyos-2.0 and using TOSSIM for simulation. Are there any parameteres that can be used to control the message loss rate (due to lossy links and collisions) during simulation. I want to reduce the loss rate. I have set the li

Re: [Tinyos-help] How to restart a TOSSIM simulation TinyOS 2.x

2007-06-18 Thread Philip Levis
On Jun 18, 2007, at 5:21 AM, Marek Jawurek wrote: Hi Philip, I think I found another problem concerning restart of Motes: I have a running simulation where I stop after not getting any debug message from my motes for a specified time and then restart all motes by doing : simt = tossim.time(

Re: [Tinyos-help] Fan-Out and Combine function help.

2007-06-18 Thread Philip Levis
Please read the TinyOS programming manual, Chapter 5.2 (Combine functions). Phil On Jun 17, 2007, at 2:50 PM, Ian Welch wrote: I'm getting the follow warning "calls to Recieve.recieve in CC1000ActiveMessageP fan out, but there is no combine function fnction specified for the return type"

Re: [Tinyos-help] Problem on nesc-semantics.c

2007-06-18 Thread Philip Levis
On Jun 16, 2007, at 6:41 PM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: Hi all, I encountered this error recently: assertion "0" failed: file "nesc-semantics.c", line 145 But I couldn’t find the file “nesc-semantics.c” Does anyone know where to look up this file and what may cause

Re: [Tinyos-help] [Makefile]

2007-06-18 Thread Michael Schippling
well...you probably have a variable that is not defined or misspelled... Post the whole Makefile and the actual error text and maybe someone can spot the problem. MS vazoumana fofana wrote: Hi , i ve got a question. I try to implement a new application : when i compile , a message error appea

Re: [Tinyos-help] Multichannel Adc sampling and DMA

2007-06-18 Thread Nicolas Esteves
Hi, I tried to sample 6 channels together but i always have 0xfff, im not sure of the initialisation of the adc if someone can help me it would be nice... here is my component module CeaSensorP { uses { interface Msp430Adc12MultiChannel as Adc; interface Resource; }

Re: Re: [Tinyos-help] Questions about using Deluge T2

2007-06-18 Thread Yu-En Tsai
On 6/17/07, Razvan Musaloiu-E. <[EMAIL PROTECTED]> wrote: Hi! On Sun, 17 Jun 2007, Yu-En Tsai wrote: > Hi Mike, > I use these 2 instructions to do CVS update: > cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos login > cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos co -P tinyos-2.x After

[Tinyos-help] avr-gcc.exe: /usr/lib/ncc/tdspecs: No such file or directory

2007-06-18 Thread Richard Dobbis
I recently added another tool to my installation of Cygwin and in so doing, Cygwin updated every other tool and file. After this, my toolchain seems to be broken with the following error: ncc -o build/xcvr/main.exe -Os -finline-limit=10 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -targe

RE: [Tinyos-help] send inside Receive

2007-06-18 Thread Oussama Chougna
Hi sara, I think it is better replacing the sendNow() function by a task. This way you make the event shorter, and complete faster as recommended in the TinyOs programming guide. Cheers, O.Chougna -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sara K

Re: [Tinyos-help] Problem about how one nesC file calls a function provided by another nesC file

2007-06-18 Thread Steve McKown
On Monday 18 June 2007 06:17, Chan kenniel wrote: > Dear all, > > Suppose I got two nesC files, one is client.nc, and another is server.nc, > and client.nc wanna call a function that is in server.nc. > and for example, in server.nc file, I have a command that is written as > this > > command result

Re: [Tinyos-help] Fan-Out and Combine function help.

2007-06-18 Thread Ian Welch
Thanks for the response Bernardo, I included my configuration in my origional response. I understand what the warning is telling me but I'm confused on how to fix it. The warning claims that it has to do with my receieve interface but I only have one instance of recieve. I'm thinking it has some

Re: [TinyOS-help] why use NoLeds?

2007-06-18 Thread Steve McKown
On Saturday 16 June 2007 15:12, Min Guo wrote: > I am not clear about the "NoLeds" component. When should we use this > component instead of the normal "Leds"? When you want to leave in code that interacts with Leds but want to turn them off or disable them for some reason. For example, you can

[Tinyos-help] send inside Receive

2007-06-18 Thread sara Khad
Hi, Hope that someone could help me with the following: I would like to do the following: 1- Mote1 sends a packet every 1sec to Mote2 2- I want Mote2 to add some filed to the received packet and then forwards it directlly to another mote. I want to know if it is ok to invoke sendNow() from Receiv

Re: [Tinyos-help] RSSI measuring

2007-06-18 Thread Tsung-Han Lin
According to the datasheet, "the RSSI_VALID status bit indicates when the RSSI value is valid, meaning that the receiver has been enabled for at least 8 symbol periods." Since receiving a packet will always be longer than 8 symbol periods, there's no need to check. I think this register should

Re: [Tinyos-help] Multichannel Adc sampling and DMA

2007-06-18 Thread Nicolas Esteves
Hi, Thanks for all your replies. I'll sample my channel with the multiple channel interface and see if i can have the frequence i need, around 1000 hz without dma. If i can't i'll try to add dma to improve speed. Jan Hauer wrote: My last question is why Msp430Adc12DMAP dont provide Msp430Adc

[Tinyos-help] ADC external sensors

2007-06-18 Thread [EMAIL PROTECTED]
Hi i have a problem. I'm using a tmote sky with tinyos 1.1 and i must sample the voltage on a external capacitor. I set the ADC3 of the expansion connector but, when i see the value with the java Listen application, the tmote doesn't sample anything. The question is: all the channels are the sam

[Tinyos-help] Can I call nesc funcs in C

2007-06-18 Thread Enric
Dear all, Is there a chance for me to call nesc funcs in program written in C? If yes, would you please tell me how to do it? Thank you:) Best Regards, Enric Y.H. Zheng___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.mille

Re: [Tinyos-help] How to restart a TOSSIM simulation TinyOS 2.x

2007-06-18 Thread Marek Jawurek
Hi Philip, I think I found another problem concerning restart of Motes: I have a running simulation where I stop after not getting any debug message from my motes for a specified time and then restart all motes by doing : simt = tossim.time() for i in range(0,maxNodes): tossim.turnOff(i)

[Tinyos-help] Problem about how one nesC file calls a function provided by another nesC file

2007-06-18 Thread Chan kenniel
Dear all, Suppose I got two nesC files, one is client.nc, and another is server.nc, and client.nc wanna call a function that is in server.nc. and for example, in server.nc file, I have a command that is written as this command result_t Foo(char *data) { return SUCCESS; } an

RE: [Tinyos-help] RSSI measuring

2007-06-18 Thread Aleksandr N. Sadkov
Does CC2420 check the RSSI_VALID register before appending the RSSI value to the last two bytes of the packet? Regards, Aleksandr. wbr, Sadkov Aleksandr [EMAIL PROTECTED] www.sumkino.com www.wl.unn.ru > -Original Message- > From: Tsung-Han Lin [mailto:[EMAIL PROTECTED] > Sent: Monday, Jun

[Tinyos-help] Tinysec and TOSSIM

2007-06-18 Thread D C Jinwala
Hello All I am writing this after going through the mail archives, having not obtained an answer: 1. How can I use TinySec with TOSSIM - to verify the contents of the packets before encryption/decryption and after decryption/encryption ? 2. How can I run the SecureTOSbase and TOSBase (as per the

Re: [Tinyos-help] Multichannel Adc sampling and DMA

2007-06-18 Thread Jan Hauer
My last question is why Msp430Adc12DMAP dont provide Msp430Adc12MultiChannel? is this a DMA limitation? On msp430 the combination ADC MultiChannel + DMA has not been implemented yet (it's on my TODO list). I also found that no constant is available to use Msp430Adc12ClientAutoDMA_RVGC or Msp43

[Tinyos-help] TinyOS on ATmega1281 and AT86RF230

2007-06-18 Thread Dedalo Dedalo
Hi everyone. I'm a new user. I'm a student and I recently had some experience programming Crossbow Mica2. I worked with Gentoo Linux. Now I need to use Atmel AVR Z-link but I noticed that, in the version of TinyOS that I installed (2.0.1), there is no platform library for this device or any chi

Re: [Tinyos-help] RSSI measuring

2007-06-18 Thread Tsung-Han Lin
RSSI value is measured by the radio chip. CC2420 will append the rssi, crc and lqi to the last two bytes of the packet. You can refer to the CC2420 datasheet: http://www.chipcon.com/files/CC2420_Data_Sheet_1_3.pdf -Han Aleksandr N. Sadkov 提到: Hello All, Could anybody explain how actually

Re: [Tinyos-help] CC2420 lossy module in TOSSIM

2007-06-18 Thread Alexander Becher
* Yang Peng: >Does anyone use "run -rf=yourlossyfile.nss nodeNUM" ? > >It seems like my lossy.nss file does not work, seems like it is not >read You also have to specify "-r=lossy". Regards, Alexander ___ Tinyos-help mailing list Tinyos-help@Millen

[Tinyos-help] [Makefile]

2007-06-18 Thread vazoumana fofana
Hi , i ve got a question. I try to implement a new application : when i compile , a message error appears : it doesn't find the v ariable of referernce : incomplete referernce of a variable / STOP. Anyone can help me ? Thanks _

[Tinyos-help] RSSI measuring

2007-06-18 Thread Aleksandr N. Sadkov
Hello All, Could anybody explain how actually RSSI measured? I mean where source code in TinyOS for reading of the RSSI.RSSI_VAL register of the CC2420? I found only code: task void receiveDone_task() { cc2420_header_t* header = getHeader( m_p_rx_buf ); cc2420_metadata_

RE: [Tinyos-help] Multichannel Adc sampling and DMA

2007-06-18 Thread Oussama Chougna
Hi phil, I just want to sample four channels. But to do it like you say: >acquire resource >sample 1 >sample 2 >sample 3 >sample 4 >sample 5 >sample 6 >release resource For each channel i need a seperate config (4 channels = 4 configs). So do i need one instance of the ADC interface and one of