Commit Graph

503 Commits

Author SHA1 Message Date
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
f66ae498ce Adding methods for downloading DC2C_cash/conf/device.json 2023-06-22 15:20:21 +02:00
e420f95eb0 Fix: do not print an empty buffer ending with \n 2023-06-22 15:19:17 +02:00
809440ba95 Added comment 2023-06-22 15:18:20 +02:00
c6ea94e249 Added some commnts. 2023-06-21 16:25:53 +02:00
4cee0e37da executeUpdateScript: set timeout to 200 secs. Open serial port only once for the whole loop handling the lines in update_log.csv. Sending of device controller in Debug-setting worked. Execution of opkg-commnds worked. Sending of JSON files needs further testing: sys_readyForSending failes sometimes after 5 seconds. 2023-06-21 16:25:21 +02:00
9c343f3eeb Added planned methods updateConf() and updateCashConf(). Changed interface of updateDC() and updatePrinterTemplate() 2023-06-21 16:19:45 +02:00
e79d6c6fef Added maintenance-mode parameter. Activated handling of opkg-commands. 2023-06-20 16:14:13 +02:00
88013e82f0 Added maintenance-mode parameter 2023-06-20 16:13:11 +02:00
079a6910dd Added flag for maintenance-mode 2023-06-20 16:08:42 +02:00
bbf97dc58d network-setting not necessary. Make console-setting explicit. 2023-06-20 16:08:02 +02:00
810b603d70 Added updateDC() and updatePrinterTemplate(). Prepared for live testing. 2023-06-19 16:01:29 +02:00
8281303a55 Added updateDC() and updatePrinterTemplate() 2023-06-19 16:00:22 +02:00
a4afeeb396 Added Qt-commandline parser 2023-06-19 15:59:17 +02:00
bc3a801b8d Renamed ATBUpdateDC to ATBUpdateTool 2023-06-19 15:58:15 +02:00
f52dec9124 Just for saving 2023-06-16 16:54:21 +02:00
07942153c3 Add newest dc-library 2023-06-16 16:53:02 +02:00
bac848f6be update interface.h to fit newest version of dc-controller-software 2023-06-16 16:52:22 +02:00
ccc1bf2a99 Add functionality from hwapi to download device controller to dc-hardware 2023-06-16 16:51:30 +02:00
c8487a7541 fixed handling of debug levels 2023-06-16 16:49:20 +02:00
dc90705f24 re-implement to use dc-plugin as shsred onject 2023-06-16 16:48:58 +02:00
c4c503080e Do not use DCPlugin subtree anymore 2023-06-16 16:47:56 +02:00
e2d9c5aa90 Comit helper-classes for now 2023-06-16 16:47:13 +02:00
60f845aa8d generated from tex file 2023-06-16 16:45:03 +02:00
fa0c31d9e4 save for the weekend 2023-06-02 14:17:48 +02:00
57b82094c8 removed handling of tariff, as this is not downloaded to dc 2023-05-30 16:49:48 +02:00
af337874a6 removed handling of tariff, as this is not downloaded to dc 2023-05-30 16:47:00 +02:00
f016e9777e Added default parameter to split() 2023-05-30 16:44:55 +02:00
85bec3364f deleted obsolete file 2023-05-26 13:04:43 +02:00
35d40e3b3c Add handling of update-script 2023-05-26 13:03:38 +02:00
71a6b82d58 Add env-var XDG_RUNTIME_DIR 2023-05-26 13:02:45 +02:00
de75ef32d9 start docu for update_ptu 2023-05-26 13:01:44 +02:00