C-Netz-SIM: Added delay before answering to messages

This delay is required, so that the card reader has enough time to
release the I/O line. The AEG OLYMPIA now works.
This commit is contained in:
Andreas Eversberg
2023-08-27 20:28:43 +02:00
parent abe449bd0e
commit 4252ca1f82
3 changed files with 22 additions and 5 deletions

View File

@@ -13,6 +13,8 @@ enum l1_state {
L1_STATE_IDLE, /* waiting for message or reset */
L1_STATE_SEND, /* sending reply */
L1_STATE_RECEIVE, /* receiving message */
L1_STATE_COMPLETE, /* received message complete, waiting for card reader to release */
L1_STATE_GARBAGE, /* received garbage right after frame, waiting for timeout */
};
enum block_state {