commit | e9f429d34c733d6b5fe2d6479fc9edbc02d9e9e3 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@osmocom.org> | Sun Dec 15 13:21:17 2019 +0100 |
committer | Harald Welte <laforge@osmocom.org> | Mon Dec 16 14:49:56 2019 +0100 |
tree | 760d954d56fbcc87aa5791e4b7dc30b2455a27a5 | |
parent | 02d0d73cf18505b69bfa1700968fd4bd78c6ac30 [diff] |
card_emu: Avoid recursive calls to card_set_state() A function that is called to set the state should not in itself contain logic to issue further state changes. Let's shift the related block out to the end of card_emu_io_statechg(), which is the only source of card_set_state() calls for the WAIT_{POWER,CLK,RST} states anyway. As an added benefit, the block of statements is now also executed if there's no state change - something that was prevented by the "if old == new" state guard at the top of card_set_state(). I believe this may help us to cover more (non-standard) card activation sequences. Change-Id: Ieefa1807099eb234cfd994bca83caaa0dcc919b6
This is the repository for the next-generation SIMtrace devices, providing abilities to trace the communication between (U)SIM card and phone, remote (U)SIM card forward, (U)SIM man-in-the-middle, and more.
This is under heavy development, and right now it is not surprising if things still break on a daily basis.
NOTE: Nothing in this repository applies to the SIMtrace v1.x hardware or its associated firmware. SIMtrace v1.x is based on a different CPU / microcontroller architecture and uses a completely different software stack and host software.
At this point, the primary development target is still the OWHW + sysmoQMOD device, but we expect to add support for a SAM3 based SIMtrace hardware board soon.
The goal is to support the following devices:
This repository contains several directory