pySim.transport: Also trace card reset events in ApduTracer

Change-Id: Ia46b65124520eb2b8015dfa3f0a135b497668b92
This commit is contained in:
Harald Welte
2024-09-07 13:09:48 +02:00
parent 241d65db12
commit 2fe9b6a3e9
6 changed files with 20 additions and 7 deletions

View File

@@ -125,7 +125,7 @@ class ModemATCommandLink(LinkBase):
return
raise ReaderError('Interface \'%s\' does not respond to \'AT\' command' % self._device)
def reset_card(self):
def _reset_card(self):
# Reset the modem, just to be sure
if self.send_at_cmd('ATZ') != [b'OK']:
raise ReaderError('Failed to reset the modem')