Re: [Tinyos-help] how two components share data

2006-05-09 Thread Aditya Bhave
Yes the shared header file approach def works. I have included three such header files in various components in my project and it seems to be working smoothly. Just make sure to include the access to the shared data within atomic statements to avoid race conditions. On 5/9/06, Michael Schippling

Re: [Tinyos-help] how two components share data

2006-05-09 Thread Michael Schippling
darnitnow I have to go change all my code to make it simpler... thanks MS Aditya Bhave wrote: Yes the shared header file approach def works. I have included three such header files in various components in my project and it seems to be working smoothly. Just make sure to include the

Re: [Tinyos-help] how two components share data

2006-05-09 Thread Cory Sharp
Search the mailing list for execution model http://www.moteiv.com/community/TinyOS_Information#Mailing_Lists Cory On 5/8/06, Aditya Bhave [EMAIL PROTECTED] wrote: hi cory I was not able to understand your reply. Isnt atomic used whenevr u want to make sure that changes to some data are not

[Tinyos-help] ncc - NesC compiler

2006-05-09 Thread Andres Aberasturi
Hi all, We would like to study the NesC compiler, ncc. We have installed tinyOS 1.1.7, and we have downloaded ncc source code. In the NesC compiler, we think the platform that you have chosen is important for some files, it seems that they will have to be changed if you want to use another

[Tinyos-help] Help me with SimpleCmd!

2006-05-09 Thread Hieu Tran
Hi all! I am a new to TinyOS. I am doing a simulation with one mote program with TOSBase. I use BcastIject to send radio packet. In BcastInject, I modify it with destination address is received from command. After that, I put this address in the read_log_arg variable of SimpleCmd. Here are some

[Tinyos-help] Help me with SimpleCmd!

2006-05-09 Thread Hieu Tran
Sorry, I think in the command if (cmd-args.rl_args=TOS_LOCAL_ADDRESS) it must be if (cmd-args.rl_args==TOS_LOCAL_ADDRESS). However, when I change this, the Cygwin display "invalid operands to binary ==". How can I solve this problem? Thanks alot. Hi all! I am a new to TinyOS. I am doing a

RE:[Tinyos-help] TinyOS on MacOSX (Intel)

2006-05-09 Thread Paul David Kavan
Hello all: I followed a the procedure outlined in the Wiki page and from Dan's site: http://www.allthingsalceste.com/tinyos-on-mac-os-x/ and am now able to compile and load code onto my TelosB motes. I had to start fresh a few times as I am more engineer than programmer and sometimes get

[Tinyos-help] C Serialforwarder with Java Oscilloscope?

2006-05-09 Thread Bart Braem
Hello, Does this combination work? The fileformat does not seem to match... Bart ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] JTAG and halt command on telosb

2006-05-09 Thread Matt Thompson
I have the same problem under Linux, but unfortunately I have not found a workaround. I have added a breakpoint to a User Button event, allowing me to enter the debugger with the button, but that doesn't really help, other than to view memory. Cheers, Matt Thompson andrea labo wrote: Hi

Re: [Tinyos-help] JTAG and halt command on telosb

2006-05-09 Thread andrea labo
This seems a nice idea! Are you associating the breakpoint directly with the interrupt handler? In such way we could write a dummy simple button event handler just to make same space for the breakpoint. So stepping a little after the Breakpoint code would go back to the previous function. Is that

[Tinyos-help] Upgrading to tinyos 1.1.15

2006-05-09 Thread bhushan bhatt
hi all, I was thinking of upgrading tinyos to 1.1.15 . I plan to save the previous version of tinyos in case i run with some problems. So does that mean i make a zip file of just the tinyos-1.x directory which is present under cygwin/opt/tinyos-1.x and save it ? any suggestions ? Bhushan

Re: [Tinyos-help] C Serialforwarder with Java Oscilloscope?

2006-05-09 Thread Andrew Redfern
Yes it works. Just be sure to start sf first and set the port to 9001. AndrewOn 5/9/06, Bart Braem [EMAIL PROTECTED] wrote: Hello,Does this combination work? The fileformat does not seem to match...Bart___Tinyos-help mailing list

Re: [Tinyos-help] [Tiny-OS help] nesc-1.2.2-1 to nesc-1.1.3 in TinyOS

