f8897c2950
Implement Update::getInstalledJsonVersions().
2024-05-15 15:02:53 +02:00
94a658ce8a
Add some IMPORTANT comments about the format of JSON files to be downloaded.
2024-05-15 15:02:10 +02:00
9d9865e3c7
downloadJson(): continue update-process even when downloading of some JSON file fails.
2024-05-15 15:01:16 +02:00
a7d5a8f5cd
Declaration of getInstalledJsonVersions() with default parameter.
2024-05-15 14:59:08 +02:00
cafd16a744
Read versions of JSON files installed on PSA (DC!).
...
If version is available, use as blob-value to be visible
in ISMAS.
2024-05-15 14:57:15 +02:00
5876c50a32
Make sure that SEND-LAST-VERSION is executed exactly once.
2024-05-15 14:56:41 +02:00
3b2200c0bf
Make sure that SEND-LAST-VERSION is executed exactly once.
2024-05-15 14:55:55 +02:00
e8070a9e16
set port name
2024-05-14 16:39:09 +02:00
da10d6c2f6
make compile
2024-05-14 16:38:47 +02:00
c52b276722
first draft
2024-05-14 16:38:19 +02:00
e9cb421ac5
Add first draft
2024-05-14 16:37:45 +02:00
a3aef7594e
Minor: add comment
2024-05-14 12:52:09 +02:00
afbcccf785
Minor: add comment about index shift: 4 -> 5
2024-05-14 12:51:32 +02:00
90e4e21391
System::getJsonFilesOnUsbStick(): return list of JSON files for configured
...
directory under mount path.
2024-05-14 12:49:28 +02:00
4536284f34
getUSBMountPath(): check for directory 'dirPathUnderMountPath' under mount path.
2024-05-14 12:48:19 +02:00
a3a4c09c7f
checkForUSBStick(): look for etc/psa_config in mountpath-directory.
2024-05-14 12:46:38 +02:00
a5dd9af29a
Add System::allowedJsonFiles to name default JSON file names.
2024-05-14 12:45:43 +02:00
5124e1cca6
Use return value of type std::optional<QString> for
...
checkForUSBStick() and getUSBMountPath().
Add getJsonFilesOnUsbStick().
2024-05-14 12:43:46 +02:00
fc75585de3
Parse psa-config-directory and psa-tariff-directory.
2024-05-14 12:40:32 +02:00
1964b08349
doUpdate(): use parameter 'usbStickDetected' to use the correct JSON
...
filenames.
2024-05-14 12:38:31 +02:00
c0d014644c
Update (conf) JSON-Files using USB stick. When plugged in, look for
...
JSON-files in directory psa-config-directory and load them to the PSA.
Note: these files are overwritten during a usual ISMAS-update if not
checked in into the customer repository.
2024-05-14 12:35:18 +02:00
b24c50c572
Parse psa-config-directory and psa-tariff-directory settings.
2024-05-14 12:33:40 +02:00
bbdadc9063
Include psa_config_directory and psa_tariff_directory settings.
2024-05-14 12:32:26 +02:00
dc7f839d3f
Include ATBUpdateTool.ini
2024-05-14 12:31:19 +02:00
0a33d078be
Set version to 1.4.8
2024-05-08 16:20:54 +02:00
1d64769094
Fix: shift jsonNr by 1 in checkDownloadedJsonVersions(); print-templates start now with 6 instead of 5.
2024-05-08 16:17:28 +02:00
2e3af64c02
getFileVersion(): use only 16 byte of buffer filled by DC with version-info
...
of JSON-file.
2024-05-08 16:16:13 +02:00
f8472a3b87
call update.checkJsonVersions(filesToUpdate) after doUpdate().
2024-05-08 16:10:20 +02:00
24addad11e
Implement getFileversion().
2024-05-08 16:09:18 +02:00
5a8298a078
Implemented checkJsonVersions().
2024-05-08 16:08:53 +02:00
52af7894db
Minor: remove useless assignments.
2024-05-08 16:08:01 +02:00
a6592ffd3e
Check m_hw for nullprt.
2024-05-08 16:07:27 +02:00
696db7de39
Don't call exit(), but return nullptr.
2024-05-08 16:06:14 +02:00
b31588bfab
checkJsonVersions(): provide default parameters
2024-05-08 16:04:53 +02:00
6651920f4a
Merge branch 'release_1.4.6'
2024-05-06 11:29:29 +02:00
ef800366e1
Make compile with yocto/bitbake
2024-05-06 10:59:31 +02:00
1acec4d876
revert to original version of the file (tag: 1.4.7)
2024-05-06 10:28:43 +02:00
46c481b862
Add worker_thread.h/.cpp
2024-05-06 06:25:03 +02:00
8945ead5d6
set setting for opening serial device
2024-05-06 06:24:25 +02:00
bc064c38c6
use only one thread
2024-05-06 06:23:52 +02:00
f741fb96f9
start main sources
2024-05-05 17:26:34 +02:00
8d1c719626
form fir mainwindow
2024-05-05 17:25:07 +02:00
b5389a599e
add main window
2024-05-05 17:24:28 +02:00
ea2f42beed
Add gui-form and sneder/receiver-thread source.
2024-05-05 17:23:08 +02:00
22e751e197
Minor: add comment
2024-05-03 13:35:33 +02:00
05c7d11ef8
Only create m_update-object if it is configured to update hardware (JSONs and DC).
2024-05-03 13:32:39 +02:00
63dc70dda9
Check if it has to be possible to update hardware (JSONs, DC). If yes, then exit().
2024-05-03 13:31:04 +02:00
e5ab9b98cd
Set Version to 1.4.7
2024-05-03 13:14:57 +02:00
4477647acf
Check m_hw before its use
2024-05-03 13:11:33 +02:00
d64b029a2d
loadDCPlugin(): never call exit() inside a library.
2024-05-03 13:08:25 +02:00