[Tinyos-help] unsigned int value

2009-10-13 Thread giorgio
I use nesc on tinyos 2.1 and I read that I can use uint8_t ,uint16_t ,uint32_t and uint64_t as unsigned int 8 bit,unsigned int 16 bit,unsigned int 32 bit and unsigned int 64 bit but when I use uint16_t and assign to it a value higher than 32000 I obtain a warning that is : GestioneP.nc:13:

Re: [Tinyos-help] How to run mib520 in vmware using xubuntos

2009-10-13 Thread Wahid
Hi, we are running vmplayer with winxp+tinyos(cygwin) installed. MIB520 works fine with no problem. you should note that while connecting mib520 to usb port vmware must be activated i.e it shouldn't be minimized. you must see the vm's desktop! same applies to xubunuos. moreover there are some

[Tinyos-help] FW: Frame Counter

2009-10-13 Thread trilok i
Hi John, Everything goes well, Have you tested the code that I have send to you. Thank you. _ Feel the heat of news, the thrill of sports, the dazzle of

Re: [Tinyos-help] FW: Frame Counter

2009-10-13 Thread JeongGil Ko (John)
I have not received any code from you yet :) Please send the code to my email address jgko[at]cs.jhu.du so that I can try it out. -John 2009. 10. 13., 오전 3:00, trilok i 작성: Hi John, Everything goes well, Have you tested the code that I have send to you. Thank

[Tinyos-help] AM type in tinyos-2.x

2009-10-13 Thread Nikos Batalas
Could someone please explain the role and significance of am type in the radio interfaces in Tinyos-2.x ? Also, how does the name of the enumeration specified in a message structure definition relate to the structure itself? Although the explanations concerning tinyos-1.x are quite extensive, I

Re: [Tinyos-help] Tinyos-2.x / compiling TestSerial / .h files notfound / Makefiles in tinyos

2009-10-13 Thread David Guillen Jimenez
Hi Zé Pedro, I checked my tos.h file and it looks like this: #if !defined(__CYGWIN__) #if defined(__MSP430__) #include sys/inttypes.h #else #include inttypes.h #endif #else //cygwin #include unistd.h #include stdio.h #include sys/types.h #endif #include string.h #include stdlib.h

Re: [Tinyos-help] serial comm

2009-10-13 Thread Ruben Rios del Pozo
I guess this is because you're getting not only the Physical payload as expected when you run the Listen application. Have a look at this: http://www.tinyos.net/tinyos-2.x/doc/html/tep113.html (section 3.6) Regards 2009/10/13 farooq...@hotmail.com: thanks for the reply Mr. Ruben, I have

Re: [Tinyos-help] AM type in tinyos-2.x

2009-10-13 Thread Nikos Batalas
There is a very specific way to name the enum for the AM type in tinyos-1.x, depending on the name of the message struct. This does not seem to be the case in tinyos-2.x (or the scheme, if any, escapes me) Is it then the case that the AM type specification of an AMSenderC is decoupled from

Re: [Tinyos-help] How could I configure what sensor to get data from in my Telosb ?

2009-10-13 Thread David Conde
Hi Michael, Thank you for your answer, it was very helpful for me. I perfectly understood how I have to do it with your explanation. What about if I try connect a sensor with analog output, would it be the same process as digital one? I mean, if I would like to use a Sensor with analog output,

[Tinyos-help] Simulation of Multithreading in TOS 2.1

2009-10-13 Thread Reinhard Berlach
hi people is there a way to simulate the multithreading lib in tos2.1 with TOSSIM? the normal way make micaz threads sim doesn't work.. regards, Reinhard -- Reinhard Berlach bakk.techn. reinhard.berl...@student.tugraz.at Student of Telematics, TU-Graz www.tugraz.at

[Tinyos-help] JNI library for Android operating system.

2009-10-13 Thread Le Thanh Long
Hi all, I plan to use telosb to communicate between 2 handphones. The handphone is installed Android operation system and telosb mote will be plugged to USB port. A java program is similar to TestSerial in sample tutorial. But we need JNI library to communicate through serial port, for

Re: [Tinyos-help] unsigned int value

2009-10-13 Thread giorgio
Thank you very much On Tuesday 13 October 2009 14:22:29 you wrote: Hi, The compiler is warning you about 65000 not the variable dim, just put 65000U to tell the compiler you know what you are doing. -Bill On Tue, Oct 13, 2009 at 3:10 AM, giorgio giorgio.gala...@unimi.it wrote: I use

[Tinyos-help] How to bypass EEPROM

2009-10-13 Thread Kartik Siddhabathula
Hi All, In the tinyos-1.x tutorial Ch-8, they are using an EEPROM to store and forward the message, I would like to bypass it, as I don't want to use the EEPROM. I would like to use the RAM instead. Can anyone please tell me how to do it? Thanks in advance, Kartik

Re: [Tinyos-help] serial forwarder and hyper terminal

2009-10-13 Thread Michael Schippling
Make sure you are using a MOTECOM setting that matches the baudrate and AM message header format that your node uses. Also try the ListenRaw program to see exactly what you are getting. Hyperterminal probably tries to interpret everything as ASCII whereas the message is binary. MS farooq_s

Re: [Tinyos-help] How could I configure what sensor to get data from in my Telosb ?

2009-10-13 Thread Michael Schippling
Look at the ADC modules and their use in various demo apps, e.g., Sense. You'll need to rummage around in the platform directories to see the actual DemoSensor implementation. If all you need to do is sample an analog input it should be a straight-forward swap of ADCC for DemoSensor in the config

[Tinyos-help] (Sample and save) instead of (sample and send)

2009-10-13 Thread Omar Bouzid
Dear All, I would be appreciated, in advance, if anyone could help? I'm trying to sample acoustic signals using MICAz, MTS310 sensor board and TinyOs 2. under MoteWorks environment. I have succeed in some how to sample these signals in a way that the code, after each individual sampling