Assuming that you were getting good packets before making
your changes, then you changed the wrong thing. If Listen
is like the T1 version there is a Dump.java class that
does the output to the console: Dump.printPacket() is what
you want to change...this should not affect any of the
packet I/O handling. Also look at how other programs
do their message handling using a utility called MIG.

MS

Ashish Sharma wrote:
> Hi all,
> 
> I want to convert the hex data printed by Listen.java to decimal. Has
> anyone tried such thing? I made some modifications in the java
> (Listen.java) program but it seems the decimal data is being ignored..
> I am always getting 'Packet too long' or 'Bad packet', 'Ignoring
> unknown packet', etc... error. Some help in this regard would be
> appreciated.
> 
> Thanks,,
> Ashish Sharma,
> Communication & Information Technology,
> Universität Bremen.
> 
> _______________________________________________
> 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

Reply via email to