[Tinyos-help] Java Motes

2008-05-03 Thread Joe Polastre
A bunch of folks on this list have asked to see Sentilla's Java Platform -- they were skeptical that we were actually running Java on real motes. We're giving a preview of Sentilla's software at JavaOne next week for only $199, its a preview of our full product that our commercial customers are

Re: [Tinyos-help] Compiling Errors!

2008-05-03 Thread Maria Taramigkou
Because I am newbie could you please explain what do ou mean by that : I would LEAVE THE STANDARD CODE ALONE and add the pre-built JAR to your classpath.? 2008/5/3, Paul Stickney [EMAIL PROTECTED]: Start with the simple: MsgReader.java:50: package net.tinyos.message does not exist Your

Re: [Tinyos-help] Ubuntu package installation problem

2008-05-03 Thread Matthias Gauger
Unfortunately not. For me, the problem persists as before with the same error message relating to the MD5 sum of http://tinyos.stanford.edu/tinyos/dists/ubuntu/pool/main/a/avr-binutils-tinyos/avr-binutils-tinyos_2.17_i386.deb Regards, Matthias Kevin Klues schrieb: I think I've got this

Re: [Tinyos-help] Ubuntu package installation problem

2008-05-03 Thread David
On Thu, May 1, 2008 at 2:25 PM, Kevin Klues [EMAIL PROTECTED] wrote: I think I know what might be causeing the md5 sum error. I'll take a look at it when I'm in the office again tomorrow. Hi Kevin. What method are you using to build debian packages? Files like md5sums should be

[Tinyos-help] Random Number

2008-05-03 Thread Chao Sun
Hi all, I am in need of a random number generator for my tinyos project. However, I found that the number generated by RandomLFSR component is somewhat predictable. For example, it always generates the same sequence of 16-bit numbers. Is their any better solution? Thanks. Sincerely, Chao

Re: [Tinyos-help] Compiling Errors!

2008-05-03 Thread Ittipong Khemapech
I think Paul meant that you should not modify any codes in the original TinyOS tree. What is your CLASSPATH? Ittipong 2008/5/3 Maria Taramigkou [EMAIL PROTECTED]: Because I am newbie could you please explain what do ou mean by that : I would LEAVE THE STANDARD CODE ALONE and add the

Re: [Tinyos-help] Random Number

2008-05-03 Thread Michael Schippling
I'll qualify the following with For The Most Part since I'm not a theoretician... All computer operations are deterministic, including (pseudo-) random number generators, so you (FTMP) will always get the same sequence of values from them. You can start at different places in the sequence by

Re: [Tinyos-help] Compiling Errors!

2008-05-03 Thread Maria Taramigkou
My CLASSPATH is .;.;C:\PROGRA~1\JMF21~1.1E\lib\sound.jar;C:\PROGRA~1\JMF21~1.1E\lib\jmf.jar;C:\PROGRA~1\JMF21~1.1E\lib; at the time 2008/5/3, Ittipong Khemapech [EMAIL PROTECTED]: I think Paul meant that you should not modify any codes in the original TinyOS tree. What is your

Re: [Tinyos-help] Compiling Errors!

