commit | 5f6b8717a4ad0938751dabbf99fe538722490e45 | [log] [tgz] |
---|---|---|
author | Kévin Redon <kredon@sysmocom.de> | Wed Jul 11 09:49:06 2018 +0200 |
committer | Kévin Redon <kredon@sysmocom.de> | Wed Jul 11 22:24:46 2018 +0200 |
tree | 00760fde8e21fa21dcf85cb981e7abb3390747c1 | |
parent | ac0843af836640979fa5ce62c29fb532ea82bd5b [diff] |
fix 'ISO_S_IN_ATR not handled' gcc warning when building the cardem application GCC would output the following warning: libcommon/source/card_emu.c: In function 'card_emu_process_rx_byte': libcommon/source/card_emu.c:764:2: warning: enumeration value 'ISO_S_IN_ATR' not handled in switch [-Wswitch] switch (ch->state) { ^~~~~~ in card emulation the reader should not send data while the card is sending its ATR. this is true for other states already handled (RESET, ...). in these cases an error message is output. this behaviour is now the default case as data from the reader is only expected in 3 cases: ISO_S_WAIT_TPDU, ISO_S_IN_TPDU, and ISO_S_IN_PTS. Change-Id: Ifbc8dbe1c9f176343304f211c7e6068fb977961e
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