An example Program for the SimpleSerialProtocol Library, This program will receive a packet, then echo it back to the client
Dependencies: mbed SimpleSerialProtocol MODSERIAL
A simple example program that receives a packet over serial and echos it back.
I include this java program to show an example client application, all this program does is send packets as fast as it can without filling up its output buffer, the mbed will echo these packets back.
This is a good benchmark of the serial connection, and should show about 11KB/s at 115200baud
/media/uploads/p3p/serialecho.zip
example command: java -jar SerialEcho.jar com3 115200
Revision 1:c007775d6d21, committed 2011-11-24
- Comitter:
- p3p
- Date:
- Thu Nov 24 23:21:44 2011 +0000
- Parent:
- 0:109a0b974600
- Child:
- 2:8799090c0fe4
- Commit message:
Changed in this revision
SimpleSerialProtocol.lib | Show annotated file Show diff for this revision Revisions of this file |
--- a/SimpleSerialProtocol.lib Thu Nov 24 23:20:44 2011 +0000 +++ b/SimpleSerialProtocol.lib Thu Nov 24 23:21:44 2011 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/p3p/code/SimpleSerialProtocol/#bfb164b5d829 +http://mbed.org/users/p3p/code/SimpleSerialProtocol/#363a3b7ca868