[Tinyos-help] TinyViz error on Ubuntu

2007-05-24 Thread gsaxena
Dear all, I executed 'make clean'; and 'make' on /opt/tinyos-1.x/tools/java/net/tinyos/sim and I am getting the errors as attached. Can anyone please see what I am missing here? Thanks Gaurav /opt/tinyos-1.x/tools/java/net/tinyos/sf/old/ListenServer.java:51: package javax.comm does not exist im

Re: [Tinyos-help] requre patch for power profiling plugin in tinyviz

2007-05-24 Thread Sarfraz Nawaz
http://www.eecs.harvard.edu/~shnayder/ptossim/ On 5/25/07, qiting chen <[EMAIL PROTECTED]> wrote: hi I've implemented my application "Surge" in tinyviz,with a minthop route protocal and the 802.11 stack in tinyos1.0. But no imformation appears in the power profiling plugin during the simulation

Re: [Tinyos-help] sim.stop() crashes tossim ?

2007-05-24 Thread Sarfraz Nawaz
It seems that tossim's serial forwarder is complaining. You can try to run the simulator with -nosf and see if you run into the same problem or not. On 5/24/07, Marek Jawurek <[EMAIL PROTECTED]> wrote: Hi there, I attempt to run several simulations controlled by a python script. The idea is not

Re: [Tinyos-help] Detect a USB connection

2007-05-24 Thread Robert Szewczyk
This issue has been fixed in Boomerang but was never propagated to the main TinyOS tree. The underlying problem is that the TinyOS 1.x keeps UART on all the time, and one of the UART pins is kept high in the default state. When a node is disconnected from USB, that pin powers the USB circuit, a

Re: [Tinyos-help] CTP/TestNetworkApp sending undesirable periodic messages to serial port

2007-05-24 Thread Philip Levis
On May 24, 2007, at 11:39 AM, Pedro Almeida wrote: Hello; I've been working over the TestNetwork demo application that comes with TinyOS 2 and it's been working well, despite some periodic messages that are being sent through the serial port, which I do not want them to. I've been looking

[Tinyos-help] More problems with frequencies

2007-05-24 Thread Bernardo Avila Pires
Hi! I am have been attempting to get BlinkToRadio to work, but it is not working. I do suppose it is due to frequency stuff. I've checked out CC1000Const.h and I've found the #ifndef CC1E_DEF_PRESET #define CC1E_DEF_PRESET (CC1E_915_998_MHZ) #endif But with another frequency value. What happe

[Tinyos-help] CTP/TestNetworkApp sending undesirable periodic messages to serial port

2007-05-24 Thread Pedro Almeida
Hello; I've been working over the TestNetwork demo application that comes with TinyOS 2 and it's been working well, despite some periodic messages that are being sent through the serial port, which I do not want them to. I've been looking around http://www.tinyos.net/tinyos-2.x/tos/lib/net/ctp/(s

Re: [Tinyos-help] TimerMilliC.getNow() Giving strange values.

2007-05-24 Thread Romain Thouvenin
OK, that makes sense ! I had never thought about that, thank you. I wonder if that explains such a difference though, I'll check. Romain On 5/24/07, David Moss <[EMAIL PROTECTED]> wrote: Romain - Are you specifying a second as "1000" or "1024"? If you started a Timer with .startPeriodic(1000)

Re: [Tinyos-help] TimerMilliC.getNow() Giving strange values.

2007-05-24 Thread Jon Green
Version 2.0.1 fixed my issues. Thanks for the help! On Thu, 2007-05-24 at 10:08 -0700, David Gay wrote: > On 5/24/07, Jon Green <[EMAIL PROTECTED]> wrote: > > I'm having a problem using the TimerMilliC component on a micaz mote. > > Occasionally the local time as reported by the getNow() functi

Re: [Tinyos-help] micaz,gain & tx power with eternal antennas

