From 618451048e5d77b8461f604ba6593e4c73df335c Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 13 Sep 2024 13:38:25 +0200 Subject: [PATCH] allow for a reply to be sent when simulating iclass --- armsrc/iclass.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/armsrc/iclass.c b/armsrc/iclass.c index 3d83e54bc..00f9abe1c 100644 --- a/armsrc/iclass.c +++ b/armsrc/iclass.c @@ -207,6 +207,10 @@ void iclass_simulate(uint8_t sim_type, uint8_t num_csns, bool send_reply, uint8_ do_iclass_simulation(ICLASS_SIM_MODE_FULL, NULL); } + if (send_reply) { + reply_mix(CMD_ACK, CMD_HF_ICLASS_SIMULATE, 0, 0, NULL, 0); + } + } else if (sim_type == ICLASS_SIM_MODE_CONFIG_CARD) { // config card