Michael Schippling wrote:
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.
Are you talking about the serialforwarder written in C?
Because it doesn't understand the message format, it just replies the
byte received from the serial to a given port.
Or do you really mean that there is a C program which understand the
message format and creates a C data structure to store them (like the
Java Packetizer does)?
This could be very useful to me (I'm not so skilled with java, I prefer
C), but I cannot find any such application in the tools dir.
Can you help me?
Fabrizio Stefani
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
_______________________________________________________________
This email has been ClamScanned by ArsLogica antivirus server !
www.clamav.net
_______________________________________________________________
--
Fabrizio Stefani, Ph.D.
Researcher
ArsLogica S.r.l.
IT Laboratories
Business Innovation Centre
Unit 6 - 1st floor
BIC, Via Trento, 117
38017 Mezzolombardo
(TN), Italy
Email: [EMAIL PROTECTED]
Skype: fabrizio.stefani
Phone: +39 0461 600253
Fax: +39 0461 603250
Web Site: www.arslogica.it
_________________________________
This email has been ClamScanned !
www.clamav.net
_________________________________
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help