2008-05-03 Thread Ittipong Khemapech
I think you may use export command, like: export CLASSPATH=$CLASSPATH;/cygdrive/c/cygwin/support/sdk/java/tinyos.jar;. each time you start the cygwin. (I assume that you're using Windows XP + cygwin) Hope this helps. Ittipong 2008/5/3 Maria Taramigkou [EMAIL PROTECTED]: My CLASSPATH is

Re: [Tinyos-help] Compiling Errors!

2008-05-03 Thread Maria Taramigkou
I still get the following error: *XListen.java:69: non-static method printPacket(java.io.PrintStream,byte[]) canno t be referenced from a static context XDump.printPacket(System.out, packet);* ^ How can I resolve it?* * 2008/5/3, Ittipong Khemapech [EMAIL PROTECTED]: I think you may use

Re: [Tinyos-help] Compiling Errors!

2008-05-03 Thread Ittipong Khemapech
Um.. I think you should go back and read Paul's reply. He pointed out something. Have you modified the java app? Ittipong 2008/5/3 Maria Taramigkou [EMAIL PROTECTED]: I still get the following error: *XListen.java:69: non-static method printPacket(java.io.PrintStream,byte[]) canno t be

Re: [Tinyos-help] Compiling Errors!

2008-05-03 Thread Maria Taramigkou
I have created new ones XListen and XDump. The XListen calls XDump. I would like to know -as a newbie in java - if xlisten.XDump.printPacket(.) is logic,where xlisten = new XListen(); 2008/5/3, Ittipong Khemapech [EMAIL PROTECTED]: Um.. I think you should go back and read Paul's reply. He

Re: [Tinyos-help] [Tinyos-devel] Upgrading from tinyos 1.x to tinyos 2.x - cygwin

2008-05-03 Thread Philip Levis
On May 3, 2008, at 11:27 AM, Daniel Pereira wrote: Hi All, I'm following the steps in http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html. But, I'm facing some problems to install tinyos-tools. I have tried: rpm -ivh tinyos-tools-1.2.4-2.cygwin.i386.rpm rpm -Uvh

Re: [Tinyos-help] what's the problem with attribute ((packed))

2008-05-03 Thread fatima zohra
2008/4/14 Urs Hunkeler [EMAIL PROTECTED]: Hi Fatima, I think it's mainly a question of style. Often something starts as a simple test, and then all of a sudden the code is in some production release and everybody has forgotten about the little hack for testing purposes. Then again, why

Re: [Tinyos-help] Random Number

2008-05-03 Thread Aurélien Francillon
Michael Schippling a écrit : ... To get a more random sequence you need to use some kind of natural input, like an open ADC or maybe the RSSI with no active transmission. Even then one can make an argument that the data is not Truly Random since everything carries some notion of state...

[Tinyos-help] Mica2 code Samples

2008-05-03 Thread Tiny User
Hello All, Please do you know code samples for Mica2, I have only two mica2 nodes and I want to implement a small demo and i have two nodes.. Regards.. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] Mica2 code Samples

2008-05-03 Thread tarun sharma
tinyos comes with a lot of sample codes and many of then are suitable for two nodes.how bat trying them out?? On Sat, May 3, 2008 at 3:02 PM, Tiny User [EMAIL PROTECTED] wrote: Hello All, Please do you know code samples for Mica2, I have only two mica2 nodes and I want to implement a

[Tinyos-help] problem dealing with floating point numbers

2008-05-03 Thread tarun sharma
hi i'm a newbie to tinyos and im facing a weird problem dealing with floating point numbers: 1) I tried using Printf interface to print the floating point numbers using %f and %lf arguments and by storing the number in float and double datatypes and my using the number directly as in argument.

Re: [Tinyos-help] Random Number

2008-05-03 Thread Michael Schippling
very cool, nice paper. But did you really run the data collector for a month? And nothing crashed? heh MS Aurélien Francillon wrote: Michael Schippling a écrit : ... To get a more random sequence you need to use some kind of natural input, like an open ADC or maybe the RSSI with no

Re: [Tinyos-help] Compiling Errors!

2008-05-03 Thread Paul Stickney
I still get the following error: XListen.java:69: non-static method printPacket(java.io.PrintStream,byte[]) canno t be referenced from a static context XDump.printPacket(System.out, packet); ^ How can I resolve it? I would guess XDump is a class: you can only invoke the non-static

Re: [Tinyos-help] problem dealing with floating point numbers

2008-05-03 Thread Paul Stickney
1) I tried using Printf interface to print the floating point numbers using %f and %lf arguments and by storing the number in float and double datatypes and my using the number directly as in argument. In all these cases the only thing printed is an f. i had the impressing that the C

Re: [Tinyos-help] Random Number

2008-05-03 Thread Chao Sun
Michael Schippling wrote: very cool, nice paper. But did you really run the data collector for a month? And nothing crashed? heh MS Aurélien Francillon wrote: Michael Schippling a écrit : ... To get a more random sequence you need to use some kind of natural input, like an