mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-17 05:38:33 +03:00
phone.c: Changed bus switch from sniffer to phone mode
In order to record the communication between simtrace and the mobile phone with a logic analyzer I had to configure the pins in sniffer mode in order to attach the sniffer clips to the SIM card slot. I did not manage to connect them to the connector to the phone flex cable.
This commit is contained in:
@@ -82,9 +82,9 @@ unsigned char USBState = STATE_IDLE;
|
||||
/** ISO7816 pins */
|
||||
static const Pin pinsISO7816_PHONE[] = {PINS_ISO7816_PHONE};
|
||||
/** Bus switch pins */
|
||||
//static const Pin pins_bus[] = {PINS_BUS_DEFAULT};
|
||||
static const Pin pins_bus[] = {PINS_BUS_DEFAULT};
|
||||
// FIXME: temporary enable bus switch
|
||||
static const Pin pins_bus[] = {PINS_BUS_SNIFF};
|
||||
//static const Pin pins_bus[] = {PINS_BUS_SNIFF};
|
||||
|
||||
/** ISO7816 RST pin */
|
||||
static const Pin pinIso7816RstMC = PIN_ISO7816_RST_PHONE;
|
||||
|
||||
Reference in New Issue
Block a user