2007-05-24 Thread Robert Szewczyk
Danielle, 6 dBi antenna means in the main lobe, it will provide 6 dB gain over an idealized isotropic antenna. The directional antenna transmitting at -7 dB should give you performance comparable to a 0dBi antenna transmitting at maximum power (at least in free space). Additional comments: - a r

RE: [Tinyos-help] TimerMilliC.getNow() Giving strange values.

2007-05-24 Thread David Moss
Romain - Are you specifying a second as "1000" or "1024"? If you started a Timer with .startPeriodic(1000) or something, you would definitely be seeing slightly shorter than a second. Using binary milliseconds, .startPeriodic(1024), is more accurate. -David -Original Message- From: [

Re: [Tinyos-help] TimerMilliC.getNow() Giving strange values.

2007-05-24 Thread Romain Thouvenin
It reminds me of something I forgot to talk about. I have a typical sensor network of telosb motes that send data to a base station, which forwards the data to a Java application. The Java application logs the data received. Like oscilloscope, the motes sense 10 values, one per second, and send t

[Tinyos-help] Packet injection in TOSSIM (TOSBase)

2007-05-24 Thread Zhifeng Lai
Dear all, I would like to inject packets to TOSBase component in TOSSIM, so I do the followings: (1) Add dbg messages to TOSBase component for each event and command; (2) Run /TOSBase/build/pc/main.exe 1 (3) Run SF: java net.tinyos.sf.SerialForwarder -comm tossim-serial (4) Injec

Re: [Tinyos-help] TimerMilliC.getNow() Giving strange values.

2007-05-24 Thread David Gay
On 5/24/07, Jon Green <[EMAIL PROTECTED]> wrote: I'm having a problem using the TimerMilliC component on a micaz mote. Occasionally the local time as reported by the getNow() function seems to jump backwards 255 microseconds, then jump forward and start counting correctly. TinyOS 2.0 or 2.0.1?

Re: [Tinyos-help] use of msp430 watchdog timer

2007-05-24 Thread Steve McKown
On Thursday 24 May 2007 10:02, Steve McKown wrote: > Hi Michele, > > On Wednesday 23 May 2007 09:51, Michele Paselli wrote: > > I'm working with a platform based on the msp430 and I need to use one of > > the two internal timers (A or B) in order to generate an external clock. > > The problem is th

[Tinyos-help] TimerMilliC.getNow() Giving strange values.

2007-05-24 Thread Jon Green
I'm having a problem using the TimerMilliC component on a micaz mote. Occasionally the local time as reported by the getNow() function seems to jump backwards 255 microseconds, then jump forward and start counting correctly. I am still researching the problem, but the sequence always seems to loo

Re: [Tinyos-help] sending without sendDone

2007-05-24 Thread Steve McKown
On Thursday 24 May 2007 08:31, Aleksandr N. Sadkov wrote: > What will happen, if I will be sending packets not waiting sendDone events? > Is there some buffer or something else? If there is buffer, what its size? The AMSend interface doesn't implement any buffering. So you should check the value

Re: [Tinyos-help] use of msp430 watchdog timer

2007-05-24 Thread Steve McKown
Hi Michele, On Wednesday 23 May 2007 09:51, Michele Paselli wrote: > I'm working with a platform based on the msp430 and I need to use one of > the two internal timers (A or B) in order to generate an external clock. > The problem is that they're both already used by TinyOS, TimerA for the ADC > a

Re: [Tinyos-help] how to create component graph in tinyos2.0

2007-05-24 Thread Steve McKown
Good day, On Thursday 24 May 2007 08:23, qiting chen wrote: > In tinyos1.x,by typing make pc docs in an application directory,a document > "index.html" is created in /opt/tinyos-1.x/doc/nesdoc/pc,which contains the > Component Graph of the application. I'm just wondering how can I create and > vie

RE: [Tinyos-help] How can I use Xserve and XSniffer without install?

2007-05-24 Thread Giri Baleri
Hi Gary, XSniffer is a VB-based GUI and should install independent of Cygwin or TinyOS/MoteWorks environment you have. XServe, however requires a specific Cygwin dll (included in MoteWorks and MoteView installer). Xlisten provides only a very limited subset of XServe features/functions and it ca

Re: [Tinyos-help] nx_am_group_t on serial_header_t

2007-05-24 Thread Javier Almansa Sobrino
On Thu, 24 May 2007 07:50:39 -0700 Philip Levis <[EMAIL PROTECTED]> wrote: > On May 24, 2007, at 5:15 AM, Javier Almansa Sobrino wrote: > > > Hi!! > > > > I don't know what's the goal of nx_am_group_t field in serial_header_t > > structure. I was looking into the doc but I didn't find anything. >

Re: [Tinyos-help] use of msp430 watchdog timer

2007-05-24 Thread Jan Hauer
TimerA is only used by the ADC if you specify this in your ADC configuration - otherwise TimerA is not touched by the ADC code and you can use it for other purposes. Jan On 5/23/07, Michele Paselli <[EMAIL PROTECTED]> wrote: Hi all, I'm working with a platform based on the msp430 and I need to

Re: [Tinyos-help] nx_am_group_t on serial_header_t

2007-05-24 Thread Philip Levis
On May 24, 2007, at 5:15 AM, Javier Almansa Sobrino wrote: Hi!! I don't know what's the goal of nx_am_group_t field in serial_header_t structure. I was looking into the doc but I didn't find anything. someone knows something? Historically, AM packets have a group field, to distinguish logica

[Tinyos-help] Life expectancy of SerialForwarder

2007-05-24 Thread Romain Thouvenin
Hello, After running for 6 hours, SF reported (without crashing) an exception: Exception in thread "Thread-2" java.lang.Exception: TOSComm JNI library runtime error: available: Input/output error at net.tinyos.comm.TOSCommJNI.NativeSerial_available(Native Method) at net.tinyos.comm.

[Tinyos-help] sending without sendDone

2007-05-24 Thread Aleksandr N. Sadkov
Hello all, What will happen, if I will be sending packets not waiting sendDone events? Is there some buffer or something else? If there is buffer, what its size? Thanks for help, Regards, Sadkov Aleksandr. ___ Tinyos-help mailing list Tin

[Tinyos-help] how to create component graph in tinyos2.0

2007-05-24 Thread qiting chen
hi! In tinyos1.x,by typing make pc docs in an application directory,a document "index.html" is created in /opt/tinyos-1.x/doc/nesdoc/pc,which contains the Component Graph of the application. I'm just wondering how can I create and view the Component Graph of an app in tinyos2.0. Thank you for

[Tinyos-help] How to count how many persistent memory volumes there are in an application

2007-05-24 Thread Hugo Sousa
Hello all, Is there anyway to know (from within the application) how many memory volumes there are? I'm using a macro defined by me in a .h file, but that isn't very versatile, since I'm (or the person using my component is) the one who has to manually change the macro value. And since I've place

[Tinyos-help] requre patch for power profiling plugin in tinyviz

2007-05-24 Thread qiting chen
hi I've implemented my application "Surge" in tinyviz,with a minthop route protocal and the 802.11 stack in tinyos1.0. But no imformation appears in the power profiling plugin during the simulation.I'd like to know if there are some patches which can solve this problem.If so,what's the name of t

Re: [Tinyos-help] Error of cannot find 'ResourceDefaultOwner'

2007-05-24 Thread Hugo Sousa
Apparently your update wasn't complete. How do you update your tree? I use cvs update -A -d in the tinyos-2.x directory. But be careful if you have modified any tinyos files (either code files or makefiles, makelocals, and such) because if the version in the cvs repository is newer than your mod

[Tinyos-help] sim.stop() crashes tossim ?

2007-05-24 Thread Marek Jawurek
Hi there, I attempt to run several simulations controlled by a python script. The idea is not to recreate the tossim simulator for every run but to reset the simulation and start over. The problem is that apparently when I stop tossim with simcore.sim.stop() I get : [EMAIL PROTECTED] died - restar

[Tinyos-help] Re: TelosB temperature sensor

2007-05-24 Thread SANG Junjun
I think it should be new SensirionSht11C() This is the interface for Temperature and Humidity sensor implementation of TelosB: generic configuration SensirionSht11C() { provides interface Read as Temperature; provides interface DeviceMetadata as TemperatureMetadata; provides interface Read as

Re: [Tinyos-help] Detect a USB connection

2007-05-24 Thread Urs Hunkeler
Hi, I tried reading Port 1 Pin 2. It seems to work until the mote is re-disconnected. Somehow after the mote has been connected and then disconnected again, the pin always reads a logical one. Do I have to reset the pin somehow? Cheers, Urs Philip Levis schrieb: > On Feb 28, 2007, at 2:32 AM, A

[Tinyos-help] Profiler tool

2007-05-24 Thread D C Jinwala
Hi Just wanted to know is there any profiler tool for TinyOS env ? How do I know the exact codesize of an application in this environment ? TKS n RGDS DCJ ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley

[Tinyos-help] nx_am_group_t on serial_header_t

2007-05-24 Thread Javier Almansa Sobrino
Hi!! I don't know what's the goal of nx_am_group_t field in serial_header_t structure. I was looking into the doc but I didn't find anything. someone knows something? Thanks -- Nunca confies en un S.O. del que no tienes código fuente ;-) Javier Almansa Sobrino

Re: [Tinyos-help] Error of cannot find 'ResourceDefaultOwner'

2007-05-24 Thread Bernardo Avila Pires
Hello again Both have ResourceController interface. Am I supposed to just replace ResourceDefaultOwer por ResourceController? Can I use MicaBusC PW1 instead of Int1? I think it should be there... Thanks again Regards Bernardo 2007/5/24, Bernardo Avila Pires <[EMAIL PROTECTED]>:

Re: [Tinyos-help] Error of cannot find 'ResourceDefaultOwner'

2007-05-24 Thread Bernardo Avila Pires
I'm having a problem like that. I found in the archives a message from David Gay, according to which we should update the tree because this was due to some inconsistent tree. It happens that I have updated it, but nothing really changed. When I try to compile things using mts300 (including Sense

Re: [Tinyos-help] TelosB temperature sensor

2007-05-24 Thread Adam J. Forster
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Urs, Thanks a lot for your, that works just fine. I brought my TelosB unites from Crossbow, and it actually says on their data sheet that the Temp/Humidity sensor is a Sensirion SHT11. Once again thanks for your help. - -- Adam J. Forster Softwa

Re: [Tinyos-help] TelosB temperature sensor

2007-05-24 Thread Urs Hunkeler
Hi, It probably depends on the exact platform that you have and whether that platform has the (potentially optional) sensors installed. I use Tmote Sky with the sensors installed. You could try: components new SensirionSht11C(); OscilloscopeC.Read -> SensirionSht11C.Temperature; Cheers, Urs Ad

[Tinyos-help] TelosB temperature sensor

2007-05-24 Thread Adam J. Forster
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All, I would like to test the on-board temperature sensor on my TelosB units, using the Oscilloscope application under TinyOS 2.0.1. From the TinyOS 2 tutorial I can see that by default the Oscilloscope application uses the platform's default sens

[Tinyos-help] Question about MAC protocol used in T1

2007-05-24 Thread liangjing
Hi all, It is said the default TinyOS MAC is CSMA-based. I'd like to know which specific MAC protocol is used in T1. Is it S-MAC or T-MAC or something else? And could we find the related code in TinyOS's source code? Best Regards Jing ___ Tinyos-help

[Tinyos-help] micaz,gain & tx power with eternal antennas

2007-05-24 Thread Munaretto, Daniele
Dear all, I did other tests and removing the original antennas from the micaz motes reduces the tx range. Now, I have a new question. If I fix to 15 the RFpower (CC2420), it means -7dBm, and the attached directional antenna has a gain of 6 dBi, how should I consider the real TX power of