The messages are not in ASCII format, which I think you are
hoping for by inference from your question.

They are in the same TOS_Msg format as received from
the TOSBase Mote. They are fixed length binary, but if you
use the Java Packetizer class or the C equiv in the tools
directory (in T1) you shouldn't have to know.

MS


Ian Welch wrote:
When serial forwarder forwards the packets to a designated are the each terminate by a "Carage Return Line Feed"?

The reason I ask is because I'm writing a program to listen to the SF port to save Mote data packets. Every now and again the data on the port comes out a different size and throws my program. If there is a termination character at the end of each packet I could resolve this problem.

Also, I don't know Java so looking through the tools source code doesn't really help.

Thanks,
   Ian


------------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to