Re: [Tinyos-help] TOSSIM Error

2009-06-23 Thread Javier M Mora Merchan
bharat naik escribió: > An update to the TOSSIM error. > I had installed all the rpm packages, i.e > avarice-2.0.20030825cvs-1.i386.rpm > > avr-binutils-2.13.2.1-1.i386.rpm > [...] > on Ubuntu Gu

Re: [Tinyos-help] evaluating parameter under T2

2009-06-17 Thread Javier M Mora Merchan
chikh omar escribió: > Hello, > did any body know how to evaluate : > *Memory consumption > *energy consumption > *time execution in Micro seconde if possible > > I am using TOSSIM under T2 and then I will use Telosb plateform In TOSSIM you can't measure time of execution (it assume every functi

Re: [Tinyos-help] What is the difference SplitControl and StdControl?

2009-06-11 Thread Javier M Mora Merchan
오현진 escribió: > I confused about SpliControl and StdControl. > > What is the difference SplitControl and StdControl > Both are used to start and stop services (ie the radio transceiver). If a component provides StdControl interface and you use it, the systems stopped until the component is rea

Re: [Tinyos-help] Efficient nesc programming

2009-05-30 Thread Javier M Mora Merchan
Raffaele Gravina escribió: > Hi all, > > I'd like to bring to your attention the following two equivalent snippet > of code: > > *** A > event void Read.readDone(error_t result, val_t val) { > > curr = val; > >

Re: [Tinyos-help] interface or component not found

2009-05-11 Thread Javier M Mora Merchan
Xiaohui Liu wrote: > I got a lot of debug errors, saying some interfaces (or components) can > not be found, which are actually under some TinyOS folders. After I > manually add in Makefile "PFLAG += -IMYDIR", now interfaces under > "MYDIR" can be located. Unfortunately, the compiler appears to

Re: [Tinyos-help] having problem running make micaz sim

2009-04-20 Thread Javier M Mora Merchan
shermeen adnan wrote: > when i ran make micaz sim it gave me following error output kindly > tell me why is it so??? > d...@123-04fce08a836 /opt/tinyos-2.x/apps/Blink > $ make micaz sim > C:\cygwin\opt\tinyos-2.x\support\make\Makerules:32: warning, MAKERULES > contains > backslashes. > >

Re: [Tinyos-help] Error with TOSSIM

2009-04-17 Thread Javier M Mora Merchan
Abhishek Phadnis wrote: > hey all, > since " make telosb sim" wasnt working i tried using "make micaz sim" > and this is the resulting error i got.. > > > [...] > /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:26:20: error: Python.h: > No such file or directory You always have to look in th

Re: [Tinyos-help] Unable to program motes -- Timeout

2009-04-01 Thread Javier M. Mora Merchan
El mar, 17-03-2009 a las 18:26 -0400, Eric Keller escribió: > I have had this problem. I fixed it to some extent by changing the settings > of > the build script. There is a flag that adds delay in the programming step. > Digging up the code is too hard right now, sorry. > > I found that I only

Re: [Tinyos-help] running TinyViz in TinyOS-2.1.0

2009-02-25 Thread Javier M. Mora Merchan
El mié, 18-02-2009 a las 01:56 -0800, Raunak Roongta escribió: > Hi All, > I am running xubuntos 2.1 on Vmware player for making application for > TinyOS. I want to use TinyViz for stimulating the sensors. In the > directory /opt/tinyos-2.1.0/support/sdk/java/net/tinyos/sim/, there is > only 3 fi

Re: [Tinyos-help] Problems with tossim

2009-02-16 Thread Javier M. Mora Merchan
El jue, 12-02-2009 a las 16:55 -0300, francisco cassimiro escribió: > Hello everyone, > > I have problem when, in ubuntu 8.04, I try to compile a simple program > to TOSSIM. When compiled for other platforms is okay. > > If you do "make micaz sim", this is output: > > / usr / lib / NCC / depu

[Tinyos-help] setting LocalTime

2009-02-11 Thread Javier M. Mora Merchan
Hi, I want to measure time from certain event. I've seen there is a component called LocalTimeC and I can get the value of time from boot. But, Is it possible to set the value of localtime? If LocalTimeC is read-only, Is there other componente witch allows me get and set values? I've seen Coun

Re: [Tinyos-help] number of nodes in TOSSIM

2009-02-06 Thread Javier M. Mora Merchan
El vie, 06-02-2009 a las 10:29 +0530, mahendra nimishakavi escribió: > > Hi, > >I want to find out the maximum number of nodes that can be > simulated in TOSSIM. Can anyone please help me on this? How can I do > that? In app.c generated by "make micaz tosim" pre-allocate 1000 nodes.

Re: [Tinyos-help] Java code called NESC code.

2009-02-04 Thread Javier M. Mora Merchan
El mié, 28-01-2009 a las 13:24 -0300, francisco cassimiro escribió: > > Hello everybody. > > I have two questions, to build an application that must run in the > sink node with a higher level language, like java, and the remaining > nodes with NESC: > 1 - Is there a way to make a java code (or C

[Tinyos-help] Inspecting vars with C++ in TOSSIM

2009-01-26 Thread Javier M. Mora Merchan
Hi, I started to study TOSSIM library. I read tutorial in tinyos web and it says: In a C++ TOSSIM, there is no variable inspection. While it is possible to request memory regions and cast them to the expected structures, currently there is no good and simple way to do so.