First usable version

This commit is contained in:
2021-08-26 18:48:27 +02:00
parent 1b64b4de81
commit ca0fdd3428
10 changed files with 172 additions and 1786 deletions

View File

@@ -20,6 +20,7 @@ public:
~YmodemFileReceive();
void setFilePath(const string &path);
void setDefaultFileName(const string &path);
void setSerialPort(TimeoutSerial *port);
TimeoutSerial *getSerialPort();
@@ -52,6 +53,7 @@ private:
Status status;
string filePath;
string fileName;
string defaultFileName = "";
uint64_t fileSize;
uint64_t fileCount;
};