[Tinyos-help] Getting Data from Tmote Sky's Sensors

akamthe at ucmerced.edu akamthe at ucmerced.edu
Mon Jan 8 11:06:38 PST 2007


Hi,

I was trying to execute the Oscilloscope program to acquire data from the Tmote Sky sensors. I install the Oscilloscope program on one node and TOSBase on another (which is connected to the PC). I dont get any error messages or warnings at this step. Then when I start Serial Forwarder I get the following messages:

akamthe at venus:/opt/moteiv/$ java net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyUSB0:tmote
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: NativeSerial_read
        at net.tinyos.comm.TOSCommJNI
.NativeSerial_read (Native Method)
        at net.tinyos.comm.NativeSerial.read(NativeSerial.java:65)
        at net.tinyos.comm.TOSSerial$ReadThread.flush(TOSSerial.java:59)
        at net.tinyos.comm.TOSSerial.<init>(TOSSerial.java :177)
        at net.tinyos.packet.SerialByteSource.openStreams(SerialByteSource.java:58)
        at net.tinyos.packet.StreamByteSource.open(StreamByteSource.java:51)
        at net.tinyos.packet.Packetizer.openSource (Packetizer.java:119)
        at net.tinyos.packet.AbstractSource.open(AbstractSource.java:77)
        at net.tinyos.packet.Packetizer.open(Packetizer.java:114)
        at net.tinyos.packet.PhoenixSource.run(PhoenixSource.java :167)
Java TOSSerial finalize


When I try to run "java com.moteiv.oscope.oscilloscope" after that from the Oscilloscope directory I dont see any output on the Oscilloscope screen (even after checking the scrolling and zoom out Y axis) . I realize the "java.lang.UnsatisfiedLinkError:" has something to do with missing libraries or dependencies, but I am unable to make any progress.

Could you please help me with this?

thanks,
ankur 



More information about the Tinyos-help mailing list