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
SimpleSerialProtocol.lib@3:8ac7e37d0e0e, 2012-01-27 (annotated)
- Committer:
- p3p
- Date:
- Fri Jan 27 14:30:34 2012 +0000
- Revision:
- 3:8ac7e37d0e0e
- Parent:
- 2:8799090c0fe4
- Child:
- 7:1b18e5911ccd
Updated to reflect changes in the SimpleSerialProtocol API
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
p3p | 3:8ac7e37d0e0e | 1 | http://mbed.org/users/p3p/code/SimpleSerialProtocol/#7a63ee161a46 |