This website requires JavaScript.
052028afe8
Check if download/reporting thread are running
dc-download
Gerhard Hoffmann
2024-02-29 11:30:24 +0100
a240711946
(R)sync files of customer repository (under ./etc in the repository) with file-susyem /etc as very forst step of the update process, even before executing the opkg commands.
master
Gerhard Hoffmann
2024-02-27 13:56:38 +0100
75fdca95d9
set version to 1.4.1
Gerhard Hoffmann
2024-02-27 13:56:24 +0100
9b087f62f9
Check if json-file to be downloaded to device-controller is empty before starting a download.
Gerhard Hoffmann
2024-02-17 08:04:06 +0100
7d38cc1269
Set version to 2.0.0
2.0.0
Gerhard Hoffmann
2024-02-09 13:07:22 +0100
f5baad16d5
Prepend last-commit with pid of ATBUpdateTool (to be used in ISMAS).
Gerhard Hoffmann
2024-02-09 13:02:35 +0100
b35e6812aa
getDCVersionPreparedForDownload(): implemented.
Gerhard Hoffmann
2024-02-09 13:02:11 +0100
d7e709d997
Minor: make a 2-sec nap before starting reporting threadw
Gerhard Hoffmann
2024-02-09 13:01:15 +0100
4d93aa1392
getDCVersionPreparedForDownload(): added for future use.
Gerhard Hoffmann
2024-02-09 12:59:25 +0100
b0f1e0a493
Minor: reformatting code.w
Gerhard Hoffmann
2024-02-06 11:28:01 +0100
0dffc1d1c2
Create m_update-object inside of constructor of worker-class: this way the object belongs to the GUI-thread, and can be addressed via emit by the reporting thread.
Gerhard Hoffmann
2024-02-06 11:25:46 +0100
3581dd4b1d
doUpdate(): start reorting thread to report download-progress to GUI.
Gerhard Hoffmann
2024-02-05 16:31:24 +0100
8d2d7bbb15
Connect slots
Gerhard Hoffmann
2024-02-05 16:30:41 +0100
e2e7c0772d
Implemented slots: void onReportDCDownloadStatus(QString const &status); void onReportDCDownloadSuccess(QString const &msg); void onReportDCDownloadFailure(QString const &errorMsg);
Gerhard Hoffmann
2024-02-05 16:30:01 +0100
807cea1042
Added slots: void onReportDCDownloadStatus(QString const &status); void onReportDCDownloadSuccess(QString const &msg); void onReportDCDownloadFailure(QString const &errorMsg);
Gerhard Hoffmann
2024-02-05 16:28:34 +0100
80712964ef
Use of pointer m_update.
Gerhard Hoffmann
2024-02-05 16:26:53 +0100
978e98b2ee
removed dependency to interface.h
Gerhard Hoffmann
2024-02-05 14:53:56 +0100
44c2820130
Make sure to lookup only "apism", not the new "apism-tools"
Gerhard Hoffmann
2024-02-02 08:18:13 +0100
123f22cd21
add .gitignore file
Gerhard Hoffmann
2024-01-29 09:03:16 +0100
b60af1a4fc
Flowchart for ATBUpdateTool 1.4.0
Gerhard Hoffmann
2024-01-26 14:19:50 +0100
bb3ecc4b76
Use same interfaces.h as DCLibraries (master branch)
Gerhard Hoffmann
2024-01-26 11:39:21 +0100
fa30fe045b
Minor: added interfaces.h
Gerhard Hoffmann
2024-01-26 11:38:43 +0100
bae014822d
Fix: set version info several times to reflect real current git commit
Gerhard Hoffmann
2024-01-26 11:17:06 +0100
6c472b542e
Merge remote-tracking branch 'origin/korneuburg-improvements'
Gerhard Hoffmann
2024-01-26 08:55:50 +0100
7578746d2f
make it explicit that no device-controller is loaded down with this version
v1.4.0
korneuburg-improvements
Gerhard Hoffmann
2024-01-25 15:46:46 +0100
0b1ed62df1
Optimization: if customer repository does not exist, do noy check the ISMAS trigger, but proceed with the update procedure.
Gerhard Hoffmann
2024-01-25 15:14:42 +0100
76ec41c291
Minor: add some comment.
Gerhard Hoffmann
2024-01-25 15:13:56 +0100
630cd36f13
Minor: removed typo
Gerhard Hoffmann
2024-01-25 11:54:13 +0100
cbe8bb7aeb
Minor: add comment
Gerhard Hoffmann
2024-01-25 09:01:04 +0100
e04636e3f7
Minor: add debug output
Gerhard Hoffmann
2024-01-24 13:07:39 +0100
728185ddb9
Set m_lastFailedUpdateStep = UPDATE_STEP::NONE as last step in case of a successful update.
Gerhard Hoffmann
2024-01-24 08:31:22 +0100
aaa485e2fc
Send messages to ISMAS for checking/repairing the customer repository
Gerhard Hoffmann
2024-01-23 16:09:15 +0100
9a9480035b
Improve output, esecially to ISMAS
Gerhard Hoffmann
2024-01-23 15:31:12 +0100
0a43654f9b
Improve output, esecially to ISMAS
Gerhard Hoffmann
2024-01-23 15:30:31 +0100
4dba36a420
Add and use UPDATE_STEP::UPDATE_FINALIZE in debug output.
Gerhard Hoffmann
2024-01-23 15:29:19 +0100
f9ce6a6c1b
Minor: remove obsolete line.
Gerhard Hoffmann
2024-01-23 12:22:48 +0100
c2c6bc3f8a
Minor: removed typo.
Gerhard Hoffmann
2024-01-23 12:18:10 +0100
8c02ebcf15
Minor: debug output to GUI.
Gerhard Hoffmann
2024-01-23 12:07:42 +0100
100bfd63ab
Do not write to GUO when running in loop to check ISMAS trigger button
Gerhard Hoffmann
2024-01-23 12:03:46 +0100
23ff4977d9
Disable exit button after checking update trigger button.
Gerhard Hoffmann
2024-01-23 12:02:18 +0100
8da6443833
Send additional messages to ISMAS about recovering the customer-repository
Gerhard Hoffmann
2024-01-19 13:58:08 +0100
6b3ebde2b5
Check for automatic update and add a hint in SEND-LAST-MESSAGE.
Gerhard Hoffmann
2024-01-19 13:40:24 +0100
41392a98e3
Minor: added comment.
Gerhard Hoffmann
2024-01-19 13:11:12 +0100
1c9bb11f0b
Moved final processing into destructor of subclsee UpdateProcessRunning.
Gerhard Hoffmann
2024-01-19 13:06:58 +0100
ec0e687c21
Adapt step order: check of ISMAS trigger is done with percent value 2.
Gerhard Hoffmann
2024-01-19 13:06:11 +0100
e040e784fc
Add members bool m_updateNotNecessary = false; QStringList m_ismasTriggerStatusMessage;
Gerhard Hoffmann
2024-01-19 13:05:46 +0100
d2300b87c6
Move final processing to subclass UpdateProcessRunning.
Gerhard Hoffmann
2024-01-19 13:04:12 +0100
0dff2ece75
Check ISMAS update trigger as very first thing. Save the result in m_ismasTriggerActive for later use.
Gerhard Hoffmann
2024-01-19 13:02:59 +0100
db24853062
Initialize new member m_ismasTriggerStatusMessage.
Gerhard Hoffmann
2024-01-19 13:01:46 +0100
530ea33460
Minor: debug output.
Gerhard Hoffmann
2024-01-19 08:29:03 +0100
005e4d249f
Set m_lastFailedUpdateStep (future use for downloading the firmware-device-controller).
Gerhard Hoffmann
2024-01-19 08:27:07 +0100
1c0786e28c
Minor: Add NONE constant (for UPDATE_NECESSARY).
Gerhard Hoffmann
2024-01-19 08:24:54 +0100
0aa8d9ba5a
Check if update-process was really necessary, i.e. NOT activated by an automatic nightly update.
Gerhard Hoffmann
2024-01-19 08:22:03 +0100
1ecb844b64
Added for future use when updating device-controller-frimware: hwinf *m_hw = nullptr; UPDATE_STEP m_lastFailedUpdateStep = UPDATE_STEP::NONE;
Gerhard Hoffmann
2024-01-19 08:20:21 +0100
9a687e6628
Minor: add some debug output
Gerhard Hoffmann
2024-01-19 08:16:26 +0100
979afa37d3
Minor: add comment
Gerhard Hoffmann
2024-01-17 15:38:05 +0100
1e1820724d
Set version to v1.4.0. Set compile-option -O (FORTIFY_SOURCE).
Gerhard Hoffmann
2024-01-17 15:32:26 +0100
d90954c6eb
Add location, version and info to send-last-version object.
Gerhard Hoffmann
2024-01-17 15:30:34 +0100
cf77d0ff76
Initialize m_versionInfo and send its contents to ISMAS in the update-process.
Gerhard Hoffmann
2024-01-17 15:28:49 +0100
73d02d214a
Send contant of m_versionInfo(0) (git commit of repository) to ISMAS.
Gerhard Hoffmann
2024-01-17 15:26:53 +0100
6a67d8e9b0
Minor: update percent numbers in some cases.
Gerhard Hoffmann
2024-01-17 15:26:14 +0100
30d8cc3684
Add m_version_info as memeber.
Gerhard Hoffmann
2024-01-17 15:25:35 +0100
bc9ebb7d68
Implemented helpers: QString getLocation(QString fileName); QString getTariffVersion(QString fileName); QString getTariffInfo(QString fileName);
Gerhard Hoffmann
2024-01-17 15:18:03 +0100
e6f6d43bf2
Adden helpers: QString getLocation(QString fileName); QString getTariffVersion(QString fileName); QString getTariffInfo(QString fileName);
Gerhard Hoffmann
2024-01-17 15:17:16 +0100
854c8b9706
Minor: add some additional debug output
szeged-with-dc.4.42
Gerhard Hoffmann
2024-01-10 09:58:37 +0100
d521fd977a
Using interface.h, verion 4.4, from 20230802. set version to v.1.3._25_
v1.3._25_
Gerhard Hoffmann
2023-12-21 13:02:12 +0100
ebbdc2f864
Use interface file from 20230802, version 4.4
Gerhard Hoffmann
2023-12-21 13:00:00 +0100
62496c5d95
Prepare special version for szeged. set version to 1.3._24_
v1.3._24_
Gerhard Hoffmann
2023-12-20 12:27:29 +0100
edd606fe78
Change for szeged (dc-version: 4.42): do not check if dc is alive. Comment out some functions which are not available in old interface.h
Gerhard Hoffmann
2023-12-20 12:20:06 +0100
1748c35c45
Add interfaces.h as given for 26.Sep 2023 (szeged)
Gerhard Hoffmann
2023-12-20 12:18:02 +0100
4c46932a3c
Specail version for szeged (dc-version: 4.42): use master lib.
Gerhard Hoffmann
2023-12-20 12:16:07 +0100
686e113c3a
Fix: add break when checking dc alive status. set version to 1.3.24.
v1.3.24
Gerhard Hoffmann
2023-12-19 14:30:58 +0100
6ddfbbfd9e
add a break to prevent possible endless loop
Gerhard Hoffmann
2023-12-19 14:25:59 +0100
7bfbdc0f07
Update flowchart for UpdateTool.
Gerhard Hoffmann
2023-12-19 13:05:10 +0100
dd591fdd23
Amde some preparations for sendLastVersion
Gerhard Hoffmann
2023-12-17 16:25:31 +0100
18c7b656c3
Add some new points.
Gerhard Hoffmann
2023-12-17 15:23:00 +0100
5e9b05e887
Set version to 1.3.23.
v1.3.23
Gerhard Hoffmann
2023-12-15 09:48:14 +0100
37aae73f21
Fix: Make sure the path for the json-files and the decive-controller is correct.
Gerhard Hoffmann
2023-12-15 09:39:46 +0100
0b4eed9dc0
doUpdate(): add another level in if-case when downloading json-files.
Gerhard Hoffmann
2023-12-15 09:38:01 +0100
12f48ad1bb
Remove only half-working check if download of json-conf-file worked.
Gerhard Hoffmann
2023-12-15 09:33:57 +0100
5d7d1a2870
Implement helpers getFileVersions() and checkDownloadedJsonVersions().
Gerhard Hoffmann
2023-12-15 09:32:54 +0100
5d7f13a254
Future: add getFileVersion() and checkDownloadedJsonVersions() to check if download of Json-File worked and to ask what Json-Version is actually installed
Gerhard Hoffmann
2023-12-15 09:30:02 +0100
d332a990d5
Turn on automatic download of json-files.
Gerhard Hoffmann
2023-12-15 09:27:49 +0100
bfa39eb3df
Set version to 1.3.22.
v1.3.22
Gerhard Hoffmann
2023-12-13 14:00:21 +0100
d7fcfa3d0f
Click the Exit button after 5 seconds timeout (old timeout: 60s).
Gerhard Hoffmann
2023-12-13 13:59:00 +0100
f1e449c108
Change known filename of device controller: dc2c.bin.
Gerhard Hoffmann
2023-12-13 13:57:46 +0100
32346c2665
If the repository is cloned (or repaired and cloned) and the settings always-download-config and always-download-dc are set in the ini-file, then download the json-files and dc-file, even without an activated WAIT-button. The tariff-files are always synced for a clone.
Gerhard Hoffmann
2023-12-13 13:49:22 +0100
38e7bf4985
Minor: call rsync with -v instead of -vvv.
Gerhard Hoffmann
2023-12-13 13:48:23 +0100
6df73e1082
Minor: change some debug output.
Gerhard Hoffmann
2023-12-13 13:47:02 +0100
19250a0a2f
If the update process is activated without a valid ISMAS trigger, then wait for a valid trigger value 15x (=90s) instaed of 100x.
Gerhard Hoffmann
2023-12-13 13:44:55 +0100
6f5c8103e4
When checking the sanity of the customer repository, check also for existence of etc-directory inside repository.
Gerhard Hoffmann
2023-12-13 13:42:12 +0100
07dcf0ba30
Minor: add some GUI debug output when checking ISMAS trigger.
Gerhard Hoffmann
2023-12-13 13:41:06 +0100
1e379cf086
Fix: set directory of application for directory of the ini-file.
Gerhard Hoffmann
2023-12-13 13:38:34 +0100
e87456f26b
set version to 1.3.21
v1.3.21
Gerhard Hoffmann
2023-12-13 10:06:04 +0100
0c9a7bc7b5
let ISMAS know if some opkg commands fail
Gerhard Hoffmann
2023-12-13 10:04:38 +0100
a35c6afcb8
Minor: add debug output if some opkg commands fail
Gerhard Hoffmann
2023-12-13 10:03:37 +0100
ab13a0c8f9
Merge https://git.mimbach49.de/GerhardHoffmann/UpdatePTUDevCtrl into gerhard-development
gerhard-development
Gerhard Hoffmann
2023-12-08 13:15:00 +0100
263a88ce24
Update current devl-status.
Gerhard Hoffmann
2023-12-08 13:09:19 +0100
b06f4f46bb
Update interfaces.h (DeviceController)
Siegfried Siegert
2023-12-08 13:02:23 +0100
33d45eab2e
Merge branch 'master' of git.mimbach49.de:GerhardHoffmann/UpdatePTUDevCtrl
Siegfried Siegert
2023-12-08 13:01:03 +0100