[Tinyos-help] Calculate the number of packets in TOSBase

2007-02-14 Thread Xyza Ong
Hello guys, I am quite new in TinyOS so I would like to ask a few questions. I have a specific application that broadcast packets into the radio. I have uploaded the application in one mote and TOSbase was uploaded in the base mote. I used mica2 and mib510 as mote and programming board respecti

[Tinyos-help] Setting up environment variables

2007-02-14 Thread Ferry Cialis
Hi, I'm trying to install tinyos2.0 into my computer but I'm not sure how to set the environment variables in step 5 of the installation instruction from the website. I'm using Windows XP Pro computer. I'm still new in this area. Any help would be greatly appreciated. Thank you very much, Ferry _

Re: [Tinyos-help] Sensirion SHT11 calibration

2007-02-14 Thread Steve McKown
On Wednesday 14 February 2007 15:27, [EMAIL PROTECTED] wrote: > I've been trying to figure out how to interpret the temperature data > I'm reading from the Sensirion SHT11 on the Moteiv Tmote Sky. Do I > need to calibrate each individual sensor myself? I've noticed that > different SHT11's give m

[Tinyos-help] resource handle for I2C bus

2007-02-14 Thread Ankur Kamthe
Hi all, I want to read data from the I2C bus for a tmote but the readPacket command in the MSP430I2CPacket interface file provided by moteiv requires including the resource handle during the call. "command result_t readPacket( uint8_t rh, uint16_t addr, uint8_t length, uint8_t* data );" So, I a

Re: [Tinyos-help] math functions and floating point numbers

2007-02-14 Thread Sarfraz Nawaz
You can easily generate a java file with the MIG tool for parsing floats just as you would do for ints or other data types. No special treatment is required. On 2/15/07, virginia estellers <[EMAIL PROTECTED]> wrote: Hello another time, I've tried some more times to run the code on the motes bu

Re: [Tinyos-help] About Sensitivity and RSSI.

2007-02-14 Thread Philip Levis
On Fri, 2007-02-09 at 09:37, Philip Levis wrote: > > Those are all Berkeley TelosB nodes; they are the Omega testbed. > > Section 6.1 reports the variations across the mirage testbed of micaz > nodes. > > We have data for telosb's from a variety of manufacturers (moteiv, > crossbow, berkele

[Tinyos-help] problems with setup

2007-02-14 Thread Salvatore Famoso
Hi, i have installed and setup tinyos-2 in my x86_64 suse linux. Running tos-chevk-env doesn't give me any errors but the graphviz version (the tos-check env output is displayed at the end of the message). I also can compile apps for several platforsms succesfully. However, there are still 2 probl

[Tinyos-help] Sensirion SHT11 calibration

2007-02-14 Thread kmalasri
Hi tinyos-help, I've been trying to figure out how to interpret the temperature data I'm reading from the Sensirion SHT11 on the Moteiv Tmote Sky. Do I need to calibrate each individual sensor myself? I've noticed that different SHT11's give me different raw readings even when they're placed

Re: [Tinyos-help] Using ack for flow control in B-Mac

2007-02-14 Thread Steve McKown
On Wednesday 14 February 2007 14:57, Michael Schippling wrote: > For my robots, and subsequent radio reliability testing, I invented a > call and response message system with ACKs and a retry layer based on > missing sequence numbers, where the base station PC asked for a resend > when it missed a

Re: [Tinyos-help] changing TOSBase packet size

2007-02-14 Thread Thang Le
TOSBase (TOS 1.1.15 - Micaz) should handle packets of any size. It doesn't care about the size. If you want to change the TOSMsg payload size, look at AM.h. The limit is something like 60-80 bytes (based on experiments, I forgot the exact number). Thang Chris Byers <[EMAIL PROTECTE

Re: [Tinyos-help] Using ack for flow control in B-Mac

2007-02-14 Thread Steve McKown
On Wednesday 14 February 2007 15:31, Philip Levis wrote: > On Wed, 2007-02-14 at 09:50, Steve McKown wrote: > > This setup works great until the receive rate of wireless messages > > exceeds the rate at which the gateway can insert them into the database. > > I tested this scenario by using only 1

