Commit Graph

49 Commits

Author SHA1 Message Date
81c5f8ee7e Save for the weekend. 2023-10-20 13:55:18 +02:00
89d1ec5b21 Deactivate download of device controller. Will be added in coming
version.
2023-10-06 12:58:38 +02:00
f38c975dc6 Remove check for which parent has started atbupdatetool: it is always
systemd now.
2023-10-06 12:57:38 +02:00
fba007aa35 Activate download of json-configuration files. 2023-10-06 12:56:03 +02:00
30603317c6 Minor: Add debug messages or change debug message format. 2023-10-06 10:47:08 +02:00
d688ad3d5c Minor: comments 2023-10-04 10:34:56 +02:00
7b3f652b0e Deactivated doUpdate 2023-10-04 10:20:52 +02:00
17a4a69df2 Added some debug output for parent-process-name 2023-09-11 10:14:04 +02:00
adfb358e12 Add some output to see if start of the update tool is configured correctly. 2023-09-10 16:51:36 +02:00
ff418b11a1 Use plauginLoader as a dedicated static object. 2023-09-10 16:51:07 +02:00
a07893ddab doUpdate() and updateDC(): communicate with main window to enter bootloader
(i.e. to prepare device for download of device controller firmware), but do not
perform an actual download at the moment.
2023-09-09 14:59:05 +02:00
d0eb1d12d8 Add some debug output to updateBinary(). 2023-09-09 14:57:49 +02:00
cd59a39569 Add some more debug output to updateBinary(). 2023-09-09 14:57:04 +02:00
67c8b2f472 Extended comment: USING THE BOOTLOADER. 2023-09-09 14:55:48 +02:00
5158878ce2 Extend comment for: USING THE BOOTLOADER.
Bitte geben Sie eine Commit-Beschreibung für Ihre Änderungen ein. Zeilen,
2023-09-09 14:54:48 +02:00
b6971c1db5 resetDeviceController(): deprecated. 2023-09-09 14:54:12 +02:00
9df46a1c49 Add some debug output to openSerial(). 2023-09-09 14:53:36 +02:00
6765b12f0c startBootloader(): deprecated. 2023-09-09 14:52:40 +02:00
0fb38013f7 Work with device controller file directly, not via link.
Add startProgress/stopProgress().
2023-08-09 15:09:44 +02:00
332d689b8c Add worker-object to be able to update for the worker. 2023-08-02 15:47:19 +02:00
43f5f3ecae Removed usage of any files. Removed any dependencies on git-hooks.
Removed handling of opkg-related things: they are done now inside the worker itself.
2023-07-17 16:45:11 +02:00
f963b61ebc Added helper functions. Update will be used heavily by the Worker-class in a later stage. 2023-07-14 13:34:48 +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
61c847102d Open/empty update_log.csv/.csv.copy at start. Added some debug-output 2023-06-29 12:42:16 +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
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
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
e79d6c6fef Added maintenance-mode parameter. Activated handling of opkg-commands. 2023-06-20 16:14:13 +02:00
810b603d70 Added updateDC() and updatePrinterTemplate(). Prepared for live testing. 2023-06-19 16:01:29 +02:00
ccc1bf2a99 Add functionality from hwapi to download device controller to dc-hardware 2023-06-16 16:51:30 +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
35d40e3b3c Add handling of update-script 2023-05-26 13:03:38 +02:00
2b5fca73a2 removed c++-headers. 2023-05-22 16:06:52 +02:00