[Tinyos-help] Is transmitted packet size fixed or variable?

2008-03-30 Thread David
Hi list. I've taken a look at tep111 and tep126, but there's something which isn't clear to me from the teps. Are the packets transmitted over radio a fixed length or variable (based on requested payload length)? eg, if you leave TOSH_DATA_LENGTH at 28, but send a payload of 2 bytes, will the ot

[Tinyos-help] TOSMsg: Why 29 bytes

2008-03-30 Thread Brian Mulanda
Anyone know why the default payload size for a TOSMsg in tinyos is set to 29 bytes? -Brian ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] VMplayer and TinyOS

2008-03-30 Thread Kevin Klues
Good to hear. I was hoping there wasn't some problem with the newest version of vmware or something. Kevin On Sun, Mar 30, 2008 at 9:44 PM, ST <[EMAIL PROTECTED]> wrote: > Hi Kevin, > Yes, it's working now, sorry my bad, I mixed them up. > > > > On Sun, Mar 30, 2008 at 1:11 PM, Kevin Klues <

Re: [Tinyos-help] VMplayer and TinyOS

2008-03-30 Thread ST
Hi Kevin,Yes, it's working now, sorry my bad, I mixed them up. On Sun, Mar 30, 2008 at 1:11 PM, Kevin Klues <[EMAIL PROTECTED]> wrote: > So there are two different sets of instructions for doing this. one > of them has you download the xubntos installation image and install > that manually i

[Tinyos-help] Problem with using HplMsp430interrupt interface.

2008-03-30 Thread gaurav mathur
Hi, I am using tinyos-2.x and tmote sky hardware. On tmote sky hardware port 60, port 61, port 62 and port 63 of MSP430 are available as GPIO. I want to use interrupt interface for GPIO ports 60, 61, 62 and 63. But problem is that these ports are not available in HplMsp430interrupt interface.

[Tinyos-help] How to measure a threshold value???

2008-03-30 Thread shirley halder
Hi All, I have two Q. How can I measure a threshold value using tinyos-2.x and cc2430??? and If I want to assign one threshold value then what code should I have to implement? Please someone help me. Thanks. Joana ___ Tinyos-help mailing list Tinyos-hel

[Tinyos-help] Interpreting POWER dbg messages in TOSSIM

2008-03-30 Thread srikky reddy
I have the following output when I run a simualtion in TOSSIM with POWER dbg mode enabled. What are the units of power? Is it the energy consumed at that particular instance? or is it the energy consumed until that point in the simulation? 0: POWER: Mote 0 RADIO_STATE TX at 3937200 1: POWER: Mote

Re: [Tinyos-help] Generate Random Numbers

2008-03-30 Thread Eric Keller
Check out the Random interface here: http://www.tinyos.net/tinyos-2.x/doc/nesdoc/telosb/index.html I use tos.system.RandomMlcgC It works fairly well for my purposes. Eric On Sun, Mar 30, 2008 at 8:05 AM, Eli Gotesman <[EMAIL PROTECTED]> wrote: > Hi, > > I want to write a simple application that e

Re: [Tinyos-help] Resource.reserve returns EBUSY forever after some time

2008-03-30 Thread Eric Keller
Thanks for that info, I should change my code. Since I'm in an early state of development, my code currently just simulates shutting down by not reading the adc and not paying attention to the radio. Something seems to be going on when I don't read the ADC, because my sensors are very sensitive

Re: [Tinyos-help] VMplayer and TinyOS

2008-03-30 Thread Oliver Frietsch
Kevin Klues schrieb: It looks like you may have somehow mixed up the two and downloaded the xubuntos installation image and tried running that in vmware player. Exactly. That's what I do. I mount the live cd/install image in an empty VMware Player virtual machine and install it. It sounds craz

Re: [Tinyos-help] VMplayer and TinyOS

2008-03-30 Thread Kevin Klues
So there are two different sets of instructions for doing this. one of them has you download the xubntos installation image and install that manually into a vmware server. The other allows you to downlaod the precongifured vmware image and run it using vmware player. It looks like you may have s

Re: [Tinyos-help] VMplayer and TinyOS

