Commit Graph

127 Commits

Author SHA1 Message Date
87bc5b5c1e writeToSerial():
Always write next message. Set writeCount. Clear() serial line before sending.
	Flush() serial line after sending.
2024-10-16 13:03:20 +02:00
ff746a45bc Use readCount to track number of read messages. 2024-10-16 13:02:27 +02:00
d540f1b467 Use writeCount instaed of readCmds. 2024-10-16 13:01:41 +02:00
ca2d9e1b5a Minor: added debug output in error case 2024-10-15 12:45:38 +02:00
4c770349bf removed waitForBytesWritten() 2024-10-15 12:44:56 +02:00
209132054f Added sanity check if there is a command active but no data can be read on the serial line 2024-10-15 10:51:20 +02:00
0f7ab3c71c Minor: adding comments 2024-10-15 10:49:30 +02:00
2b2cd25276 Minor: add waitForTestResponse 2024-10-15 10:08:49 +02:00
08bb513c7b Minor: set recBuf to a definite value 2024-10-15 10:08:11 +02:00
36a8f07069 Pass "this" as parent 2024-10-15 10:07:29 +02:00
900b0ef952 loadRecDataFromFrame():
Read last message if only one command to device controller is active.
	Otherwise assume that the data is obsolete. Trigger the sending
	of a known test-response to find new valid data-stream.
2024-10-15 10:04:40 +02:00
26a11e6c56 writeToSerial():
Only write to serial interface if no current command has been
	sent to DC already.
2024-10-15 10:00:34 +02:00
6321f9068f Add helpers getReadSource() getSerialPort(). 2024-10-15 09:57:49 +02:00
9daa5e17cb Introduce a vector of commands currently sent to device controller. 2024-10-15 09:54:09 +02:00
de61de85f1
Merge branch 'fix_validDataIssue' 2024-09-26 13:26:19 +02:00
4e58fbe4e1
Add plausibility check for inserted coins 2024-09-26 11:48:39 +02:00
647dc9fe4b
Handle: valid data problem while start with coin attached:
Enable command 30 also during sell
2024-09-26 11:45:10 +02:00
433af98de7
Fix: setupStep sequence 2024-07-25 15:34:47 +02:00
492d30aaf0
Fix: T.S.: set DCdataValid 2024-07-24 17:33:38 +02:00
03d21c62b6
Merge branch 'pu/integrationsTS' 2024-07-08 10:19:25 +02:00
b0e55d8ea4
Add collected changes from T.Sax 2024-07-04 14:01:43 +02:00
ab5a343ab2
Merge branch 'carun_wakelineabstraction' 2024-06-10 12:03:08 +02:00
1199dbfd30
Add CCWakelineAbstraction 2024-06-10 11:50:34 +02:00
06d43009ad
Merge branch 'CoinInputFix' 2024-05-22 12:55:32 +02:00
bed98c2c0e
Fix: reset 'lastInsertedAmount' ...
affects direct coin input / cash-payment.
2024-05-22 12:54:00 +02:00
f6cc40c8f9
Merge branch 'master' of git.mimbach49.de:GerhardHoffmann/DCLibraries 2024-03-21 16:07:08 +01:00
6be24fe9ff Merge branch 'master' of https://git.mimbach49.de/GerhardHoffmann/DCLibraries 2024-03-21 15:57:23 +01:00
3612fc28ee bugfix: banknotes have been summed with the coins. Now they are handled separately. 2024-03-21 15:55:50 +01:00
c59de6cad8 bugfix: banknotes have been summed with the coins. Now they are handled separately. 2024-03-21 15:54:58 +01:00
4b0e8ec5f6
Merge branch 'master' of git.mimbach49.de:GerhardHoffmann/DCLibraries 2024-03-14 15:53:44 +01:00
3486c4ccaf Added cash_isCollectionStarted() 2024-03-14 15:17:40 +01:00
ea462ba5c8 call gpi_storeDI_CoinAttach to speed up coin attach detection 2024-03-14 15:16:27 +01:00
961fc6b5dc Fill several struct to align on proper address 2024-03-14 15:14:47 +01:00
6f920604b7 Add cash_isCashCollectionSTarted(). 2024-03-14 15:12:33 +01:00
d5021c8269
Merge branch 'carun_removeWidgets' 2024-03-02 12:16:02 +01:00
7abe8ae419
Libraries: remove dependency to gui/widgets 2024-03-02 12:15:15 +01:00
b8089c443c
CArun: remove dependency to qt gui/widgets 2024-03-02 12:14:02 +01:00
3bbd3e4e19
Proposal: final version for new CArun class 2024-03-02 12:12:49 +01:00
c902bd9a54 Proposal: remove Widgets 2024-03-02 08:36:06 +01:00
25e7bf056b remove unused variable 2024-03-02 07:15:12 +01:00
8f8947482a
Fix: add source-files to project 2024-02-22 08:44:34 +01:00
42c817ddce
Merge branch 'coin-attach' 2024-02-21 16:20:17 +01:00
2c799e1cd2
Merge branch 'coin-attach' of git.mimbach49.de:GerhardHoffmann/DCLibraries into coin-attach 2024-02-21 10:50:41 +01:00
9cac6a6461 Added comment for std::atomic<bool>::exchange() 2024-02-21 10:46:34 +01:00
aa10d3b275 Add atomic<bool> variable m_coinAttached to check for state change:
send signal runProc_coinAttached only if state changes from false true.
2024-02-21 10:39:03 +01:00
790c2fd031 add coin-attach signal 2024-02-19 15:59:41 +01:00
7130d052e7 Merge branch 'SiegfriedSiegert-pu/FixGetDeviceConditions' 2024-02-06 09:55:57 +01:00
ad84464bf4 Merge branch 'pu/FixGetDeviceConditions' of https://git.mimbach49.de/SiegfriedSiegert/DCLibraries into SiegfriedSiegert-pu/FixGetDeviceConditions 2024-02-06 09:55:38 +01:00
69d0420e7d
sys_restoreDeviceParameter() check size of struct T_devices 2024-02-06 09:39:21 +01:00
9b2433c2cd
Fix: check size of struct T_devices 2024-02-05 17:36:53 +01:00