Re: [Tinyos-help] Gain from distance and radio power

2009-06-25 Thread Rémi Villé
Le 25 juin 2009 18:17, Philip Levis a écrit : > > On Jun 18, 2009, at 5:05 AM, Wojciech Bober wrote: > > Hi Remi, >> >> Maybe you can work something out from this slides: >> http://www.stanford.edu/class/ee359/lectures.html >> >> Regards, >> -- Wojtek >> > > Please note all of these are formaliz

Re: [Tinyos-help] CC2420 setRetryDelay

2009-06-25 Thread JeongGil Ko (John Ko)
Robert, The delay value that you specify using setRetryDelay() starts a timer after the first packet transmission attempt is done. So 2) would be the case. You can checkout the implementations in /tos/chips/cc2420/link/PacketLinkP.nc. -John Robert Pulumbarit wrote: > In TEP 126 > (http://tin

[Tinyos-help] CC2420 setRetryDelay

2009-06-25 Thread Robert Pulumbarit
In TEP 126 ( http://tinyos.cvs.sourceforge.net/*checkout*/tinyos/tinyos-2.x/doc/html/tep126.html), for the PacketLink layer, there is a command called "setRetryDelay." It is described as follows: "The second command, setRetryDelay(..), specifies the amount of delay in milliseconds between each ret

[Tinyos-help] Maximum and minimum packet time

2009-06-25 Thread trilok i
hi to all, Can anyone say, what is the maximum and minimum packet send and receive times on an average ( for TOS_Msg messages ) from one mote to other or to base station shoule be. Thank You _ Stay updated! Add Facebook,

Re: [Tinyos-help] need help on msp430 interrupts in tinyos

2009-06-25 Thread Michael Schippling
Search the code, this list, and the intertubes for: TOSH_SIGNAL TOSH_INTERRUPT MS amit bansal wrote: > I wrote a C code for some application using msp430 which contain these lines > #pragma vector=TIMERA0_VECTOR > __interrupt void timerA0_ISR(void){ >// some code > } > > when i write s

[Tinyos-help] need help on msp430 interrupts in tinyos

2009-06-25 Thread amit bansal
I wrote a C code for some application using msp430 which contain these lines #pragma vector=TIMERA0_VECTOR __interrupt void timerA0_ISR(void){ // some code } when i write same in nesC it shows error, Can anybody help me to write interrupts in nesC Thank You Amit Bansal

Re: [Tinyos-help] Sending two messages within the same Receive.receive ()

2009-06-25 Thread Raffaele Gravina
You welcome! Let me know how it goes! - Raffaele 2009/6/25 ලසන්ති > Thank you very much for the reply. > > I accept your suggestion. I will move my second send() to sendDone(). > > Thanks again! > Lasanthi > > > > 2009/6/25 Raffaele Gravina > > Hi, >> before sending a message you MUST be sure

Re: [Tinyos-help] Sending two messages within the same Receive.receive ()

2009-06-25 Thread ලසන්ති
Thank you very much for the reply. I accept your suggestion. I will move my second send() to sendDone(). Thanks again! Lasanthi 2009/6/25 Raffaele Gravina > Hi, > before sending a message you MUST be sure the previous one has been > completely sent. That means you should move the second call

Re: [Tinyos-help] Problem in ADC setting ..

2009-06-25 Thread Ernest Andrew McCracken (emccrckn)
It may be possible with two instances of AdcReadStreamClientC. I haven't tried this though. The AdCReamStreamClientC is wired to tos.chips.msp430.adc12.Msp430Adc12SingleChannel. You might want to take a look at tos.chips.msp430.adc12.Msp430Adc12MultiChannel interface which is used to read fro

Re: [Tinyos-help] Newer Version of mspgcc

2009-06-25 Thread David Gay
From: Jonathan Leahey > I'm working with the TI's eZ430-rf2500, and I'm trying to get TinyOS > onto it.  My current problem is, the default/recommended version of > mspgcc doesn't support targeting the eZ430's processor, the > MSP430F2274. > > What I did to fix this was I updated my mspgcc to the

Re: [Tinyos-help] Problem in ADC setting ..

2009-06-25 Thread Michael Schippling
Sorry I actually haven't used the internal ADCs on the MSP so I'm of no help... MS himanshu barve wrote: > Thats OK. that can be done .. but what is the problem with > MSP430ADC12Single interface .. the program which i have sent in previous > mail is not even working for 2 ticks .. > Am i usin

Re: [Tinyos-help] Problem in ADC setting ..

2009-06-25 Thread himanshu barve
Thats OK. that can be done .. but what is the problem with MSP430ADC12Single interface .. the program which i have sent in previous mail is not even working for 2 ticks .. Am i using proper settings for ADC ? I will check for your suggestion and let u know. 2009/6/25 Michael Schippling > If I un

Re: [Tinyos-help] disable the link level retransmission mechanism

2009-06-25 Thread Philip Levis
On Jun 21, 2009, at 11:03 AM, Gary Lee wrote: > I am using CC2420 based on TinyOS 2.x > > How can I disable the link level retransmission mechanism? > By default, there aren't any. Phil ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] LossyBuilder query

2009-06-25 Thread Philip Levis
On Jun 21, 2009, at 12:14 AM, bharat naik wrote: > Hi, > >I have a lossy.nss file that one of the previous project members > had created. I wanted to know if there was a way to recover the > topology file given the lossy.nss file. I need this because I have > to plot the spanning tree d

Re: [Tinyos-help] Problem in ADC setting ..

2009-06-25 Thread Michael Schippling
If I understand correctly your program worked with a Timer at 2 ticks, but not at 1, right? If so check the return value of the Timer.start() as there is a lower limit on the tick setting. It may be returning an error and not starting. The limit used to be 3 in T1 for micas. MS himanshu barve wro

[Tinyos-help] Problem in ADC setting ..

2009-06-25 Thread himanshu barve
Hello Friends .. In my application , i am using two ADC channels .. I need to sample them one after other . I am giving some lines from my program concerning my problem. In this program i am trying to wire MSP430ADC12Single interface. But its not working .. module{ uses{ .. .. interface MSP430AD

Re: [Tinyos-help] TOSSIM unpredictable execution

2009-06-25 Thread Philip Levis
On Jun 23, 2009, at 10:23 PM, Kumar, Vimal (S&T-Student) wrote: > > Hi, > > I am trying to simulate a tree hierarchy of sensors, where the leaf > nodes are sending data to their parents.The parents add up whatever > they receive and send this one level up. > > This works fine at the first leve

Re: [Tinyos-help] generic modules involving pins

2009-06-25 Thread Philip Levis
On Jun 19, 2009, at 7:33 AM, Quatre Horrace wrote: > Hi. I am trying to develop a component in TinyOS 2, but am a bit > stuck. Perhaps someone can give a hint. > > Say for example I want to develop a component which represents a > ram. A ram is an actuator which can push outward then pull inw

Re: [Tinyos-help] Gain from distance and radio power

2009-06-25 Thread Philip Levis
On Jun 18, 2009, at 5:05 AM, Wojciech Bober wrote: > Hi Remi, > > Maybe you can work something out from this slides: > http://www.stanford.edu/class/ee359/lectures.html > > Regards, > -- > Wojtek Please note all of these are formalized approximations/models for the purpose of analysis. Path

Re: [Tinyos-help] Maximum packet per second throughput for TelosB

2009-06-25 Thread Philip Levis
On Jun 17, 2009, at 3:20 PM, Philip Loden wrote: > Hi, > > I'm doing experiments related to a voice-over-WSN application. In > "T2: A Second Generation OS for Embedded Sensor Networks" it states > that the MicaZ is capable of sending at a rate of nearly 400 pps. > I've been able to achieve

Re: [Tinyos-help] cost accumulation and path cost

2009-06-25 Thread Philip Levis
On Jun 18, 2009, at 4:41 AM, Rémi Villé wrote: > Hi, > > I would like to discuss about how the path cost is calculated from > the cost of its arcs. > Currently this path is accumulated with an addition. I think it's > bizarre because we try to create the best path in term of ratio (msg > re

Re: [Tinyos-help] A possible bug in BaseStation application, TinyOS 2.1.0

2009-06-25 Thread Philip Levis
On Jun 19, 2009, at 1:24 PM, Dongzhen Piao wrote: > I'm using CC1000 radio module. Here's what I found in > CC1000SendReceiveP.nc file: > > Starting from line 629 >> > > /* Abstract packet layout */ > > command void Packet.clear(message_t *msg) { > memset(msg, 0, sizeof(message_t)); >

Re: [Tinyos-help] Need Help on Timers

2009-06-25 Thread Michael Schippling
I'm posting this back to the help list to keep a record. I don't know what you are measuring, send() to sendDone()? If that's the case the times look to be long by an order of magnitude. MS trilok i wrote: > hi micheal, > > After your explanation, I set Jiffies( 30.5 us ) in my application and

Re: [Tinyos-help] Sending two messages within the same Receive.receive ()

2009-06-25 Thread Raffaele Gravina
Hi, before sending a message you MUST be sure the previous one has been completely sent. That means you should move the second call to the command "send" within the event "sendDone". Hope that helps you, - Raffaele 2009/6/25 ලසන්ති > hi all, > I am working on a tinyOS project and in my code i

[Tinyos-help] Sending two messages within the same Receive.receive ()

2009-06-25 Thread ලසන්ති
hi all, I am working on a tinyOS project and in my code i have two message sendings one after another. My intention is to send both messages every time. So, in other words, i want to send the second message every time i send the first message. But, by looking at the debugging output, it seems to me

Re: [Tinyos-help] cost accumulation and path cost

2009-06-25 Thread Rémi Villé
2009/6/24 Rémi Villé > 2009/6/24 Rémi Villé > >> 2009/6/24 Rémi Villé >> >> 2009/6/23 Omprakash Gnawali >>> >>> On Thu, Jun 18, 2009 at 4:41 AM, Rémi Villé wrote: > Hi, > > I would like to discuss about how the path cost is calculated from the cost > of its arcs.

Re: [Tinyos-help] TestNetworkLpl

2009-06-25 Thread Andres Vahter
Confirmed - It now works on micaz. Andres Vahter On 25.06.2009, at 1:45, Razvan Musaloiu-E. wrote: > I just committed a fix. In the Makefile the packet size was > increased to avoid chopping the output of the printfs but this makes > the whole app needing more RAM than the 4K the Atmeba128l

[Tinyos-help] Drivers for light Sensors

2009-06-25 Thread saurabh chaudhary
Hi , I am using two ambient light sensors, one is hamamatsu s7686 and another is sfh5711. I need drivers for both of these sensors. Please let me know is there any source from which i can get drivers for these two sensor or i need to write drivers for them by myself. thanks in advance ! Regards,