Hello all,
I found that the packets over TCP/IP are normal HDLC packets, without any
packing, or change...so sorry for the mails up to here.
It would be great if such info is added to the description of
SerialForwarder.
Because I didn't find any information yesterday, I decided to open socket
and see what is received.
After few tests and applying correct UART settings, I am having good data
stream with HDLC packets.
Hristo Bojkov
.......TOS environment....................................
OS : WinXP + cygwin
TOS: 2.0.2
Dev : Moteiv tmote sky; Maxfor MTS--EM3000, MTS--EM4000, Meshnetics zigbit
A1281
Java: jdk1.5.0_06
From: Hristo Bojkov
Sent: Tuesday, April 01, 2008 8:33 AM
To: shankar satish
Cc: tinyOS-help
Subject: Re: [Tinyos-help] serialforwarder
Hello Shankar
Thank you for the link. But the link that you send me is about the protocol
which is used let say between Listener and SerialForwarder. I am looking to
replace SerialForwarder with different application. So I need the protocol
between the BaseStation mote and the SerialForwarder, when a tcp connection
is used. The outgoing protocol after this app is very specific to a GPRS
module we use, so I am not sure if it will be of any use to you.
Hristo
.......TOS environment....................................
OS : WinXP + cygwin
TOS: 2.0.2
Dev : tmote sky
Java: jdk1.5.0_06
From: shankar satish
Sent: Monday, March 31, 2008 4:07 PM
To: Hristo Bojkov
Subject: Re: [Tinyos-help] serialforwarder
Hello Hristo,
The serial forwarder protocol is here:
http://cents.cs.berkeley.edu/tinywiki/index.php/Serial_Forwarder_Protocol
I am also trying to write a java app that can connect to serial forwarder
and print the received values to a file. Though I am acquainted with socket
programming in Java, I am not able to understand how to use the serial
forwarder's protocol. I would be greatful if you can show me your java code.
Thank you.
Regards,
Shankar.
Wireless Lab, TIFR.
On Mon, Mar 31, 2008 at 6:03 PM, Hristo Bojkov <[EMAIL PROTECTED]> wrote:
Hello
can anyone give me a link to description of protocol that is used between
ethernet connected base station and serial forwarder.
I have such basestation. I connect to it with command:
$ java net.tinyos.sf.SerialForwarder -port 9002 -comm
[EMAIL PROTECTED]:9001 &
[1] 532
$ java net.tinyos.tools.Listen -comm [EMAIL PROTECTED]:9002
Now I need to write my own app that will connect to tcp socket, so just link
to protocol info is enough for me.
Hristo Bojkov
Senior Embedded Designer
IdXS, Bulgaria
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 2990 (20080401) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help