Commit Graph

134 Commits

Author SHA1 Message Date
f5198efab3 Added worker/worker-thread-pair.
Worker uses event-loop of worker-thread.
Worker itself is used as work-horse for the update-process.
2023-07-14 13:32:00 +02:00
d6446f90fe Removed C++-thread-handling, replaced it with Qt-versions. Using explicit Worker
instance instead.
2023-07-14 13:29:52 +02:00
58bceb5d27 Started ISMASClient providing the data to be sent to ISMAS.
It does not send to ISMAS itself.
2023-07-14 13:28:41 +02:00
92084bed99 Added call to waitForConnected() when doing a connectToHost().
Replaced some qCritical() with qDebug()-calls.
2023-07-14 13:27:14 +02:00
cd1c92a7db Copied from ATBQT app.
Added slots requestAvailableIsmasUpdates(), sendCmdSendVersionToIsmas() and
sendUpdateInfoToIsmas().
2023-07-14 13:24:14 +02:00
9ca758ecd3 Added ISMAS_PARAMETER for ISMAS::REQUEST 2023-07-14 13:21:02 +02:00
3c54d8de6d Made GitClient a Qt-object. Impreoved several utility functions handling git commands.
Added slot onIsmasUpdatesAvailable().
Added helpers getLastCommit(), gitBlob(), gitCommitForBlob(), gitIsFileTracked().
2023-07-14 13:17:45 +02:00
d91d4261d9 Add another utility function and added signal/slot ismasUpdatesAvailable/onIsmasUpdatesAvailable(). 2023-07-14 13:13:03 +02:00
00f5216a9f Added utility functions. 2023-07-14 13:12:37 +02:00
aeae9002fe Made GitClient a Qt-Object. 2023-07-14 13:10:55 +02:00
9df425f5f8 Use Qt to format debug-info. Note that the full info is visible only in debug-mode. 2023-07-14 12:58:23 +02:00
5149a67d4b Provide the possibility to pass parameters to a command using a string-list.
Has to be improved later.
2023-07-14 12:56:33 +02:00
1309c27f7c Added ismas_client.h/.cpp. Added c++17-flag. 2023-07-11 16:59:49 +02:00
26db620465 use of worker/worker-thread so we can work without using buttons (as the cannot be triggered by an automatic update process) 2023-07-11 16:58:49 +02:00
bd213b8f8c start 2023-07-11 11:24:23 +02:00
31b7bd1314 Made split() a static member function. 2023-07-10 16:00:34 +02:00
0bdbd39632 Added directories for apism/command/process. 2023-07-10 15:59:28 +02:00
b979fb5b2a command-class as abstraction for executing git-commands. 2023-07-10 15:57:59 +02:00
cbefccd2d3 Add first commands for using AUBUpdateTool as git-client 2023-07-10 15:57:17 +02:00
0ebe274e9a Add files copied from ATBQT application 2023-07-10 15:56:20 +02:00
c4d09eb2ea Add -e (execute-script-only) and -d (dry-run) options 2023-07-06 16:54:01 +02:00
3039fcc553 remove superfluous \n 2023-07-06 16:52:32 +02:00
a67e587769 Activate download of printer templates 2023-07-06 15:14:52 +02:00
d89520d58e Activate updating device-controller-firmware. 2023-07-06 14:32:57 +02:00
06a9eba177 Turn auto-request ON in any case. 2023-07-06 14:32:20 +02:00
a41dc5403f Open serial port only if not already opened. 2023-07-06 14:31:32 +02:00
85b2c1f08e Write update_log.csv.copy in different format. 2023-07-06 14:30:48 +02:00
ba8dd7d083 updateDC(): stop boot loader even when not ven able to start it. 2023-07-06 14:28:46 +02:00
fa04e32266 When sending dc-data, fill the last block with 0xFF to stream-line the source code. 2023-07-06 14:27:44 +02:00
7d6b433373 Removed obsolete code. 2023-07-06 14:26:58 +02:00
faae8b8d9a Add aux. function isSerialOpen(). 2023-07-06 14:25:36 +02:00
a0d0de19c5 Use QThread::sleep() instead of std-C++-code. 2023-07-06 14:24:19 +02:00
17eaa7858f Add handling of test-mode. 2023-07-06 14:23:04 +02:00
f2556412d8 Comment some lines. 2023-07-06 14:21:29 +02:00
26557542f1 Added test-mode. Added aux. function isSerialOpen(). 2023-07-06 14:13:33 +02:00
6bb46e165c Add handling of VERSION. Add test-mode. 2023-07-06 14:12:41 +02:00
027529161d Add VERSION to be used inside application 2023-07-06 14:11:28 +02:00
61c847102d Open/empty update_log.csv/.csv.copy at start. Added some debug-output 2023-06-29 12:42:16 +02:00
3034f49c96 Minor change: add comment 2023-06-29 12:40:47 +02:00
528b74549a Aopen serial port only when necessary, i.e. when downloading device controller
or json-files.
2023-06-27 17:32:13 +02:00
c7acc2a99b Add comment for the procedure of downloading device controller. 2023-06-27 17:31:38 +02:00
61afdfc325 resetDeviceController(): use bl_rebootDC(). 2023-06-27 17:30:56 +02:00
c34944af8b Add slots for catching output of underlying update_psa_script.
iSetting timeout to 200000 when in maintenance-mode.
2023-06-27 17:29:10 +02:00
58684cf3c4 Add new slots readyReadStandardOutput/Error and finished to get messages
from included update_psa-script.
2023-06-27 17:25:23 +02:00
08122cf703 Update interfaces.h 2023-06-22 18:17:46 +02:00
fdd32cea92 Remove interfaces.h for update interfaces.h 2023-06-22 18:16:41 +02:00
7c17090a2b Remove deployment rules (conflict on yocto) 2023-06-22 17:54:11 +02:00
3de46ea099 Add Config PTU5_YOCTO 2023-06-22 17:46:09 +02:00
f46ac4075a activate only handling of opkg-commands 2023-06-22 15:43:21 +02:00
0668ab65be Added helper-function downloadJson() to implement downloadinf print/conf/cash/device.json. Added some compile time flags used for testing. 2023-06-22 15:36:36 +02:00