[Tinyos-help] Send Queue

2008-12-16 Thread fhg07
Hello ! I would like to know if there is already an interface that provides a method of queuing packets I want to send. I searched very quickly for it but did not find anything, and anyway, I though it would be better to ask here before start implementing something that could possibly be unnecessa

[Tinyos-help] Problem micaz and blinktoradio

2008-12-16 Thread Miguel Silva
Hi, i'm having a problem compiling lesson 3 of the tutorial, as i keep getting the following error: cp: cannot stat 'build/micaz/main.srec': No such file or directory make: *** [setid] Error 1 I think i wrote everything according to the tutorial, can anyone help? Thanks in advance, Miguel Sil

[Tinyos-help] Micaz BlinkToRadio

2008-12-16 Thread Miguel Silva
Hi again, i managed to successfully install on two micaz this example, however, i don't understant what the result should be... The two motes are blinking... Thanks in advance, miguel silva ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.e

Re: [Tinyos-help] "@safe" term used in tinyos-2.x/tos/

2008-12-16 Thread Faisal Aslam
I think you have to use "make micaz sim" and the simulator does not support mica2. (http://docs.tinyos.net/index.php/TOSSIM) "Currently, micaz is the only platform supported by TOSSIM" best regards, Faisal shal...@cedt.iisc.ernet.in wrote: > Hello, > >I am shalini, i am working on tinyos

Re: [Tinyos-help] Send Queue

2008-12-16 Thread Scott Moeller
While not a complete solution (you must add framework around them), the Queue and Pool modules are often leveraged to queue packets for sending. Look at the CtP code for examples of their use: /tos/lib/net/ctp/ -Scott On Tue, Dec 16, 2008 at 4:52 AM, wrote: > Hello ! > > I would like to know i

Re: [Tinyos-help] Tossim !! + make pc

2008-12-16 Thread João Carlos Giacomin
Islam,   I had some problems like this, when I tried to compile applications in Cygwin. I could make TinyOS work on Cygwin only when I logged in Windows XP as the same user that installed TinyOS.   It TinyOS was installed by the user  USR1, only USR1 had permission to compile applicati

Re: [Tinyos-help] regarding moteworks error

2008-12-16 Thread Giri Baleri
Hello Akankshu, I have never tried installing MoteWorks on a VMWare, but MoteWorks commands are very case sensitive. Try " make mica2 reinstall mib510,com1" and see if that helps. If you are using USB to Serial converter, the chances are that the COM port is different from COM1. You can check t

Re: [Tinyos-help] Problem micaz and blinktoradio

2008-12-16 Thread Miguel Silva
Hi again, this is what i typed: *** BlinkToRadioAppC.nc #include #include "BlinkToRadio.h" configuration BlinkToRadioAppC{ } implementation{ components MainC; components LedsC; components BlinkToRadioC as App; components new TimerMilliC() as Timer0; components

[Tinyos-help] getting temperature in micaz mote

2008-12-16 Thread Adeel Akhtar
Hi all i want to get temperature form micaz mote and MDA100CB sensor board.can any body help me.which component and interface i have to use for this application.i am working in tinyos 2.1 with cygwin on windows XP -- Thanks & Best Regards Adeel Akhtar

Re: [Tinyos-help] Send Queue

2008-12-16 Thread Hui Kang
There is a send queue in the ctp protocol implementation. - Hui fh...@c3sl.ufpr.br wrote: > Hello ! > > I would like to know if there is already an interface that provides a > method of queuing packets I want to send. I searched very quickly for it > but did not find anything, and anyway, I thoug

Re: [Tinyos-help] Problem when using PoolC

2008-12-16 Thread Philip Levis
On Dec 5, 2008, at 1:58 AM, behnaz.bostanip...@epfl.ch wrote: > > I realized that the value of newmsg in sendDataPkt() is most of > the time NULL. > Should I initialize it or am I doing sth wrong? > here is my wiring: Pool returns NULL if it is empty. Can you check that it's not empty? Thi

Re: [Tinyos-help] tos.lib.net.lqi and uniqueCount

2008-12-16 Thread Philip Levis
On Dec 8, 2008, at 5:49 AM, Urs Hunkeler wrote: > Hi, > > While trying to use tos.lib.net.lqi, I get the following warnings: > > /opt/tinyos-2.x/tos/lib/net/SendVirtualizerP.nc: In function > `SendVirtualizerP$0$nextPacket': > /opt/tinyos-2.x/tos/lib/net/SendVirtualizerP.nc:57: warning: > divisi

Re: [Tinyos-help] power level

2008-12-16 Thread fhg07
Yeap, if you want to increase the distance you can reach when sending a message you should adjust the transmission power. You can set it inside your code. But if I am not wrong, there is also a way to set it in compilation time, I do not know how, though. Anyway, what modifications did you do ther

[Tinyos-help] Problem micaz and blinktoradio

2008-12-16 Thread Miguel Silva
Hi, i'm having a problem compiling lesson 3 of the tutorial, as i keep getting the following error: cp: cannot stat 'build/micaz/main.srec': No such file or directory I think i wrote everything according to the tutorial, can anyone help? Thanks in advance, Miguel Silva

Re: [Tinyos-help] wind and telosb

2008-12-16 Thread Mark Tween
Hi Zainul, thanks for your replay and help I read the wind speed before and I get wrong values I read it using Read as ADCRead But in each time I get 4095 it never change! But the wind speed I could not understand how it works I search in google I found some thing like counter and many formu

Re: [Tinyos-help] duty cycle

2008-12-16 Thread Michael Schippling
see: http://docs.tinyos.net/index.php/Java_cygwin look for: PATH MS srikanth chitturi wrote: > > > Hi All, > I am installing tinyos-2.x.I have encountered a problem > after installing.while i am compiling program through cygwin,it > shows "java command" not found in lin

Re: [Tinyos-help] where to set the power level?

2008-12-16 Thread BAI LI
Yes, i modified the code. the default value of REPOAWER is 31 at the maximum in Tinyos1.15. Then I changed it to 1. I believe nothing changed. The node still can communicate with other nodes at least 15 meters. It is not that good. I will try to use setRFPower. Is this the right value I should chan

Re: [Tinyos-help] power level

2008-12-16 Thread BAI LI
I did changed the RFPOWER variable from 31 to 1. But nothing happened. I expected the nodes can't talk to each other out of 5 meters. But they can even communicate with each other in 15 meters ranges. What is wrong? Bai On Tue, Dec 16, 2008 at 11:57 PM, wrote: > Yeap, if you want to increase th

Re: [Tinyos-help] power level

2008-12-16 Thread Hui Kang
If you can post the piece of the code, it maybe easier to point out. BAI LI wrote: > I did changed the RFPOWER variable from 31 to 1. But nothing happened. > I expected the nodes can't talk to each other out of 5 meters. But > they can even communicate with each other in 15 meters ranges. What

Re: [Tinyos-help] where to set the power level?

2008-12-16 Thread Nitin Sharma
Hi, Could you try setting it to 3 or a little higher instead and see? PA_Level 3 Output Power -25 , TXCTRL register 0xA0E3 The output power is programmable in 8 steps from approximately –24 to 0 dBm. Page: 9 , 52 from CC2420 Data Sheet. Thanks, On Tue, Dec 16, 2008 at 2:47 PM, BAI LI wrote:

Re: [Tinyos-help] wind and telosb

2008-12-16 Thread Zainul M Charbiwala
What sensorboard are you using? How is your sensor wired up ? and can you post some code snippet. Zainul. 2008/12/16 Mark Tween : > Hi Zainul, > thanks for your replay and help > > I read the wind speed before and I get wrong values > > I read it using > > Read as ADCRead > > But in each time I g

[Tinyos-help] serial comm

2008-12-16 Thread roberto pagliari
Hello everybody, I had a document describing how to communicate from pc to motes by using the serial port, but I can't find it anymore. I'm not talking about the serialForwarder. The document was about how to format data to send to a mote via uart. Does anybody have the link of that document? Than

Re: [Tinyos-help] Tossim !! + make pc

2008-12-16 Thread Islam Mohamad Ameen Al Jarrah
Dear Mr. Joao, Thanks for you, Actually I have installed tinyos on my own laptop and I have tried to compile the applications in cygwin with the same account but it didn't work with me!! I have found one solution on a website, I'll try it and if it works I'll let you know. Thanks again, Isl

Re: [Tinyos-help] where to set the power level?

2008-12-16 Thread BAI LI
I read the cc2420 datasheet and modified it but unluckily it still didn't work. I modified the following code repectivcely. #ifndef CC2420_DEF_RFPOWER #define CC2420_DEF_RFPOWER 0x1F// changed the 0x1F to 3 or 1, didn't work. #endif cheers, Bai On We

Re: [Tinyos-help] power level

2008-12-16 Thread BAI LI
I just modified this piece of code as following #ifndef CC2420_DEF_RFPOWER #define CC2420_DEF_RFPOWER 0x1F #endif I changed it to different values. But nothing happened. So I guess i am heading to the wrong direction. Cheers, Bai On Wed, Dec 17, 2008 at 8:02 AM, Hui Kang wrote: > If

Re: [Tinyos-help] where to set the power level?

2008-12-16 Thread Hui Kang
Add this line to your makefile and remove those macro. CFLAGS=-DCC2420_DEF_RFPOWER=3 - Hui BAI LI wrote: > I read the cc2420 datasheet and modified it but unluckily it still > didn't work. I modified the following code repectivcely. > > #ifndef CC2420_DEF_RFPOWER > #define CC2420_DEF_RFPOWE

Re: [Tinyos-help] where to set the power level?

2008-12-16 Thread BAI LI
I just tested it. Same here. Not working. Thanks for your help anyway. Any other ideas? Cheers, Bai On Wed, Dec 17, 2008 at 12:59 PM, Hui Kang wrote: > Add this line to your makefile and remove those macro. > CFLAGS=-DCC2420_DEF_RFPOWER=3 > > > - Hui > > BAI LI wrote: > >> I read the cc2420 da

Re: [Tinyos-help] where to set the power level?

2008-12-16 Thread Urs Hunkeler
Hi, A typical Makefile in TinyOS 2.x that I use looks something like this: COMPONENT = MyDemoAppC CFLAGS += "-DCC2420_DEF_RFPOWER=1" #CFLAGS += "-DCC2420_DEF_CHANNEL=18" #CFLAGS += "-DTOSH_DATA_LENGTH=64" include $(MAKERULES) There is no need for any

[Tinyos-help] installing tinyos-2.x

2008-12-16 Thread srikanth chitturi
Hi All, I am installing tinyos-2.x.I have encountered a problem after installing.while i am compiling program through cygwin,it shows "java command" not found in line 19 of /usr/bin/nesc-wiring.I didn't understand what is it.any one please help me. I am installing like this, 1.jdk-