15 Commits

Author SHA1 Message Date
ac93e9e631
Send W255 on restart CArun 2024-07-15 11:09:37 +02:00
c1dd20ec4f
Restart carun on consecutive E255 2024-07-15 11:09:28 +02:00
492d3a107a
Diag: set timeout for diagRequest from config ...
Option: "ATBDeviceControllerPlugin/diagTimeout"
 Description: Timeout for diagRequest in seconds.
 Default value: 45s
2024-06-03 12:09:34 +02:00
962cd01eac
Re-enable sending DC-State after closing doors 2024-06-03 11:53:58 +02:00
7b25f86d6b
CoinEscrow error is considered a warning (W010) 2024-05-17 14:08:07 +02:00
379a5d4e3e
Diag: track ErrorState 2024-03-19 13:43:01 +01:00
70b488de66
Diag: send operate (O000) only if State has changed 2024-03-12 16:20:39 +01:00
7ae4ddd851
Use global interfaces.h 2024-01-31 13:42:51 +01:00
d2efe566c5
Add persistentData to store dc-fw-version
Reading dc-fw-version is somehow complicated ...
Id does not work reliable on startup, so we do read it also on every
diagRequest().
Version string is then stored in persistent data.
This data can be used e.g. by other tools to show the
device-controller-firmware-version.
2024-01-31 11:34:00 +01:00
48d65b679f
Add interface for coinProcessor() and billAcceptor() 2023-11-23 17:58:36 +01:00
0fd20d1dc4
Rework machine diag:
- allways check for whole system state (all errors / warnings)
   -> e.g. an error does not hide an other error or warning
 - send machine event only once
 - store sent events in a QSet-container
 - clear this container if no error / warning is detected

Note: there is currently no message for releasing a certain single error
/ warning. So it is no worth in removing a single entry in
QSet-container. This is a task for later program versions.
2023-07-26 18:11:41 +02:00
6a39aae7a6
Diag: re-map error codes according to old Szeged error list 2023-07-25 11:14:26 +02:00
34ec52250b
Diag: use enum for dc-state (including warnings) 2023-07-25 07:59:58 +02:00
334d67fd22
Send voltage Value as healthEvent 2023-07-05 20:00:48 +02:00
6a19fd7608
Add class DeviceControllerDiag to supervise DeviceController state 2023-06-22 08:44:16 +02:00