...cc'ing back to the help list... We just had a discussion of why you need to put a platform name in your MOTECOM instead of a baudrate. W/o the name the message format defaults to the original mica2 AM.h structure, search back on this list a week or two.
ListenRaw is not so smart about ports so good luck with the -p thing. Don't know why parity is false, although when I do it on Widows: Opening port COM3 baud rate: 57600 data bits: 8 stop bits: 1 parity: 0 I assume 0 is false, so I guess it's OK. But the point was, do you get any data when you do ListenRaw? If not there is something else strange going on. MS Farooq Sultan wrote: > > > <http://www.flamingtext.com/hmail2.html> > -Regarding the Motecom setting I am using the following command: > java net.tinyos.tools.Listen -comm ser...@com1:57600 > using the same port and COM1 I can receive data whn using Hypertrminal > > - I tried using the ListenRaw command but when i type -p I do not get > the list of available ports. Also when I wrote this command: > > java net.tinyos.tools.ListenRaw COM1 > Opening port COM1 > baud rate: 57600 > data bits: 8 > stop bits: 0 > parity: false > > I dont understand why the parity is false. > Is there any way I can set these myself for COM1? > How do I change MOTECOM for a specific message format? > > Thanks > > Date: Tue, 13 Oct 2009 11:20:20 -0600 > > From: [email protected] > > To: [email protected] > > CC: [email protected] > > Subject: Re: [Tinyos-help] serial forwarder and hyper terminal > > > > Make sure you are using a MOTECOM setting that matches the > > baudrate and AM message header format that your node uses. > > Also try the ListenRaw program to see exactly what you are > > getting. Hyperterminal probably tries to interpret everything > > as ASCII whereas the message is binary. > > > > MS > > > > farooq_s wrote: > > > hi, > > > > > > when i connect my custom node with COM1, I can receive data in > hyperterminal > > > but cannot do so in tinyos. I have tried both the java > > > net.tinyos.tools.Listen and the serialforwarder but both display > > > resynchronizing and then nothing happens. What can i do to enable > > > communication using the Listen command in tinyos? > > > > > > I will be waiting for your replies! > > > > > > regards, > > > Farooq Sultan > > ------------------------------------------------------------------------ > Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up > now. <http://clk.atdmt.com/GBL/go/171222985/direct/01/> _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
