Start Work on Firmware Update

This patch implements the first step towards OSTC 3 firmware update.
Its not much, just file selection, but I will build up on it from there.

Implements a thread to initiate firmware updates. Currently, this is
for the OSTC 3.

Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com>
Signed-off-by: Thiago Macieira <thiago@macieira.org>
This commit is contained in:
Joseph W. Joshua 2014-06-23 18:16:27 +03:00 committed by Thiago Macieira
parent 8aa7fddb22
commit cc6c385f33
7 changed files with 94 additions and 14 deletions

View file

@ -34,6 +34,7 @@ public:
void fetchDeviceDetails();
bool saveXMLBackup(QString fileName, DeviceDetails *details, device_data_t *data, QString errorText);
bool restoreXMLBackup(QString fileName, DeviceDetails *details, QString errorText);
void startFirmwareUpdate(QString fileName, device_data_t *data, QString errorText);
signals:
void message(QString msg);
void error(QString err);