2006-05-09 Thread David Gay
On 5/7/06, reizel casaquite [EMAIL PROTECTED] wrote: I wanted to change my nesc version from nesc-1.2.2-1 to nesc-1.1.3. I tried to follow the direction in the INSTALL file. There was no error message but as I checked the version using $rpm -qa the nesc version of rpm is still nesc-1.2.2-1 but

Re: [Tinyos-help] tmote uninstalling Delug

2006-05-09 Thread Joe Polastre
I think you are referring to TOSBoot, not Deluge, correct? TOSBoot only uses the LEDs for less than a second... hardly a big power drain. If you don't want it, set TINYOS_NP= as per the Deluge directions. -Joe On 5/9/06, Andrew Redfern [EMAIL PROTECTED] wrote: How do I uninstall Deluge from

[Tinyos-help] questions on moteiv distribution, LQI, TOSH_DATA_LENGTH and UART0

2006-05-09 Thread shiyuan zhang
I am new to TinyOS, and have serveral questions regarding new Moteiv distribution, LQI, TOSH_DATA_LENGTH and UART0: (1) What's the difference between the following three directory:(a) /opt/moteiv/tinyos-1.x/tos(b) /opt/moteiv/tos(c) /opt/tinyos-1.x/tosEspecially, for those file with same name, are

Re: [Tinyos-help] questions on moteiv distribution, LQI, TOSH_DATA_LENGTH and UART0

2006-05-09 Thread Cory Sharp
Hi Shiyuan, On 5/9/06, shiyuan zhang [EMAIL PROTECTED] wrote: I am new to TinyOS, and have serveral questions regarding new Moteiv distribution, LQI, TOSH_DATA_LENGTH and UART0: (1) What's the difference between the following three directory: (a) /opt/moteiv/tinyos-1.x/tos (b) /opt/moteiv/tos

[Tinyos-help] TestUartSimple on tmote

2006-05-09 Thread adina
Hi! I am trying to make the TestUartSimple application work on tmote. I have installed it on the mote. Do I need to use a special program to see the information that is written by the mote, because I have used listen and serialForwarder and nothing happens. Thanks, Adina -- GMX Produkte

Re: [Tinyos-help] questions on moteiv distribution, LQI, TOSH_DATA_LENGTH and UART0

2006-05-09 Thread shiyuan zhang
Thank you for quick response. (1) For RSSI, what's the meaning of the value? From Trawler, it seems to me that larger means worse quality. From my understanding, radio's sensitivity decides whether it can receive a packet or not. Hence,should there be a threshold or rangeto determine good link

Re: [Tinyos-help] TestUartSimple on tmote

2006-05-09 Thread Cory Sharp
Hi Adina, TestUartSimple is an application written by Sam Madden for Mica motes in October 2003, before Telos Rev A existed. I'd recommend you have a look at the README in that application directory for more information -- you not only need a special program, you need special hardware for that

Re: [Tinyos-help] questions on moteiv distribution, LQI, TOSH_DATA_LENGTH and UART0

2006-05-09 Thread Cory Sharp
On 5/9/06, shiyuan zhang [EMAIL PROTECTED] wrote: Thank you for quick response. (1) For RSSI, what's the meaning of the value? From Trawler, it seems to me that larger means worse quality. From my understanding, radio's sensitivity decides whether it can receive a packet or not. Hence, should

Re: [Tinyos-help] Help me with SimpleCmd!

