[Tinyos-help] What does the operator stand for?

2007-01-24 Thread Muhammad Azhar
Hi, What does the operator stand for? Eg: uint16_t x; //let x = some value if (x 0x0001) { /* do something */} else if (x 0x0004) {/* do something else */} I have tried to find this syntax on the Net, but I'm really unable to find one that explains what it means. In C, I understand that

Re: [Tinyos-help] What does the operator stand for

2007-01-24 Thread Jay Taneja
The single ampersand is a bitwise AND. You can look up bitwise operators to find out more. Cheers. -jay On 1/24/07, Muhammad Azhar [EMAIL PROTECTED] wrote: Hi, What does the operator stand for? Eg: uint16_t x; //let x = some value if (x 0x0001) { /* do something */} else if (x 0x0004)

[Tinyos-help] Help Uart0 connection

2007-01-24 Thread Andrea Labo
Hi there, I need to connect my TelosB(using TinyOS 2.x) with a pc through the UART0 pins from the expansion connector. I guess I must use the max232 chip for hardware connection and need drivers to configure the connection parameter(i.e.: baud rate, length, stop bit...) and others to send and

[Tinyos-help] Surge application - Bcast.receive()

2007-01-24 Thread frenci
Hi, I'm trying to understand multihop routing under tinyos and I have compiled and executed Surge application. From cygwin shell, I can't see dbg_usr2 messages, in Bcast.receive() function, while I can see all the other messages. Look at other tinyos forum, I have read that other people have

[Tinyos-help] javac error

2007-01-24 Thread preeti k
Hello, I 've installed tinyos2.x on cygwin. The Blink application runs fine but RadioCountToLeds doesn't. The reason is the javac path is not set. I looked into a thread that discusses this and set the path accordingly. And now when i say 'type javac' i get the correct path. But when i say

Re: [Tinyos-help] javac error

2007-01-24 Thread Tarun Bansal
Your javac is correctly installed. Try doing make -B in /opt/tinyos-1.x/tools/java Tarun Bansal http://bansal.tarun.googlepages.com/ On 1/24/07, preeti k [EMAIL PROTECTED] wrote: Hello, I 've installed tinyos2.x on cygwin. The Blink application runs fine but RadioCountToLeds doesn't. The

[Tinyos-help] EDF scheduler implementation

2007-01-24 Thread Liron Elmaleh
Is there any release of EDF scheduler for TinyOS 2.0? Liron. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Matlab error

2007-01-24 Thread Mikael Ifversen
Hi, When executing make matlab in C:\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\matlab, Following error appears: MatlabControl.java:217: reference to fevalConsoleOutput is ambiguous, both method fevalConsoleOutput(java.lang.String,java.lang.Object[],int,com.mathworks.jmi.CompletionObserver)

[Tinyos-help] getenv JNI library not found. Env.getenv will not work

2007-01-24 Thread Bibudh Lahiri
Hi, I'm trying to run the Oscilloscope application. I did the following from within /opt/tinyos-1.x/tools/java *make* *export [EMAIL PROTECTED]:mica2* *java net.tinyos.tools.Listen* The third command gave the following error: *getenv JNI library not found. Env.getenv will not

[Tinyos-help] Matlab error

2007-01-24 Thread Alvaro Delgado
Hello, the mistake is in the file MatlabControl.java. Inside the folder matlab there is the file MatlabControl-R13-R14.patch, where the instruscciones are included to repair the error of compiled. __ LLama Gratis a cualquier PC

Re: [Tinyos-help] MultiHopRouter(s)

2007-01-24 Thread Simon Willis
Mintroute is explained in this paper: http://www.cs.berkeley.edu/~awoo/sensys_awoo03.pdf I'm not sure what the differences are beteween the lib/Mintroute file and the xbow version. So far the only thing I have noticed is that the lib version has an estimate to route ratio of 10, whereas the

Re: [Tinyos-help] javac error

2007-01-24 Thread Michael Schippling
You've probably used backslashes '\' in the CLASSPATH setting, which may-or-may-not work...but to use them you need to put the whole string in quotes like this a\b\c;d;. or the shell will use the B-s's as escape chars. I usually convert everything to the true-and-correct forward-slash '/' AND use

Re: [Tinyos-help] getenv JNI library not found. Env.getenv will not work

2007-01-24 Thread Michael Schippling
That jni install _should_ work but who knows I gather you are on MSWidows, so putting a .so someplace won't help, you need to use getenv.dll I put mine in windows/system32 which is (almost) always in the PATH so everything should be able to find it. Putting libs in the JRE tree _should_

[Tinyos-help] some questions about memory management on Tmote Sky

2007-01-24 Thread yicheng
Hi Folks, I need to use a large block of memory in Tmote Sky, and I have some questions of how memory is organized in Tmote Sky by TinyOS: 1. After compiling my program, I see these messages: Compiled to build/tmote/main.exe 5584 bytes in ROM 294 bytes in RAM In this case, 5584

Re: [Tinyos-help] getenv JNI library not found. Env.getenv will not work

