Hello,

I am following the tutorial: mote-pc serial communication and serial
forwarder. I am able to get the listener to dump the packets. Howerver, when
I try to use serial forwarder, I just get a blank window. Can someone help
me. It is urgent!

I am on Ubuntu.

Thank you

2010/7/26 Miklos Maroti <mmar...@math.u-szeged.hu>

> Hi!
>
> 2010/7/22 徐经纬 <stormheral...@gmail.com>:
> > Hi!
> > I have fixed my tinyos and I could compile everything. I have updated
> tinyos
> > tree and szte-wsn tree. But It still doesn't work.
> > The led0(red led) toggles and other leds didn't do anything..
>
> Strange. That means that the Send command fails for some reason. We
> use the MTS300 sensor board, but that should not cause this problem.
> We have never seen this behavior, and I still think that it can be a
> problem in your installation. Try reducing the sampling rate by
> changing
>
> call ReadStream.read(56);
>
> to
>
> call ReadStream.read(448);
>
> If that does not help, then you should try to figure out what error
> code des the call AMSend.send command return.
>
> Miklos
>
> >
> > 在 2010年7月20日 上午3:37,Miklos Maroti <mmar...@math.u-szeged.hu>写道:
> >>
> >> Hi!
> >>
> >> You have to set up your environment variables correctly. I use cygwin,
> >> and I have something like this set in my profile (or in a bash
> >> script):
> >>
> >> export TOSROOT="/cygdrive/c/tinyos/tinyos-2.x"
> >> export TOSROOTDOS="C:\\tinyos\\tinyos-2.x"
> >>
> >> export TOSDIR="$TOSROOT/tos"
> >> export MAKERULES="$TOSROOT/support/make/Makerules"
> >> export
> >> CLASSPATH="$CLASSPATH;$TOSROOTDOS\\support\\sdk\\java\\tinyos.jar;."
> >>
> >> export DEFAULT_PROGRAM=mib520
> >> export MIB520=com11
> >> export MOTECOM="ser...@com12:230400"
> >>
> >> export SZTETOSDIR="/cygdrive/c/tinyos/szte-wsn/tos"
> >>
> >> Search the archives, or look at how to install TinyOS. You should be
> >> able to compile the application, and if you edit some of the lib files
> >> (e.g. fastadc) to contain some incorrect code, then the compile should
> >> fail. This is a way to check that the right files are included in your
> >> app. Once you can compile everything, then let me know if it works.
> >>
> >> Best,
> >> Miklos
> >>
> >> 2010/7/19 徐经纬 <stormheral...@gmail.com>:
> >> > Hi, I just updated szte-wsn tree and tinyos via CVS in the afternoon.
> >> > But it
> >> > make me tinyos broken...
> >> > when i type "make iris", the system tell me that error.
> >> >
> >> > Unknown target iris
> >> > Known targets for TinyOS directory /home/raz/local/src/tinyos-2.x/tos
> >> > and the specified include directories are:
> >> > none.
> >> > make: *** [exe0] Error 2
> >> >
> >> > what's happen to it? is that the szte-wsn codes just suit for cygwin?
>  I
> >> > think maybe my environment variable settings wrong?
> >> >
> >> > 在 2010年7月19日 下午4:06,Miklos Maroti <mmar...@math.u-szeged.hu>写道:
> >> >>
> >> >> Hi,
> >> >>
> >> >> You have to update the szte-wsn tree too, since it uses the
> fastserial
> >> >> an fastadc libraries (nothing more) and the application. I am always
> >> >> developing against the tinyos CVS tree.
> >> >>
> >> >> Miklos
> >> >>
> >> >> 2010/7/19 徐经纬 <stormheral...@gmail.com>:
> >> >> > Ok, now I am updating my tinyos version vi CVS from sourceforge.
> and
> >> >> > szte-wsn must be updated? What's your tinyos version is? If i
> update
> >> >> > my
> >> >> > tinyos,th at program will works well?
> >> >> >
> >> >> > Thanks for your reply and having time to give some advice in my
> >> >> > trivial
> >> >> > question.
> >> >> >
> >> >> > 在 2010年7月19日 下午3:15,Miklos Maroti <mmar...@math.u-szeged.hu>写道:
> >> >> >>
> >> >> >> Then you have to download the latest version of both the
> tinyos-2.x
> >> >> >> tree and the szte-wsn tree from sourceforge. With tinyos-2.1.0 or
> >> >> >> 2.1.1 it will not work. You have to learn how to use the CVS.
> Miklos
> >> >> >>
> >> >> >> 2010/7/19 徐经纬 <stormheral...@gmail.com>:
> >> >> >> > I change SZTETOSDIR to TOSDIR(refer to my tinyos.sh
> >> >> >> > file,/opt/tinyos2.1.0/tos)..   I am not sure my CVS is latest
> >> >> >> > version..
> >> >> >> > I use tinyos 2.1.0.
> >> >> >> >
> >> >> >> > 2010/7/19 Miklos Maroti <mmar...@math.u-szeged.hu>
> >> >> >> >>
> >> >> >> >> Hi!
> >> >> >> >>
> >> >> >> >> Are you using the latest CVS version of tinyos-2.x (and not
> >> >> >> >> tinyos-2.1.1 or whatever)? Did you set your SZTETOSDIR
> >> >> >> >> environment
> >> >> >> >> variable?
> >> >> >> >>
> >> >> >> >> Miklos
> >> >> >> >>
> >> >> >> >> On Sun, Jul 18, 2010 at 8:13 AM, 徐经纬 <stormheral...@gmail.com>
> >> >> >> >> wrote:
> >> >> >> >> > Hi:
> >> >> >> >> > I want to use this application trying to sampling voice
> >> >> >> >> > information:
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> >
> http://szte-wsn.cvs.sourceforge.net/viewvc/szte-wsn/tinyos/apps/MicReadStreamTest/
> >> >> >> >> >
> >> >> >> >> > I installed the program into my IRIS motes. But leds show
> that,
> >> >> >> >> > in
> >> >> >> >> > event
> >> >> >> >> > ReadStream.readDone, its result is not SUCCESS(led2 is always
> >> >> >> >> > off).
> >> >> >> >> > and led0
> >> >> >> >> > toggle, because AMSend.send() returns FALSE.
> >> >> >> >> >
> >> >> >> >> > What's the problem with the code? or is that Mic turns on?
>  If
> >> >> >> >> > not,
> >> >> >> >> > How
> >> >> >> >> > could I do that?  Plz help me,  thx very much.
> >> >> >> >> > _______________________________________________
> >> >> >> >> > Tinyos-help mailing list
> >> >> >> >> > Tinyos-help@millennium.berkeley.edu
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> >
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >
> >> >> >
> >> >
> >> >
> >
> >
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to