commit | ff434e4f121423181c8aa33717d62f29cfc46aef | [log] [tgz] |
---|---|---|
author | James Tavares <jtavares@kvh.com> | Mon Jan 10 21:12:54 2022 -0500 |
committer | jtavares <jtavares@kvh.com> | Fri Mar 11 18:36:06 2022 +0000 |
tree | c165debf13e3ec7ee1d6360be0c8617c38620eaa | |
parent | 2ceba0fdc431258705473eec44a090b3d159faa7 [diff] |
firmware: bugfix: disable cardemu comms in local SIM mode This change prevents contention on the ISO7816 bus by disabling the card emulation state machine when the SIM switch is in the local mode. Without this change, the card emulation firmware can clobber ISO7816 communications and cause contention with certain (but not all) SIM cards. Changes: - Add 'enabled' flag to cardemu instance that is set/cleared by usb_command_sim_select() (the only place where sim switch occurs). - Flag is initialized as false (disabled) by default, to match local SIM mode default. - When card emulation is disabled, force SIM VCC to be "OFF", SIM RESET as "not in RESET", and drop bytes bytes received on the ISO7816 interface (but do service buffers). Change-Id: I4010f988712eac4a6af8568ccd60062f9de62449
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.
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.
This repository contains several directory
The host software includes