Adds file transfer capability to SimpleSerialProtocol
Dependents: SerialFileReceiver
Diff: SerialFileTransfer.cpp
- Revision:
- 1:f8aaff9c57e3
- Parent:
- 0:31dff1f79b4f
diff -r 31dff1f79b4f -r f8aaff9c57e3 SerialFileTransfer.cpp --- 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