[Tinyos-help] Task time

2008-06-16 Thread Tiny User
Hello all, In a lecture for Philipp Levis at Stanford university ( http://www.youtube.com/watch?v=j6hRsue5b30) he said that the time to post and run a task in tinyos needs 80 cycles (10 micro sec). please any one knows how we can calculate or measure these times? Thanks and Regards,

Re: [Tinyos-help] RF230 readinf ED instead of RSSI

2008-06-16 Thread Stefano Kismet Lenzi
On Fri, Jun 13, 2008 at 22:58, Miklos Maroti [EMAIL PROTECTED] wrote: Hi Stefano, Did you check if PacketRSSI.isValid() returns TRUE? In some cases I cannot guarantee that the returned ED value is correct. I have just looked at the code and I check PacketRSSI.isSet(), instead of

[Tinyos-help] About Bit Rate in TmoteSky

2008-06-16 Thread salvatore galati
Hi all. I'm a student of Information Engeenering of University of Pisa. I'm working with TmoteSky ( cc2420 radio stack) motes and TinyOs 2.x with cygwin. I'm tryng to define the average transmission time of a message in a WSN. Im my testing application there is only one mote that sends messages

Re: [Tinyos-help] RF230 readinf ED instead of RSSI

2008-06-16 Thread Stefano Kismet Lenzi
On Mon, Jun 16, 2008 at 08:56, Stefano Kismet Lenzi [EMAIL PROTECTED] wrote: On Fri, Jun 13, 2008 at 22:58, Miklos Maroti [EMAIL PROTECTED] wrote: Hi Stefano, Did you check if PacketRSSI.isValid() returns TRUE? In some cases I cannot guarantee that the returned ED value is correct. I have

Re: [Tinyos-help] About TOSH_READ_RADIO_CCA_PIN()

2008-06-16 Thread JeongKwanhee
Your opinion is right. I think so. But, in experiment rssi value, I confused above conclusion. For example, when 1---à0 exists just only one pair, we assume measured rssi value of 0 node is -80dBm. After that, added 3---à2 by adjacent node of 0 node. But, rssi value of 0 node is still

Re: [Tinyos-help] About TOSH_READ_RADIO_CCA_PIN()

2008-06-16 Thread raysaikat
Probably only one is transmitting at a time due to. CSMA. Sent via BlackBerry from T-Mobile -Original Message- From: JeongKwanhee [EMAIL PROTECTED] Date: Mon, 16 Jun 2008 20:59:15 To:'renjie huang' [EMAIL PROTECTED] Cc:tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] About

Re: [Tinyos-help] message_t length

2008-06-16 Thread KURT PETERS
It's different for TOS 1.x vs 2.x, by the way. I didn't noticed which one you're using. Kurt Original Message Follows From: [EMAIL PROTECTED] To: tinyos-help@millennium.berkeley.edu Subject: [Tinyos-help] message_t length Date: Sun, 15 Jun 2008 08:10:18 -0400 hello Am I right? A

[Tinyos-help] frequencies - communication | which file?

2008-06-16 Thread fhg07
Well, I had tinyOS previously installed but I had to reinstall it, and I do not remember how to set some configuration. I remember that for my motes to be able to communicate one with another, I had to edit a file in which I would say the frequency used for their communication, that is, in my

[Tinyos-help] Protocols for tinyos2.x

2008-06-16 Thread fhg07
I would like to know if any of you know of any protocols for tinyos 2.x which I could download to test and study here. Most of the ones that I found are for tinyos 1.x, I've found something named like dymo for tinyos 2.x, but when I try to use it, lots of error messages appear. So, that's why I

[Tinyos-help] can't compile Blink

2008-06-16 Thread ivi610
Hello all, i've installed tinyos-2.0 but i have problems while compiling Blink. It seems make can't find some include files like atm128hardware.h and others What should i do? I have no idea, please help!! Thank you very much

Re: [Tinyos-help] Protocols for tinyos2.x

2008-06-16 Thread Omprakash Gnawali
On Mon, Jun 16, 2008 at 7:41 AM, [EMAIL PROTECTED] wrote: I would like to know if any of you know of any protocols for tinyos 2.x which I could download to test and study here. Most of the ones that I found are for tinyos 1.x, I've found something named like dymo for tinyos 2.x, but when I

Re: [Tinyos-help] questions about CTP

2008-06-16 Thread Omprakash Gnawali
On Sun, Jun 15, 2008 at 8:54 PM, jiwen zhang [EMAIL PROTECTED] wrote: Hello Omprakash : I have some questions about the interface CtpInfo . Firstly , i am puzzled to the meaning of some fields in routetable. in the structure routing_table_entry (TreeRouting.h), there are some

Re: [Tinyos-help] Motes for outdoor deployment

2008-06-16 Thread Giri Baleri
Crossbow's eKo nodes for environmental monitoring address both your needs. - They have IP67 rated enclosure for weather-proofness that have been tested during heavy rain, snow fall etc. - They also have a rechargeable battery powered by solar panel delivering 5+ years of battery life. You can

Re: [Tinyos-help] Mote-PC serial speed increasing

2008-06-16 Thread Andrey Gursky
Hi! Thanks Janos for your advices! I've changed the serial speed to 230400 (because of serial speed declarations in GNU/Linux). It works :) After simple test with printf() there is about 1 Kbyte/s :( Than I've changed printf() test application. I supply printf() a string with about 250

Re: [Tinyos-help] Mote-PC serial speed increasing

2008-06-16 Thread Abhishek Anand
Hi, I'm facing a similar problem! My protocol requires a strict time control on when the the packets are actually transmitted from the base station. I have programmed by base-station-mote with the BaseStation app in /$TOSROOT/apps/ folder. On the PC, my java program uses a the MoteIF class to

