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
Files at revision 13:e27d84516fa8
Name | Size | Actions |
---|---|---|
[up] | ||
MODSERIAL.lib | 55 | Revisions Annotate |
SimpleSerialProtocol.lib | 66 | Revisions Annotate |
TestProtocol.cpp | 1028 | Revisions Annotate |
TestProtocol.h | 1198 | Revisions Annotate |
main.cpp | 716 | Revisions Annotate |
mbed.bld | 65 | Revisions Annotate |