Re: [Tinyos-help] RAM size memory

2008-06-05 Thread Eric Decker
Actually, it isn't the compiler that knows about memory but rather the linker. It is the linker that is generating the error message. Anyway the way the linker knows where things live is via linker scripts. For example the linker script for the MSP430F1611 is

Re: [Tinyos-help] calculate distance from Rssi

2008-06-05 Thread Paul Stickney
Yes, that is the hexadecimal **representation** (the value, of course, is the same). There is no conversion. Take this, for instance: if (255 = 0xFF) print(true); // this will print true, both 255 (decimal, base 10) and 0xFF (hex, base 16) represent the same value. You only need to worry about

Re: [Tinyos-help] calculate distance from Rssi

2008-06-05 Thread Paul Stickney
Correction: if (255 == 0xFF) print(true); // this will print true ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] CTP clarification

2008-06-05 Thread Varun Jain
Hello TinyOS users, I have read all the papers and comparisons cited in the earlier posts for CTP. CTP is meant to be Collecting data from various motes lying in the field and send the data to a central BaseStation. As Dissemination is for broadcasting certain common data/ small packets to all

Re: [Tinyos-help] CTP clarification

2008-06-05 Thread Omprakash Gnawali
On Wed, Jun 4, 2008 at 11:36 PM, Varun Jain [EMAIL PROTECTED] wrote: Hello TinyOS users, I have read all the papers and comparisons cited in the earlier posts for CTP. CTP is meant to be Collecting data from various motes lying in the field and send the data to a central BaseStation. As

Re: [Tinyos-help] RAM size memory

2008-06-05 Thread Gracinda García Lago
Thank you very much for your help! I had found these scripts, and I tried an easy solution, I modified the lenght of different sections in order to lie the linker and not to get the error message, but it doesn´t work. But your answer has clarified that only the linker controls the memory

[Tinyos-help] NOISE MODEL IN TOSSIM

2008-06-05 Thread ndessart
Goodmorning I am a phd student in computer science. My research is about using wireless sensor network for medical care. I currently use TOSSIM in order to test my algorithms and I wanted to know if I can run TOSSIM with no noise or with a minimal null noise beetween node or how can

[Tinyos-help] tinyOS-2.x Atmega128L, timer doesn't work

2008-06-05 Thread Hofmann Marcel TA.E_BB.0501
Hi Can anybody help me, why this timer doesn't work? Board: TinyOS-2.x, mote mica2 with Atmega128L Timer: /tinyos-2.x/tos/chips/atm128/timer/ //- // $Id: TestTimeAppC.nc,idgay Exp $ configuration TestTimeAppC { }

[Tinyos-help] is there am implementation of time synchroniazation based on DMTS protocol in tinyos-2.x

2008-06-05 Thread jiwen zhang
Hello all : at present , i want to know is there an time synchronization based on DMTS(Delay Measurement Time Synchronization) protocol which have been implemented in tinyos-2.x ? thank you !! -- zhang jiwen ___ Tinyos-help mailing list

[Tinyos-help] Hi about the Romain's thesis Implementation and Evaluation of the DYMO Protocol in Wireless Sensor Networks

2008-06-05 Thread 贾鹏
Hi, there Does anyone has a copy of Romain's Thesis? I find on the internet for a while but did not find it. Could someone send me a copy? Implementation and Evaluation of the DYMO Protocol in Wireless Sensor Networks Thanks sincerely Peng ___

Re: [Tinyos-help] TOPOLOGY FILE IN TOSSIM

2008-06-05 Thread Tal Rusak
Hi, There are two components to the link model in TOSSIM 2.0.2: noise and gain. Noise is the external interference and noise from sources other than the TinyOS network, which gain is the strength at which nodes in the network can hear packets that other nodes send. The probability of

Re: [Tinyos-help] about FTSP