2007-01-24 Thread Ankur Kamthe
hi, Also, while installing TinyOS as per the instructions given in http://www.tinyos.net/tinyos-1.x/doc/install.html , while installing the javax.comm package, the zip file that I obtained from Sun's site was named comm2.0.3.zip, not javacomm20-win32.zip . Is the win32com.dll file supposed to

[Tinyos-help] Difference between java and javac

2007-01-24 Thread Spidernet Lists
Hi, what is the difference between java and javac. How can i find where is it installed and the PATH defined is right or not?? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] Re: Difference between java and javac

2007-01-24 Thread Michael Schippling
java is the Virtual Machine runtime (JavaRuntimeEnvironment) thingie and javac is the compiler that makes class files for the VM to run. java is part of the JRE that everyone who is anyone should have and javac is part of the SDK -- SoftwareDevelopmentKit -- that only us important developers

Re: [Tinyos-help] Java error

2007-01-24 Thread Spidernet Lists
Hi Michael, Thanks for your help... My boards use Atmel controller and CC2420, so the generic chips are the same, it does not use a serial data logger but uses a EEPROM instead. The codes are so TINY that i might not need it. So, i have also basically copied Mica platform and made a new

[Tinyos-help] MicaZ HPLPowerManagementM error

2007-01-24 Thread Tamim Sookoor
When attempting to make any application from the tinyos-1.x/apps directory for the MicaZ (make micaz) I receive the following error message: In component 'HPLPowerManagementM': C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/micaz/HPLPowerManagementM.nc:49: 'PowerManagement.disable' not implemented

[Tinyos-help] why cannot build app in tinyos 2.0

2007-01-24 Thread Meiying Su
Dear all , i have upgraded from TinyOS 1.x to TinyOS 2.x ,and i run the command tos-check-env ,the system show me the messagewithout error .But when i make the applicaiton Blink ,it will notify me the basename cannot find the Cygwin1.dll?moreover ,i try make other applications,it show the

Re: [Tinyos-help] why cannot build app in tinyos 2.0

2007-01-24 Thread Philip Levis
On Jan 24, 2007, at 6:54 PM, Meiying Su wrote: Dear all , i have upgraded from TinyOS 1.x to TinyOS 2.x ,and i run the command tos-check-env ,the system show me the messagewithout error .But when i make the applicaiton Blink ,it will notify me the basename cannot find the

[Tinyos-help] How to get computational time of a function in tinyos1.x

2007-01-24 Thread Shen Ke
Hi, I want to get the computational(running) time of a function written by myself. I'm developing under tinyos1.x. Thanks for any help. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] I have a question about temperature sensor

2007-01-24 Thread Muhammad Azhar
Hi, When I declared new SensirionSht11C() as Sensor under components and wired MyC.SensirionSht11 - Sensor.Temperature, I get this error message when I tried to install it to telosb: In component `MyAppC': MyAppC.nc:10: no match (Line 10 was specifically referring to MyC.SensirionSht11 -

Re: [Tinyos-help] How to get computational time of a function in tinyos1.x

2007-01-24 Thread Hui Kang
Shen Ke wrote: Hi, I want to get the computational(running) time of a function written by myself. I'm developing under tinyos1.x. Thanks for any help. ___

Re: [Tinyos-help] How to get computational time of a function in tinyos1.x

2007-01-24 Thread Shen Ke
Which directory is it in? Isn't it a tinyos2.0 component? Thanks. - Original Message - From: Hui Kang [EMAIL PROTECTED] To: Shen Ke [EMAIL PROTECTED] Cc: tinyos-help@Millennium.Berkeley.EDU Sent: Thursday, January 25, 2007 1:09 PM Subject: Re: [Tinyos-help] How to get computational

[Tinyos-help] How can i get the xsm driver code?

2007-01-24 Thread Liupeng
Hi. I'm eager to know how to get the driver code for xsm platform. I've tried it with the following url: http://tinyos.cvs.sourceforge.net/tinyos/tinyos-1.x/contrib/exscal/ But i don't think it's complete. Does anyone know a better choice? Thanks anyway. Yours. P.Liu

[Tinyos-help] cannot make simulation

2007-01-24 Thread Shen Ke
I am upgrading tinyos from 1.x to 2.0. When I make the sample application with make mica2, everything is OK. However, when I type make micaz sim, the command fails saying that TossimActiveMessageP not implemented. ___ Tinyos-help mailing list

[Tinyos-help] Restart/Reboot Tmotes

2007-01-24 Thread Sumit Gupta
Hi, I am wondering if it is possible to reboot/restart T-mote(s) which are connected to the computer through USB connection(s) and running TinyOS on them by giving some command. If so, then please let me know. Also, please tell me if Sink can do that by sending some command by wireless

Re: [Tinyos-help] Help Uart0 connection

2007-01-24 Thread Urs Hunkeler
Hi Andrea, Have a look at /opt/tinyos-2.x/tos/chips/msp430/usart/Msp430Uart0C.nc. Uart1 (which is used for the USB communication) is for instance initialized in /opt/tinyos-2.x/tos/platforms/telosa/PlatformSerialC.nc (telosb is based on telosa). If you want the regulaar TinyOS packet