2008-03-30 Thread Oliver Frietsch
No ideas about the downloadable VM from my side, sorry. I didn't even notice that it is there ;-) But you might want to try to create your own virtual machine for VMware player (e.g., use easyvmx.com), and afterwards inside install from the live CD image (as this is based on Ubuntu, it also feat

[Tinyos-help] Verifying power down mode on a telos mote

2008-03-30 Thread Anthony O'Shaughnessy
Hi, I am just wondering is there any other way of verifying that a mote has entered a power down state e.g. LPM3, other than measuring the current across the power terminals? I was trying to light up the 3 LEDs, then try enter LPM3 by entering a low power state and see if the LEDs turn off. T

Re: [Tinyos-help] VMplayer and TinyOS

2008-03-30 Thread ST
Mahesh,This is exactly what I did. Downloaded the XubunTOS virtual machine image .gz file and also VM player. I followed the insutrctions that Kevin had put together. However, I got that error message : "File not found xubuntos.2.0-s001.vmdk. This file is required to power on this VM." when I try l

Re: [Tinyos-help] please help...Serial comms and serialForwarder

2008-03-30 Thread Urs Hunkeler
Hi, When you run the Listen tool, you get the hex numbers, right? Seems to be working then. The listen tool prints simply the message contents (as hex numbers). So apparently you receive messages from the mote. For more information check the tutorial: http://docs.tinyos.net/index.php/Mote-PC_

Re: [Tinyos-help] please help...Serial comms and serialForwarder

2008-03-30 Thread Ittipong Khemapech
Hi, I think the problem with jni is still there. The link below may be useful: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-November/029359.html Hope this help. Ittipong On 30/03/2008, Hazem Al- Ojeh <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > I am using Cygwin on winxp, ti

Re: Re: Re: [Tinyos-help] Low power listening

2008-03-30 Thread David Henry
Again, I can only talk about Boomerang sources . Boomerang lowpower works upon the principle of synchronised global time known to all motes in the network. All synchronised motes then go to sleep and wake up at the same time (duty cycle). All messages are sent/received within this duty cycle. M

[Tinyos-help] please help...Serial comms and serialForwarder

2008-03-30 Thread Hazem Al- Ojeh
Hi all, I am using Cygwin on winxp, tinyos2.0.2; I run tos-check-env with no errors. I tried running TestSerial but it did not work, so then i tried: $ java net.tinyos.tools.Listen -comm [EMAIL PROTECTED]:57600 (because i am using mica2). it said i needed jni, so after searching on the mail lis

[Tinyos-help] Generate Random Numbers

2008-03-30 Thread Eli Gotesman
Hi, I want to write a simple application that each node that gets a message, generates a random ID and sends the message to the corresponding node, How do I generate a random integer. I'm working with tinyOS 2 on Tmote-Sky Thank you in advance, Eli ___

[Tinyos-help] Re: Tiny viz help!!!

2008-03-30 Thread funofnet Funofnet
Hi, You can run the simulation by typing this line: java net.tinyos.sim.SimDriver -noconsole -gui -run build/pc/main.exe 20 But First you must compile TinyViz: go to tinyos-1.x\tools\java\net\tinyos\sim and Tape make: I think that it must run well. ___

Re: Re: Re: [Tinyos-help] How to send a string to PC through UART

2008-03-30 Thread renjie huang
Hi Cui Normally you can use it directly. UBRR0H,UBRR0L are some registers of AVR, which is the MCU of Micaz. Maybe you need to include some platform file. We tried it on Micaz before, it should be ok. http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tips#Tools_to_debug_TinyOS_programs is the ins

Re:Re: Re: [Tinyos-help] How to send a string to PC through UART

2008-03-30 Thread Cui Lin
Hi, Thanks for your help. Now I'm trying to use the debug tool you provided, but got a set of undeclared identifiers which I can't find. The undeclared indentifiers are some registers such as UBRR0H,UBRR0L. What should I do now? Sorry to trouble you again. Best wishes! Cui

Re: [Tinyos-help] compile problems with IRIS mote

2008-03-30 Thread Li Jianfeng
Hi Miklos, Thanks for your reply. I have updated my tinyos to the latest CVS version, but the problem seems still be there. I checked the header files that mentioned in the error information, such as platform_massage.h, they remained to be the files that were modified weeks ago. I don't know what