Adds file transfer capability to SimpleSerialProtocol
Dependents: SerialFileReceiver
Revision 1:f8aaff9c57e3, committed 2014-09-18
- Comitter:
- p3p
- Date:
- Thu Sep 18 17:48:59 2014 +0000
- Parent:
- 0:31dff1f79b4f
- Commit message:
- Updated to reflect changes in SimpleSErialProtocol
Changed in this revision
SerialFileTransfer.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SerialFileTransfer.cpp Wed Aug 27 17:59:05 2014 +0000 +++ b/SerialFileTransfer.cpp Thu Sep 18 17:48:59 2014 +0000 @@ -102,5 +102,5 @@ AckFileStartPacket message; message.interface.ack_type = ack_type; message.buildData<AckFileStartPacket::Interface>(&message.interface); - comms->sendPacket(&message); + comms->send(&message); } \ No newline at end of file