2008-06-05 Thread Branislav Kusy
hi zhang, the FTSP paper is: Maroti M., Kusy B., Simon G., Ledeczi A. The Flooding Time Synchronization Protocol. ACM 2nd International Conference on Embedded Networked Sensor Systems (SenSys). Baltimore, MD, November 2004. currently, FTSP supports cc2420 chip only in T2 - and it's still

Re: [Tinyos-help] Hi about the Romain's thesis Implementation and Evaluation of the DYMO Protocol in Wireless Sensor Networks

2008-06-05 Thread Jongkeun Na
Hi, Here you can see the thesis. http://tymo.sourceforge.net/PDF/thesis.pdf -Jongkeun On Thu, Jun 5, 2008 at 9:00 AM, 贾鹏 [EMAIL PROTECTED] wrote: Hi, there Does anyone has a copy of Romain's Thesis? I find on the internet for a while but did not find it. Could someone send me a copy?

Re: [Tinyos-help] 122.kk kHz timer for a mica2 mote atmega128

2008-06-05 Thread Michael Schippling
You should be able to use Timer/Counter1, but it will take some study of the ATMEGA manual and existing code snippets. I have a bit here: http://www.etantdonnes.com/Motes/AVR128timers.zip but it's for setting up PWM and Capture, rather than a Timer function. It might provide a skeleton for you

Re: [Tinyos-help] tinyOS-2.x Atmega128L, timer doesn't work

2008-06-05 Thread Michael Schippling
I should mention that I never got the overflow interrupt to work right... Perhaps it's the same issue. MS Hofmann Marcel TA.E_BB.0501 wrote: Hi Can anybody help me, why this timer doesn't work? Board: TinyOS-2.x, mote mica2 with Atmega128L Timer: /tinyos-2.x/tos/chips/atm128/timer/

Re: [Tinyos-help] ghost messages

2008-06-05 Thread Michael Schippling
I'd have a look at your buffering scheme for when the node is out of range. It looks like you may be double reporting some messages. MS Klaas Thoelen wrote: Hi again, After a of tweaking I didn't get much improvement... To answer Eric's question (thanks for your reply!); nope, I just have

[Tinyos-help] MAKE DIRECTORY

2008-06-05 Thread ndessart
hello Can I change the build directory when I do make micaz sim? How can I use interface which are in another directory than the composent? example : src/Composent.nc src/interface/int.nc and Composent.nc uses or provides int.nc thanks

Re: [Tinyos-help] toscomm JNI library was not found

2008-06-05 Thread tarun sharma
Thanks a lot for your reply. You are absolutely right, i had multiple JVMs. I configured the right one and now it's up and kicking. Thank you once again. On Wed, Jun 4, 2008 at 6:20 PM, Sarfraz Nawaz [EMAIL PROTECTED] wrote: Do you have multiple JVMs on your computer? It might be possible that

Re: [Tinyos-help] calculate distance from Rssi

2008-06-05 Thread Paul Stickney
should be between 0 and -95. Please take this in context -- it is very rough limit guidelines to see if a dBm ``looks valid''. It is not a replacement for empirically collected results. As stated at 1mW max power, and no gain, by definition, dBm can be no more than 0. From the TelosB

Re: [Tinyos-help] MAKE DIRECTORY

2008-06-05 Thread Paul Stickney
How can I use interface which are in another directory than the composent? pass the -Ipath additional option to use .nc files in external directories. In the makefile, you can do this by adding to PFLAGS. For instance: Assume /foo/bar/Baz.nc is the interface (or component or implementation)

Re: [Tinyos-help] CollectionSenderC.send(...) does not signal sendDone(error_t)

2008-06-05 Thread Paul Stickney
What verifications are used to verify sendDone is not being called? That the initial send is SUCCESS? The logic looks inverted. Shouldn't collectionSendBusy only be set to true IFF it was successful? if (error != SUCCESS) collectionSendBusy = TRUE; else call DbgMessenger.beep(10); HTH, Paul

[Tinyos-help] TestTinyViz

