The command *java net.tinyos.tools.MsgReader uint_8_msg *will only print something if it detects *uint_8_msg* type structure in the incoming data. Or else it will keep quite after printing the msg you saw. Also for this you need to create a Java message class for uint_8_msg.
Make sure you have created the right java message class<http://docs.tinyos.net/index.php/Mote-PC_serial_communication_and_SerialForwarder>before using the command. Regards, Sripada Kadambar IISc, Bangalore On Fri, Apr 23, 2010 at 3:30 PM, Isabelle Hang < [email protected]> wrote: > Hi all, > > > > I have ported a programme from tinyos 1.x to 2.x. The programme can be > compiled and now I try to set up the pc-mote-communication and there seems > to be problem. > > If I use > > *java.net.tinyos.tools.Listen* > > I get a response, which seems to be correct. > > But if I use > > *java net.tinyos.tools.MsgReader uint_8_msg* > > I only get the following message > > *ser...@com4:57600:resynchronsing* > > There is no error message or any kind of output. ( I would expect some kind > of information.) > > I must add that there are several _msg structures in my programme. Can > this be the problem? > > Has anybody an idea? > > > > Best Regards > > Isabelle > > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