Re: [Tinyos-help] changing TOSBase packet size

2007-02-14 Thread Michael Schippling
oops...I meant to add that you should search back on this list for TOSH_DATA_LENGTH to get all kinds of better advice than mine... MS Chris Byers wrote: Does anyone know how I can change TOSBase so that it can handle receiving a packet that has a data payload length of 38 bytes? Thanks,

Re: [Tinyos-help] changing TOSBase packet size

2007-02-14 Thread Tony Mancill
Chris Byers wrote: > Does anyone know how I can change TOSBase so that it can handle > receiving a packet that has a data payload length of 38 bytes? Add a line like this to Makefile and recompile. (Adjust the length accordingly.) CFLAGS += -DTOSH_DATA_LENGTH=64 tony ___

Re: [Tinyos-help] changing TOSBase packet size

2007-02-14 Thread Michael Schippling
In T1 you should be able to change TOSH_DATA_LENGTH in the appropriate AM.h's or via the compile line. But you need to recompile all programs in the system. I suspect there is a similar method in T2. MS Chris Byers wrote: Does anyone know how I can change TOSBase so that it can handle receiving

Re: [Tinyos-help] Using ack for flow control in B-Mac

2007-02-14 Thread Michael Schippling
Oh, I thought "embeded db" meant a host side program, not the EEPROM... For my robots, and subsequent radio reliability testing, I invented a call and response message system with ACKs and a retry layer based on missing sequence numbers, where the base station PC asked for a resend when it missed

Re: [Tinyos-help] Tmote Sky DAC driver development

