[Tinyos-help] beacon sending rate

2007-02-13 Thread Elena Lamaza
Hi, In MultihopLQI, what is the beacon sending rate? elena _ Horóscopo, tarot, numerología... Escucha lo que te dicen los astros. http://astrocentro.msn.es/ ___ Tinyos-help mailing

Re: [Tinyos-help] TOSSIM: undefined reference to [EMAIL PROTECTED]'

2007-02-13 Thread Philip Levis
On Feb 13, 2007, at 7:12 AM, Prem Krishnan wrote: Hi all, I'm getting the following error whenever I try to compile Blink for TOSSIM:- $ m g++ -c -DUSE_DL_IMPORT -fpic -o build/micaz/c- support.o -g -O0 -I/ usr/include/p ython2.3 /opt/tinyos-2.x/tos/lib/tossim/hashtable.c -I/usr/lib/

[Tinyos-help] Program flow

2007-02-13 Thread Durga Kumar Varanasi
Hi there, Main.StdControl - SecureRoutingTestM.StdControl; Main.StdControl - SecureRoutingC.StdControl; In the above, is the init() in both the implementations called at once or is it init() init() start() start()? Thanks, -- Kumar Varanasi Graduate Student The Information Networking

Re: [Tinyos-help] TinyOS 2.x: cannot recieve message from node?

2007-02-13 Thread Philip Levis
On Feb 13, 2007, at 12:22 PM, Jiakang Lu wrote: Hi all, I have a problem with TinyOS 2.x serial communication. Take the easy scenario: one node with BaseStation, the other with BlinkToRadio, which is stated in Lesson 4 of the tutorials. However, when using net.tinyos.tools.Listen, I

Re: [Tinyos-help] Program flow

2007-02-13 Thread Philip Levis
On Feb 13, 2007, at 1:01 PM, Ankur Kamthe wrote: Read this http://www.tinyos.net/tinyos-2.x/doc/html/tep107.html for more details But from what I gather, its initialization first then the start routines are called sequentially. So, its init, init, start, start TEP 107 is about TinyOS 2.x,

[Tinyos-help] Tiny OS documentation Project

2007-02-13 Thread jim
Does anyone know what is wrong with the tinyos documentation project site, http://ttdp.org/ ? Or where there may be a mirror? If the data has been incorporated into the tinyos.net site? If there was some problem with it, and it has been pulled down, I could not find anything about it

[Tinyos-help] I2C hardware support error while compiling for telosb

2007-02-13 Thread Ankur Kamthe
Hi all, I am trying to get data from the I2C pins on the expansion connector for the Tmote Sky and send it to another mote thru the radio. I have wired the my app called MoteRelay to the I2CPacketC configurations which provides the initialization, arbitration, send/receive packet methods. But

RE: [Tinyos-help] Java IOException: System can't find specified path to COM port

2007-02-13 Thread stacy.walker
Thankyou Michael, I will try to rearrange my path although mine is quite long and appears to be appended by several sources. Urs Hunkeler found my problem - the Java program is Windows based (I have to use Cygwin) so requires DOS style device names, i.e., COM8 rather than UNIX style device names.

Re: [Tinyos-help] I2C hardware support error while compiling for telosb

2007-02-13 Thread Xiaofan Jiang
ankur, I have seen this error before when I was compiling my I2C program for tmote. I fixed it by reinstalling the toolchain. I'm not certain about the exact part but most likely the msp430 toolchain. Also you might try installing moteiv's version. hope that helps -Fred - Original

Re: [Tinyos-help] I2C hardware support error while compiling for telosb

2007-02-13 Thread Ankur Kamthe
hi Xiaofan, thanks for your email. When I compiled it under the moteiv version it worked. however, can anyone explain why this occurs. Does this mean that the telosb/Tmote platforms are not fully supported in TOS 1.x? thanks, ankur ___ Tinyos-help

Re: [Tinyos-help] I2C hardware support error while compiling for telosb