2006-05-09 Thread Michael Schippling
good, you caught that =/== thing... From looking at the SimpleCmdMsg.h file, I think what you want is: cmd-args.rl_args.destaddr since rl_args is a struct itself. Also on the question you sent to me directly: From the Cygwin command, if I type java.net.tools.BcastInject led_on 1 (1

[Tinyos-help] HPLUART help

2006-05-09 Thread Kidd, Yvonne
Hi, I am trying to implement a two way uart communication. I am communicating between a PIC microcontroller and a mote. My application works fine with using HPLUART.put. I have tested the serial communication and the PIC does send bytes to the mote and the mote does act accordingly, using

[Tinyos-help] Telos Serial Communication

2006-05-09 Thread Paul David Kavan
Hello all:I am just getting started with my TelosB motes and have a basic network up and running right now. I have a question about what I am seeing coming over the serial port I am hoping someone might be able to clear up.I have one mote with Node ID 7 programmed with the 'CntToLedsAndRfm'

Re: [Tinyos-help] Telos Serial Communication

2006-05-09 Thread Cory Sharp
Here's one sample byte-level message description http://www.moteiv.com/community/Tmote_SurgeTelos_Message_Format Cory On 5/9/06, Paul David Kavan [EMAIL PROTECTED] wrote: Hello all: I am just getting started with my TelosB motes and have a basic network up and running right now. I have a

Re: [Tinyos-help] Telos Serial Communication

2006-05-09 Thread Michael Schippling
This should help: http://www.octavetech.com/pubs/TB5-01%20Deciphering%20TinyOS%20Serial%20Packets.pdf but don't ask me again because I loose the link everytime I look for it... Basically you are looking at tos/types/AM.h with tos/lib/Counters/IntMsg.h embeded in the data field. It's all part of

[Tinyos-help] Packet loss and LQI

2006-05-09 Thread Venkat Manoj
Cory, Is it possible to calculate the estimated packet loss based on the LQI which is recieved in each packet? What is the calculation done in the adjustLQI() function in MultihopLQI? Can't we use LQI directly for our estimations? Regards, Venkat.___

[Tinyos-help] Unique Question

2006-05-09 Thread bhushan bhatt
Hi all, I have a scenario to simulate with the motes and i have been practicing with some basic application to leanr more about mote communication. I have an application to develope in which the mote connected to computer when loaded with that application will start broadcasting its Node

[Tinyos-help] LQI and probability of packet loss

2006-05-09 Thread Venkat Manoj
Hi all, Can anybody tell me if there is some relation between the link quality indiactor (LQI) and the probability of packet loss, between two motes? Or is there some method to find out the relation? Thanks, Venkat.___ Tinyos-help mailing list

[Tinyos-help] MSP430 DMA: Multiplier Ready Trigger

2006-05-09 Thread Matthew J Whelan
Has anyone successfully triggered DMA transfers using the Hardware Multiplier Ready trigger? According to the MSP Family Guide, this trigger is supposed to occur when the hardware multiplier is ready for a new operand. I have tried writing to the multiplier MACS register to trip the response, but

Re: [Tinyos-help] LQI and probability of packet loss

2006-05-09 Thread Prabal Dutta
The Telos graphs are nice in that they show the relationship between some of these variables but some mental gymnastics are required to make the leap from what's shown to PRR vs RSSI and PRR vs LQI. And, given the variances involved, I'm not sure that everyone would come to the same conclusion.

Re: [Tinyos-help] LQI and probability of packet loss

2006-05-09 Thread Prabal Dutta
Actually, Rob, I think we're both right (and wrong). If you look at the Telos data, RSSI shows much lower variance and much greater range for short distances whereas LQI shows comparable variance but greater range for medium and longer distances. If distance approximates PRR, then RSSI would be

Re: [Tinyos-help] LQI and probability of packet loss

2006-05-09 Thread Robert Szewczyk
On 5/9/06, Prabal Dutta [EMAIL PROTECTED] wrote: Actually, Rob, I think we're both right (and wrong). If you look at the Telos data, RSSI shows much lower variance and much greater range for short distances whereas LQI shows comparable variance but greater range for medium and longer distances.

[Tinyos-help] Re: LQI and probability of packet loss

2006-05-09 Thread Joe Polastre
all of the variables were measured at the same time--lqi and rssi. it does not take a mental leap to understand the findings in an open air environment. prabal, I would be extremely enthusiastic to review your real world data on this topic. please send your studies to the list as I believe we

[Tinyos-help] Re: LQI and probability of packet loss

2006-05-09 Thread Prabal Dutta
Joe, This discussion isn't about translating the paper's results to an open air environment. It's about what PRR vs RSSI and PRR vs LQI looks like. The mental exercise is visualizing that from the PRR vs Distance, RSSI vs Distance, and LQI vs Distance data in the paper. It's not impossible

Re: [Tinyos-help] questions on moteiv distribution, LQI, TOSH_DATA_LENGTH and UART0

2006-05-09 Thread shiyuan zhang
Cory, thanks for help. I want to dig some details (sorry, I am really curious): (1) what MAC protocol by default TMote is using? What's the *.nc source file name? I am actually working on developing a new MAC protocol for simulation. Please advice where to change. (2) Delta does not work with