Re: [Tinyos-help] frequencies - communication | which file?

2008-06-16 Thread Michael Schippling
There are defines in the apps/Make*local file for selecting frequency (in MHz...) and default transmit power, for T1 at least. MS [EMAIL PROTECTED] wrote: Well, I had tinyOS previously installed but I had to reinstall it, and I do not remember how to set some configuration. I remember that

Re: [Tinyos-help] Mote-PC serial speed increasing

2008-06-16 Thread Michael Schippling
Randomness of time taken to broadcast is a feature rather than a bug. Most of the indeterminate delay is due to MAC backoff and free channel testing. If someone else is transmitting you have to wait until they're done. Search this list for a lot of discussion on radio timing. A workaround would

Re: [Tinyos-help] Task time

2008-06-16 Thread Philip Levis
On Jun 15, 2008, at 11:49 PM, Tiny User wrote: Hello all, In a lecture for Philipp Levis at Stanford university (http://www.youtube.com/watch?v=j6hRsue5b30 ) he said that the time to post and run a task in tinyos needs 80 cycles (10 micro sec). please any one knows how we can

Re: [Tinyos-help] questions about CTP

2008-06-16 Thread Philip Levis
On Jun 15, 2008, at 8:54 PM, jiwen zhang wrote: Hello Omprakash : I have some questions about the interface CtpInfo . Firstly , i am puzzled to the meaning of some fields in routetable. in the structure routing_table_entry (TreeRouting.h), there are some information of the

[Tinyos-help] Timer interferes with another Timer?

2008-06-16 Thread Nicola Wegner
Hi, I am stuck with a strange problem. I have two modules M1 and M2 which contain a milliseconds timer each. After M1 has finished some processing and has stopped its timer it signals an event to a module at a higher level which then starts a function in M2. This function in M2 starts a timer

Re: [Tinyos-help] Mote-PC serial speed increasing

2008-06-16 Thread Abhishek Anand
Thanks for the answer. But you did not not get the question Probably I should have not used the word random. I just meant that the delay was unpredictable. I had already significanly removed that randomness due to CSMA backoffs in the BaseStation app. Max initial backoff was reduced for 0.9ms

Re: [Tinyos-help] RF230 readinf ED instead of RSSI

2008-06-16 Thread Miklos Maroti
1) The required 140 microsec did not pass, but I think this is not the case After looking at the code it might be possible (although very unlikely) that we handle the IRQ, read the status register in 140 microsec. I have moved the reading of the PHY_ED_LEVEL to the end of the reception in

[Tinyos-help] TestSerialMsg.java in C

2008-06-16 Thread Daniel Pereira
Hi All, Hi All, I have a struct to send data through serial port. My java application works fine sending data to mote, but I'd like to use a C language to do this. I know that in the makefile we have the mig to generate my StructMsg.java, but what should I do to generate it in C? I took the

Re: [Tinyos-help] Mote-PC serial speed increasing

2008-06-16 Thread Janos Sallai
Abhishek: There is just too much jitter in the delays in the pc-mote communication, especially if you use java. Most of this jitter you just can't control (JVM, OS, USB, etc.) Have you considered moving the timing-sensitive code to the mote? Janos From: [EMAIL PROTECTED]

[Tinyos-help] T2 support for MDA-300

2008-06-16 Thread Charles Elliott
Hello Everyone Does anyone know if there are any drivers or example code for using tinyos-2.x and Crossbow's MDA-300? I've had a look but only found stuff for tinyos-1.x. Thanks Charles ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] T2 support for MDA-300

2008-06-16 Thread Andrey Gursky
Hello Charles! There was only one week ago one posting that helped me: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2008-June/034154.html Andrey - Оригінал листа - Від: "Charles Elliott" [EMAIL PROTECTED] Кому: [EMAIL PROTECTED] Відправлено: вівторок, 17 червня, 2008

Re: [Tinyos-help] T2 support for MDA-300

2008-06-16 Thread Charles Elliott
Thanks Andrey I'll try contacting him. On Mon, Jun 16, 2008 at 5:53 PM, Andrey Gursky [EMAIL PROTECTED] wrote: Hello Charles! There was only one week ago one posting that helped me: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2008-June/034154.html Andrey - Оригінал

[Tinyos-help] make docs error

2008-06-16 Thread Meiying Su
Hello everyone, In our project,I have created a new platform supporting our new hardwares.I have compiled my code successfully,but when I make docs newplatform ,errors happen. [EMAIL PROTECTED] /opt/tinyos-2.x/apps/pressureok $ make docs GasPlatform Making documentation for PressureAppC on

Re: [Tinyos-help] Tymo warnings and TOSSIM errors

2008-06-16 Thread Varun Jain
Hi Romain, I was getting errors with ConverterM module saying that AMSend already has been previously defined but I was able to fix that by commenting out the Loopback code from MHBaseStation application and it compiled correctly. I am now able to install MHBaseStation on node1 and tymaluate

Re: [Tinyos-help] Tymo warnings and TOSSIM errors

2008-06-16 Thread Varun Jain
Hi Romain, In tymaluate, you use Receive interface in the 4 tasks. The Receive interface does not have the getpayload command, so compiling this program gives an error. I think this is because of the big switchover in AMSend,Packet, Send interfaces... and now Packet provides these commands. So I

Re: [Tinyos-help] Mote-PC serial speed increasing

2008-06-16 Thread Abhishek Anand
Yeah, I'm considering that. But that involves some major changes in the BasStation app. Currently it stores the packets received from the pc in queue and sends thru radio them in a FIFO faishon. But this doesnt suit me. I want the packets to be sent according to the timestamp when they are