2007-02-13 Thread Xiaofan Jiang
ankur If I remember correctly, Tinyos-1.x's implementation of I2C is not correct / complete. It does not address arbitration appropriately. Moteiv's implementation (i.e. boomerang) uses the resource abstraction for usart arbitration and therefore more fully support I2C. Tinyos-2.x has also

Re: [Tinyos-help] I2C hardware support error while compiling for telosb

2007-02-13 Thread Xiaofan Jiang
on second thought, tinyos-1.x's i2c might've been software bit- banging... which would explain why the macro wasn't available lol. -Fred On Feb 13, 2007, at 2:52 PM, Xiaofan Jiang wrote: ankur If I remember correctly, Tinyos-1.x's implementation of I2C is not correct / complete. It does

Re: [Tinyos-help] TinyOS 2.x: cannot recieve message from node?

2007-02-13 Thread Jiakang Lu
Philip Levis wrote: On Feb 13, 2007, at 12:22 PM, Jiakang Lu wrote: Hi all, I have a problem with TinyOS 2.x serial communication. Take the easy scenario: one node with BaseStation, the other with BlinkToRadio, which is stated in Lesson 4 of the tutorials. However, when using

Re: [Tinyos-help] I2C hardware support error while compiling for telosb

2007-02-13 Thread Philip Levis
On Feb 13, 2007, at 2:52 PM, Xiaofan Jiang wrote: ankur If I remember correctly, Tinyos-1.x's implementation of I2C is not correct / complete. It does not address arbitration appropriately. Moteiv's implementation (i.e. boomerang) uses the resource abstraction for usart arbitration and

Re: [Tinyos-help] TinyOS 2.x: cannot recieve message from node?

2007-02-13 Thread Philip Levis
On Feb 13, 2007, at 4:11 PM, Jiakang Lu wrote: Philip Levis wrote: On Feb 13, 2007, at 12:22 PM, Jiakang Lu wrote: Hi all, I have a problem with TinyOS 2.x serial communication. Take the easy scenario: one node with BaseStation, the other with BlinkToRadio, which is stated in Lesson 4

Re: [Tinyos-help] Program flow

2007-02-13 Thread Aditya Bhave
Hello, SO suppose both of my init's and start's do some variable setting and return SUCCESS. What code gets exceuted next? In my application, my mote does something only when it receives the first packet over the radio. SO my start and init just set some state variables and then I wait for

[Tinyos-help] how to get a random float number

2007-02-13 Thread Shen Ke
How can I get a random floating number between 0~1? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Likely SPAM] Re: [Tinyos-help] TinyOS 2.x: cannot recieve message from node?

2007-02-13 Thread Jiakang Lu
Jiakang Lu wrote: Philip Levis wrote: On Feb 13, 2007, at 4:11 PM, Jiakang Lu wrote: Philip Levis wrote: On Feb 13, 2007, at 12:22 PM, Jiakang Lu wrote: Hi all, I have a problem with TinyOS 2.x serial communication. Take the easy scenario: one node with BaseStation, the other with

Re: [Tinyos-help] Program flow

2007-02-13 Thread Tarun Bansal
Nothing gets executed...There is nothing like background idle process running continuously. So the node wont do anything except listening at the radio. Tarun http://bansal.tarun.googlepages.com/ On 2/14/07, Aditya Bhave [EMAIL PROTECTED] wrote: Hello, SO suppose both of my init's and start's

Re: [Tinyos-help] how to get a random float number

2007-02-13 Thread Tarun Bansal
Use rand_no = random(); This would return an integral random number between 0 to RAND_MAX. So you can divide the result by RAND_MAX to get a floating number between 0 and 1 (It won't be a real floating point random number as the set of floating numbers that you get here is limited) To generate

Re: [Tinyos-help] Program flow

2007-02-13 Thread Michael Schippling
we.not exactly.. If you look at RealMain.nc you will find: while(1) { TOSH_run_task(); } which seems to boil down to while(TOSH_run_next_task()) in sched.c which loops on a task queue waiting for stuff to do... So not really nothing, and not really an idle()