a94606ca89Added sendRequestReceiveResponse(): static member for communication with APISM, on ports 7777 and 7778. Each request is immediately handled in a synchronous fashion. Added several helper functions to format messages to be sent to APISM/ISMAS.Gerhard Hoffmann2023-08-02 15:13:05 +02:00
37c5c7c4f6Simplified interface. When doing a clone of the repository, do not execute any other commands.Gerhard Hoffmann2023-07-17 16:49:44 +02:00
5eb33f3e31Minor change: renamed function sendUpdateInfToIsmas() to emulateUpdatesAvailable() for clarity.Gerhard Hoffmann2023-07-17 16:48:04 +02:00
43f5f3ecaeRemoved usage of any files. Removed any dependencies on git-hooks. Removed handling of opkg-related things: they are done now inside the worker itself.Gerhard Hoffmann2023-07-17 16:45:11 +02:00
c503750e90Simplified interface of ctor. onHandleChangedFiles(): split handling of opkg_commands-file and downloading of DC/JSON-Files. rsync to file-system only once these operations were successful.Gerhard Hoffmann2023-07-17 16:43:05 +02:00
f5198efab3Added worker/worker-thread-pair. Worker uses event-loop of worker-thread. Worker itself is used as work-horse for the update-process.Gerhard Hoffmann2023-07-14 13:32:00 +02:00
d6446f90feRemoved C++-thread-handling, replaced it with Qt-versions. Using explicit Worker instance instead.Gerhard Hoffmann2023-07-14 13:29:52 +02:00
58bceb5d27Started ISMASClient providing the data to be sent to ISMAS. It does not send to ISMAS itself.Gerhard Hoffmann2023-07-14 13:28:41 +02:00
92084bed99Added call to waitForConnected() when doing a connectToHost(). Replaced some qCritical() with qDebug()-calls.Gerhard Hoffmann2023-07-14 13:27:14 +02:00
cd1c92a7dbCopied from ATBQT app. Added slots requestAvailableIsmasUpdates(), sendCmdSendVersionToIsmas() and sendUpdateInfoToIsmas().Gerhard Hoffmann2023-07-14 13:24:14 +02:00
d91d4261d9Add another utility function and added signal/slot ismasUpdatesAvailable/onIsmasUpdatesAvailable().Gerhard Hoffmann2023-07-14 13:13:03 +02:00
9df425f5f8Use Qt to format debug-info. Note that the full info is visible only in debug-mode.Gerhard Hoffmann2023-07-14 12:58:23 +02:00
5149a67d4bProvide the possibility to pass parameters to a command using a string-list. Has to be improved later.Gerhard Hoffmann2023-07-14 12:56:33 +02:00
26db620465use of worker/worker-thread so we can work without using buttons (as the cannot be triggered by an automatic update process)Gerhard Hoffmann2023-07-11 16:58:49 +02:00
c34944af8bAdd slots for catching output of underlying update_psa_script. iSetting timeout to 200000 when in maintenance-mode.Gerhard Hoffmann2023-06-27 17:29:10 +02:00
58684cf3c4Add new slots readyReadStandardOutput/Error and finished to get messages from included update_psa-script.Gerhard Hoffmann2023-06-27 17:25:23 +02:00
0668ab65beAdded helper-function downloadJson() to implement downloadinf print/conf/cash/device.json. Added some compile time flags used for testing.Gerhard Hoffmann2023-06-22 15:36:36 +02:00
f66ae498ceAdding methods for downloading DC2C_cash/conf/device.jsonGerhard Hoffmann2023-06-22 15:20:21 +02:00
4cee0e37daexecuteUpdateScript: 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.Gerhard Hoffmann2023-06-21 16:25:21 +02:00
9c343f3eebAdded planned methods updateConf() and updateCashConf(). Changed interface of updateDC() and updatePrinterTemplate()Gerhard Hoffmann2023-06-21 16:19:45 +02:00
e79d6c6fefAdded maintenance-mode parameter. Activated handling of opkg-commands.Gerhard Hoffmann2023-06-20 16:14:13 +02:00