[Tinyos-help] atomic use in tutorial lesson 4

2006-05-25 Thread Liu Haibin
Hi,I found that in tutorial lesson 4, atomic is used as followsmessage-val = value;atomic { message-src = "">}Since we don't have any async interface used here, why do we need atomic to protect this assignment here? And why this assignment alone, how about the assignment one line above?

[Tinyos-help] MAC Protocol used

2006-05-25 Thread bhushan bhatt
Hi all, I was just wondering which MAC protocol is used by motes when they transmit ? Is it some kind of an RTS/CTS with backoff ???-Bhushan Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.___ Tinyos-help mailing

Re: [Tinyos-help] nesC to C converter

2006-05-25 Thread David Gay
On 5/25/06, Alejandro Romero Morales [EMAIL PROTECTED] wrote: Dear David, thanks for your answer. I have seem the app.c file created for telosb and it is a little confused!! :-) My problem now is to know if it is possible to add code to this C file or an independent module to use this

Re: [Tinyos-help] MAC Protocol used

2006-05-25 Thread Aditya Bhave
I think the tinyos-1.1.10 uses simply CSMA not even with collision detection. In fact with wireless, collision detection is difficult due to hidden and exposed station problems. The newer versions of tinyos-1.x (.15 onwards) uses something called B-Mac and S-Mac or at least thats what is proposed

RE: [Tinyos-help] tmote batteries lifetime

2006-05-25 Thread David Moss
6 days sounds about right. When the radio is turned on and simply listening, it is consuming an average of 18.2+ mA - your 18.8 mA sounds accurate. I measured it to be about 437.4 mAh/day. With 1500 mAh batteries and those measurements, you're looking at about 3-4 days lifetime. Duty cycle the

RE: [Tinyos-help] MAC Protocol used

2006-05-25 Thread Adam
I am curious with this question too. I don't think they are using S-MAC as default (which is developed by UCLA). Mica family might use B-Mac as I know. To Moteiv: what MAC protocol is used in TMote Sky by default? does it reliable re-transmit if failed by default? From: [EMAIL

[Tinyos-help] A question TMote Sky's UART0 and radio control

2006-05-25 Thread Adam
I have successfully programed Tmote Sky to transmit/receive data from UART0. However, my key concern is: UART0 shares bus with Radio; so, when I read large number of data (say 130 bytes), will the radio receive and buffer data from other motes and trigger ReceiveMsg after UART0 release resource?

[Tinyos-help] Re: Installing applications on the imote2

2006-05-25 Thread [EMAIL PROTECTED]
I have solved the problem (finally).The solution was to rebuild xscale-elf-gcc and newlib, passing --disable-new-lib_hw_fp to the newlib configure. Without this flag, gcc was trying to initalize a hardware floating point coprocessor, which caused the nodes to crash. This also solved the problem

[Tinyos-help] Floating Point Calculation

2006-05-25 Thread Adesola Omotayo
Hello, Does nesC support floating point arithmetic? Can I successfully execute the following statements in nesC: float j; j = 1.2 * 0.37; Thanks, Adesola ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] tmote batteries lifetime

2006-05-25 Thread Chang Li
I bought 8 AA batteries in the 1 dollar store. It only run 20 hours then the leds were dim. The voltage of the battery was under 2.0v. 18.2+mA is the current consumption of CC 2420. There are MSP430 and Flash Memory as well as othere ICs. I am wondering why have tested the current of 50 to 60 mA

[Tinyos-help] Help with Timer

2006-05-25 Thread bhushan bhatt
Hi all, I am writing an application wherein i would need more than one timer. I need one shot timers as well as Timer Repeat. Besides this i would also need a timer to wake up the node and put it to sleep. Is it possible to use TimerC for all of these ?? If not which other timers can i use

[Tinyos-help] Run Multiple Serial Forwarders??

2006-05-25 Thread davisj2
Hey all, I would like to run multiple Serial Forwarders, using the MIB600, So that i can have multiple sensing networks in different buildings, and capture data on a single PC. A) Do i open multiple serial Forwarders on the same 10002 port?? B) HOw do I start multiple instances of Listen

Re: [Tinyos-help] tmote batteries lifetime

2006-05-25 Thread Joe Polastre
Your iPod nano has a $20 Li-Poly battery and your mote has a $0.20 AA battery. You're expecting identical performance -Joe On 5/25/06, Chang Li [EMAIL PROTECTED] wrote: I bought 8 AA batteries in the 1 dollar store. It only run 20 hours then the leds were dim. The voltage of the battery

Re: [Tinyos-help] Run Multiple Serial Forwarders??

2006-05-25 Thread reizel casaquite
Hi,This is my follow up question to your post.Have you run a single serial forwarder using MIB600?That is my problem yesterday because, I am not sure what command to be used. I am using mica2 and MIB600 too. So, what is the command forexport [EMAIL PROTECTED]:baudrate if I am using

[Tinyos-help] 1.1.0 to 1.1.15 problems

2006-05-25 Thread Ben Kelley
Hi, Are there recommended packages to install moving from the initial release to the snapshot? Ive tried just extracting it using the rpm, but it throws a bunch of errors on the Deluge package, and Ill be working with Telos motes, so I need to have the mspgcc stuff, and what else? Ive

Re: [Tinyos-help] Run Multiple Serial Forwarders??

2006-05-25 Thread davisj2
Reizel, Not the answer I was looking for. You should try reading some documentation about how to use your system. Open serialFowarder as such: java net.tinyos.sf.SerialForwarder -comm network@ipadd:10002 Quoting reizel casaquite [EMAIL PROTECTED]: Hi, This is my follow up

[Tinyos-help] Write Failed Surge Telos

2006-05-25 Thread bhushan bhatt
Hi all, I am trying to make SurgeTelos working and when i start beacon messages in the window, i get a message in SerialForwarder that write failed. the sequence number of the messages keeps on increasing. the Red light on the motes bink too so i think they are doing something. Is there any