2007-02-14 Thread Steve McKown
On Wednesday 14 February 2007 12:52, Yang Peng wrote: > Hi all, > > I have a question about the DAC driver for Tmote sky node. > > Can anybody tell me some information about following definition? I cannot > find useful info in msp430 data sheet, neither in the comments for the > driver code. > (I a

Re: [Tinyos-help] Using ack for flow control in B-Mac

2007-02-14 Thread Philip Levis
On Wed, 2007-02-14 at 09:50, Steve McKown wrote: > Hi, > > I have a current wireless star network: ARM gateway connected to a Xbow mote > running BaseStation and several wireless motes that send unicast packets to > the gateway/BaseStation. The wireless motes request acks and will initiate a >

[Tinyos-help] changing TOSBase packet size

2007-02-14 Thread Chris Byers
Does anyone know how I can change TOSBase so that it can handle receiving a packet that has a data payload length of 38 bytes? Thanks, Chris Chris Byers MacAulay Brown Inc. 4021 Executive Dr. Dayton OH 45430 937-426-3421 (phone) 937-426-5364 (fax) __

Re: [Tinyos-help] Using ack for flow control in B-Mac

2007-02-14 Thread Steve McKown
On Wednesday 14 February 2007 11:11, Michael Schippling wrote: > An embeded RDB that runs too slow? I would do a little profiling on the > app to see if there's anything to fix before starting to throttle messages. > If the messages are bursty perhaps adding a insert queue to the DB i'face > would

[Tinyos-help] Tmote Sky DAC driver development

2007-02-14 Thread Yang Peng
Hi all, I have a question about the DAC driver for Tmote sky node. Can anybody tell me some information about following definition? I cannot find useful info in msp430 data sheet, neither in the comments for the driver code. (I am very appreciated that any nice guy can tell me where to find a de

Re: [Tinyos-help] math functions and floating point numbers

2007-02-14 Thread Michael Schippling
oh, you're having trouble making sense of floats in TOS_Msgs? that makes it easierlook at how mig deals with it... I found it recently in java/net/tinyos/message someplace I think. try searching fro "float" or "double" there... I gotta run to a talk, or driver through the snow to a talk actual

Re: [Tinyos-help] math functions and floating point numbers

2007-02-14 Thread virginia estellers
Hello another time, I've tried some more times to run the code on the motes but the output I get from them doesn't make sense. I thought it was because of the floating-point libraries, but maybe I'm completely wrong, because I get the same output for my make as you send me. Could it be a problem

Re: [Tinyos-help] java Sample 200 20000 errors

2007-02-14 Thread Michael Schippling
you know it seems that this has been going on for a while now hasn't it? have you tried debugging into the Sample program to see where exactly it is barfing? I think some of the programs "try to help" by instantiating message classes at runtime based on the message ID and maybe there's a funny ID

Re: [Tinyos-help] Using ack for flow control in B-Mac

2007-02-14 Thread Michael Schippling
An embeded RDB that runs too slow? I would do a little profiling on the app to see if there's anything to fix before starting to throttle messages. If the messages are bursty perhaps adding a insert queue to the DB i'face would even things out. Depending on the DB you might be able to do multiple

Re: [Tinyos-help] Program flow

2007-02-14 Thread Michael Schippling
yah, my q&d analysis was from T1. Looks like T2 has improved things. I assume the sleep() is interruptable so events will run and post tasks which will be collected and run in this loop... MS Steve McKown wrote: In tos2, the idle loop can put the uC to sleep, where no code is executed and power

[Tinyos-help] Using ack for flow control in B-Mac

2007-02-14 Thread Steve McKown
Hi, I have a current wireless star network: ARM gateway connected to a Xbow mote running BaseStation and several wireless motes that send unicast packets to the gateway/BaseStation. The wireless motes request acks and will initiate a resend of any message whose ack is not seen in sendDone().

RE: [Tinyos-help] java Sample 200 20000 errors

2007-02-14 Thread Chris Byers
I tried what you suggested and still have the same problem. My CLASSPATH is .;/opt/tinyos-1.x/tools/java/classes:/opt/tinyos-1.x/tools/java And MessageListener.class is in ./tools/java/net/tinyos/message/MessageListener.class And I still get the same error when doing: java Sample 200 2.

Re: [Tinyos-help] java Sample 200 20000 errors

2007-02-14 Thread Tony Mancill
Chris Byers wrote: > I am getting the following error when running the command: java Sample > 200 2 > > > > Exception in thread “main” java.lang.NoClassDefFoundError: > net/tinyos/message/MessageListener > > > > Can anyone tell me how I may resolve this? First, does the MessageListener

[Tinyos-help] java Sample 200 20000 errors

2007-02-14 Thread Chris Byers
I am getting the following error when running the command: java Sample 200 2 Exception in thread "main" java.lang.NoClassDefFoundError: net/tinyos/message/MessageListener Can anyone tell me how I may resolve this? Thanks, Chris Chris Byers MacAulay Brown Inc. 4021 Executi

Re: [Tinyos-help] Program flow

2007-02-14 Thread Steve McKown
In tos2, the idle loop can put the uC to sleep, where no code is executed and power consumption is reduced. After the boot procedure is complete, RealMainP.nc's main() forever cycles through tasks by calling SchedulerP.taskLoop(), which looks like this: command void Schedule

Re: [Tinyos-help] Make Micaz/Mica2 Compilation Error

2007-02-14 Thread Jane
Did you have exact same error as I did? Tossim worked, so I'd imagine gcc worked fine. I have avr-gcc 3.4.5. Thank you. Hi, last time I checked gcc4 was not working with tinyos-2.x, so you have to stick with the 3.4.6 version. cheers > -- > > Message: 3 > Da

[Likely SPAM] Re: [Likely SPAM] Re: [Tinyos-help] TinyOS 2.x: cannot recieve message from node?

2007-02-14 Thread Jiakang Lu
Philip Levis wrote: On Feb 13, 2007, at 9:35 PM, Jiakang Lu wrote: Hi all, I need to mention that I meet the same problem on TinyOS 2.0 under Ubuntu, generally following the instructions "http://www.5secondfuse.com/tinyos/install.html";. The JDK I use is SUN jdk1.5.0_11, the same as I inst

Re: [Likely SPAM] Re: [Tinyos-help] TinyOS 2.x: cannot recieve message from node?

2007-02-14 Thread Philip Levis
On Feb 13, 2007, at 9:35 PM, Jiakang Lu wrote: Hi all, I need to mention that I meet the same problem on TinyOS 2.0 under Ubuntu, generally following the instructions "http://www. 5secondfuse.com/tinyos/install.html". The JDK I use is SUN jdk1.5.0_11, the same as I installed under WinXP.