2008-06-05 Thread Daniel Pereira
Hi All, When I start up the TestTinyViz app, I receive the following [EMAIL PROTECTED]:~/dpp/mote/cvs/tinyos-1.x/apps/TestTinyViz$ tinyviz -run build/pc/main.exe 30 java -Dpython.cachedir=/tmp/jython.cache -DDBG=usr1 -DSIMDBG= net.tinyos.sim.SimDriver -gui -run build/pc/main.exe 30 Starting

Re: [Tinyos-help] NOISE MODEL IN TOSSIM

2008-06-05 Thread Paul Stickney
I currently use TOSSIM in order to test my algorithms and I wanted to know if I can run TOSSIM with no noise or with a minimal null noise beetween node or how can generate a file such as the meyer-heavy text file provided by TOSSIM? You can use whatever noise you want. I run some idealized

Re: [Tinyos-help] TOSSIM Tinyos 1.x

2008-06-05 Thread Paul Stickney
What imports does the AdapterMaker have at the top? The CLASSPATH needs to match them in relativity (relativeness?). What feature(s) of TinyViz do you need? I am working on a UI interface to TOSSIM/T2 (basically a pretty wrapper with support modules for idealized topologies, monitoring, time

[Tinyos-help] why we need a MessagePool in forward() function in CTPForwardingEngine ?

2008-06-05 Thread 贾鹏
Hi there, I' m scrutinizing the CTPForwardingEngine now, I'm little confused by the function forward(); I realize the QEntryPool is necessary, for it will put a new recieved packet into the queue. But I cannot understand the function of MessagePool. Everytime it grab a space from this pool and

Re: [Tinyos-help] CollectionSenderC.send(...) does not signal sendDone(error_t)

2008-06-05 Thread Nicola Wegner
Hi! 2008/6/5 Paul Stickney [EMAIL PROTECTED]: What verifications are used to verify sendDone is not being called? That the initial send is SUCCESS? I use printf() to check the error_t state (did not post this to make the code more readable). For send it looks like this: switch( call

Re: [Tinyos-help] about FTSP

2008-06-05 Thread jiwen zhang
Hello brano : thank you very much . 2008/6/6 Branislav Kusy [EMAIL PROTECTED]: hi zhang, the FTSP paper is: Maroti M., Kusy B., Simon G., Ledeczi A. The Flooding Time Synchronization Protocol. ACM 2nd International Conference on Embedded Networked Sensor Systems (SenSys). Baltimore,

[Tinyos-help] safe tinyos annotations

2008-06-05 Thread Varun Jain
Hello TinyOS users, I saw safe tinyos annotations and started changing files from the CVS. Can anyone tell what is the purpose of ONE, ONE_NOK, TRUSTEDBLOCK and where are they defined? BECAUSE all applications using Collection started spitting put huge number of errors. HOW CAN WE KNOW THAT WHERE

[Tinyos-help] Problem with Surge application ouput

2008-06-05 Thread nirupama
Hi all, I am running Surge application in TOSSIM for 20 nodes with dbg =usr1,usr2 and got the following output. SIM: Random seed is 140625 14: QueuedSend: queue msg enq 0 deq 0 14: QueuedSend: Successfully queued msg to 0x, enq 1, deq 0 14: QueuedSend: sending msg (0x0) 14: qent 0 dequeued.

Re: [Tinyos-help] why we need a MessagePool in forward() function in CTPForwardingEngine ?

2008-06-05 Thread Omprakash Gnawali
On Thu, Jun 5, 2008 at 3:04 PM, 贾鹏 [EMAIL PROTECTED] wrote: Hi there, I' m scrutinizing the CTPForwardingEngine now, I'm little confused by the function forward(); I realize the QEntryPool is necessary, for it will put a new recieved packet into the queue. But I cannot understand the

Re: [Tinyos-help] safe tinyos annotations

2008-06-05 Thread John Regehr
I saw safe tinyos annotations and started changing files from the CVS. Can anyone tell what is the purpose of ONE, ONE_NOK, TRUSTEDBLOCK and where are they defined? The annotations are described here: http://www.cs.utah.edu/~coop/safetinyos/ The annotations are defined in