[Tinyos-help] Using TinyDB in Avroa
Hi Everyone, (Using Avrora 1.7.98) Does anyone know the correct way ti use TinyDB with Avrora. I have seen reference that it has been done but never with enough detail to replicate. My main problem is getting the TinyDB java client to talk to the TinyDB running in Avrora. I run Avrora with the Serial monitor. I ran the TinyDB java client with the defaults and its never links up to Avrora. I ran TinyDB with comm-string:[EMAIL PROTECTED]:2390 (see below for required small change to TinyDB) The client and avrora appear to link up up no query is ever passed in. Am I missing something. Thanks in advance Christian Brenninkmeijer PhD Student University of Manchester PS: The TinyDB fix is: In net.tinyos.tinydb.Config.java After line 52 value = st.nextToken().trim(); add: if (st.hasMoreTokens()) value = value + : + st.nextToken(); ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Re: Time measurment in TOSSIM
Hi Liron, We are switching to Avrora for our time and power measurements. See http://compilers.cs.ucla.edu/avrora/ Liron said: Hi, I'm trying to measure the time that a task is running. For this issue I'm printing a message using the function sim_time_string() in the begining the end of the runTask function, but even when I'm using a task with a big loop in it, I still see that the difference is 0. How can I get the real time of the task's run? Liron. -- Christian Brenninkmeijer PhD Student - DIAS-MC project Department of Computer Science The University of Manchester ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Best physical nodes to test on.
Hi Everyone, We currently writing Sensor network application code for TOSSIM. Could anyone suggest which would be the best types of physical nodes to buy. Ideally so the transfer from TOSSIM to real hardware is not too difficult. We would like to test our material on some small not to expensive physical nodes. We are looking at the data management side and are not too interested in fancy radio or routing material. Any sensors that produce data are fine for our testing purpose. We will not need to test outdoors. -- Christian Brenninkmeijer PhD Student - DIAS-MC project Department of Computer Science The University of Manchester ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] TinyDB Reading and writing from Buffers
Hi Everyone. What does SAMPLE PERIOD y do in the following? In the TinyDB docs they say they can write to buffers with the following example. CREATE BUFFER name SIZE X (field1 type, field2 type) SELECT field1, field2 FROM sensors SAMPLE PERIOD x INTO name SELECT field1, feild2 SAMPLE PERIOD y FROM name What does the line SAMPLE PERIOD y actually do? The query that filled the buffer has stopped so I would expect the retrieving query to just return the whole stored buffer. I do not understand what the SAMPLE PERIOD Y does. -- Christian Brenninkmeijer PhD Student - DIAS-MC project Department of Computer Science The University of Manchester ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help