[Tinyos-help] Configuration problems

2008-04-18 Thread Patrick Brady
hi folks,
i need a bit of help with configuration. When i run the tos-check-env, i get
the following errors:

Warning: CLASSPATH may not include '.'(that is the symbol for the current
working directory) Please add '.' to your CLASSPATH or you may experience
configuration problems.

Warning: The Java version found first by tos-check-env may not be version1.4
or version 1.5 one of which is required byTOS. Please ensure that the
located Java version is 1.4 or 1.5.

I've installed Java version 1.5 and changed the environment variable to
point to version 1.5 but I'm still getting these errors.
Any ideas???

Thanks.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Blink program problem

2008-04-21 Thread Patrick Brady
HI folks,
I have a bit of a newbie question. I'm trying to program the blink program
using the MIB520. The program compiles with no problems but when I try to
download it through the USB port I get the message:
***MIB520 must be defined
I've installed the correct drivers and my computer recognise the 2 assigned
ports as COM 6 &COM7.
I'm using the command $make mica2 install mib520, com6
Anyone have any ideas where i'm going wrong.

Thanks.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Base Station connection problems

2008-04-22 Thread Patrick Brady
hi guys,
I have a problem with my base station(MIB520) connection.
I'm using MoteView 1.4 and MoteConfig to program my motes.
When using MoteConfig, under the remote program tab, I'm clicking search and
the base station picks up any nodes i have.
Everything goes well and then after a couple of minutes I get a message:
There is no response from the base station.Please check your connections and
click Search again.
Unplugging the base station and restarting MoteView fixes it for another
couple of minutes and then it looses its connection again.
Has anyone had a similar problem or have any idea what might be going wrong.

Thanks,
Pat Brady.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] PostgreSQL install problem

2008-05-16 Thread Patrick Brady
hi,
i'm having a problem installing PostgreSQL 8.0.0-rc1 on XP. I'm using the
insallation disk that came with the X-Bow developer kit i'm using.
Everything goes fine(installing moteview etc.) untill the installation of of
PastgreSQL. The files seem to get copied and then i get the following
message:
Failed to create process for initdb: The service cannot be started
either because it is disabled or because it has no enabled devices
associated with it.
I've enabled all services that were disabled on my pc and tried
re-installing from scratch but still getting the same problem.
Has anyone had similar problems or know how to fix this???

Thanks,
Pat.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] mica2 data

2008-05-23 Thread Patrick Brady
hi all,

I'm pretty new to working with these sensors and I'm trying to write my own
application to display the data.
Problem is that I don't know how the data is tranmitted to the serial port.
What I mean by this is, I don't know how big the bytes of data being sent
from the sensor, are but more importantly I don't know which bytes represent
which data. I've checked the data sheets and couldn't find what I was
looking for there.
Does anyone know the answer to this or know where I could get this
infomation??

Thanks.

Oh ya I'm using the Crossbow mica2 (MTS400) boards.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tmoteinvent

2008-10-31 Thread Patrick Brady
hi folks,

I'm fairly new to tinyos and i have a question regarding the
OscilloscopeTMoteInvent application(TinyOs 1.x).
Does anyone know if there is an associated header(.h) file. I'm trying to
use the message interface generator(mig) but can't seem to find this file.
My installation was from the Boomerang CD that came with the motes.
Any help is appreciated.

Thanks.
Pat.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Serial Forwarder

2009-01-16 Thread Patrick Brady
Hi folks,

I'm a final year engineering student and for my project I'm trying to
develop a system using sensor networks.
I have 2 tmoteinvent sensors programmed with the oscilloscope application
and I'm trying to get the raw data from the sensors
into a Java program I'm writing in Eclipse.
I'm using the serial forwarder but when I try to connect I get the following
error message:


s...@localhost:9001 died - exiting (java.io.IOException: protocol error)

The code I'm using to connect is as follows:

PhoenixSource reader = BuildSource.makePhoenix( BuildSource.makeSF(
"localhost" , 9001 ), null );
reader.start( );
MoteIF moteif = new MoteIF( reader );
moteif.registerListener( new OscopeMsg( ) , new MessageListener( ) {
   public void messageReceived ( int dest , Message rawMsg ) {
  System.out.println( "Received." );
   }
} );

I'm pretty sure this code is right, but I don't understand the "protocol
error".
Any help is appreciated.

Thanks,
Pat.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help