Commit Graph

  • 4d8046743e card_emu: Fix state transitions for both Rx and Tx data phase Harald Welte 2015-11-14 23:02:38 +01:00
  • b5288e8ac4 card_emu: Introduce new flush_rx_buffer() function and use it Harald Welte 2015-11-14 21:15:52 +01:00
  • e7194abb9e card_emu: Ensure to re-set PTS state when coming out of reset Harald Welte 2015-11-14 21:03:25 +01:00
  • 52922ffa32 card_emu: Properly handle end of a procedure-byte carrying REQ_CTX Harald Welte 2015-11-14 20:59:56 +01:00
  • 05b41c62f6 card_emu: fix set_tpdu_state() Harald Welte 2015-11-14 20:58:48 +01:00
  • 2935b3c479 card_emu: detect end of TX data from CEMU_DATA_F_FINAL Harald Welte 2015-11-14 20:00:14 +01:00
  • b436286ed6 card_emu_tests: extend first TPDU test to sending PB + SW in response Harald Welte 2015-11-14 19:02:33 +01:00
  • 836990d244 req_ctx: Fix compiler warnings Harald Welte 2015-11-14 17:38:04 +01:00
  • d79dc4f6f2 card_emu: Implement get_byte_pts() Harald Welte 2015-11-14 13:32:21 +01:00
  • 4c473dad30 card_emu: Fail with assert in case next_tpdu_state from wrong state Harald Welte 2015-11-14 13:31:11 +01:00
  • 612d65ad62 card_emu: Make update_fidi() void Harald Welte 2015-11-14 13:30:43 +01:00
  • 16cf408a49 card_emu.c: More comments about data structures Harald Welte 2015-11-11 19:02:48 +01:00
  • 2a5debfec4 Removed printfs from PIO Smartcard ISR christina/master Christina Quast 2015-11-10 12:14:02 +01:00
  • 557e287feb Send on Slot updates over USB on CCID init Christina Quast 2015-11-10 12:08:44 +01:00
  • 899348ebbe Added state to replacing process Christina Quast 2015-11-10 09:36:27 +01:00
  • 9d3e38242c initial commit of more code towards card emulation Harald Welte 2015-11-09 00:50:54 +01:00
  • f64f68871e move ARRAY_SIZE() definition to utils.h Harald Welte 2015-11-08 21:31:48 +01:00
  • 30a53f823a Move Fi/Di calculation functions to separate C file Harald Welte 2015-11-08 14:29:55 +01:00
  • 6d44c1fdd3 USB: Add manufacturer name string descriptor Harald Welte 2015-11-07 19:01:30 +01:00
  • 8a5b580a72 CCID usb descriptor: We support 3V only, not 5V. Harald Welte 2015-11-07 18:52:52 +01:00
  • ec4fe2358b Mark more local functions as static Harald Welte 2015-11-07 18:41:25 +01:00
  • 844db577f2 change to own USB vendor/device ID Harald Welte 2015-11-07 18:37:24 +01:00
  • beb729391b USB descriptors: call it SIMtrace 2 and add spaces to strings Harald Welte 2015-11-07 18:35:41 +01:00
  • 8d6a5d8f89 move USBDDriverCallbacks_ConfigurationChanged() to main.c Harald Welte 2015-11-07 18:27:05 +01:00
  • d4c1421c91 conf_func: Mark const and static. Harald Welte 2015-11-07 18:25:46 +01:00
  • fefd571701 conf_func: Use named struct initializers and named array subscripts Harald Welte 2015-11-07 18:19:11 +01:00
  • 15d72cc631 add some comments on the conf_func members Harald Welte 2015-11-07 18:18:47 +01:00
  • 442dc27bc9 Remove check for PIO_ISR interrue Christina Quast 2015-11-05 10:57:50 +01:00
  • 89690c98dd Added README file Christina Quast 2015-09-06 11:24:41 +02:00
  • 235409aa2e simtrace.h: Increased host to SIMtrace buf size Christina Quast 2015-06-24 16:05:09 +02:00
  • 3d8c093cb2 main: Increase timeout for USB configured state Christina Quast 2015-06-24 16:00:13 +02:00
  • ad6f4d3fd2 replace.py: Moved replace func,mitm: addr book replace Christina Quast 2015-06-24 15:44:36 +02:00
  • 2cafadb2a1 ccid_select.py: added comment;this file is test code Christina Quast 2015-06-24 15:42:49 +02:00
  • 19ed529dee apdu_split.py: INS array updated,CLA sync disabled! Christina Quast 2015-06-24 15:23:59 +02:00
  • 8271bd0145 simtrace.py: Find device without config change Christina Quast 2015-06-19 13:49:45 +02:00
  • ca0ebfdbd6 mitm.py: Bugfix: Always check for APDU_S_SEND_DATA Christina Quast 2015-06-19 13:29:14 +02:00
  • a929bc8850 ccid_raw.py: SendTransmit: Pass list instead of array Christina Quast 2015-06-19 13:24:29 +02:00
  • ebd0fa9d43 gsmtap.py: Send ATR bytes as test command Christina Quast 2015-05-29 16:42:51 +02:00
  • 3742ef1cde simtrace.py: Comment to remove test func select_file Christina Quast 2015-05-18 17:31:51 +02:00
  • 4930ea6032 ccid.py: Removed read_bin command Christina Quast 2015-05-18 17:25:34 +02:00
  • e0832d6a1f serial_pysim.py: Cleanup: early test code for serial pysim communication Christina Quast 2015-05-18 17:19:42 +02:00
  • ba486b61ad simtrace.py: remove unused cmd line option Christina Quast 2015-05-18 17:16:26 +02:00
  • 66224b7e1b Removed unused phone.py Christina Quast 2015-05-14 18:13:06 +02:00
  • 427ae3547a sniffer.py: Removed unused find_dev function Christina Quast 2015-05-14 18:12:05 +02:00
  • 020e5d6a5f mitm.py: Pass device to do_mitm function Christina Quast 2015-05-14 18:11:23 +02:00
  • f25a760f6e simtrace.py: Cleaned up unused functions Christina Quast 2015-05-14 18:09:47 +02:00
  • bd5b8bd7f7 usb.c: Corrected grammatical mistake Christina Quast 2015-05-14 17:25:41 +02:00
  • 5cf676df61 sniffer.py: Removed redundant find_dev function Christina Quast 2015-05-14 17:21:34 +02:00
  • 425717d08b mitm,sniffer.py: Send APDUs to wireshark Christina Quast 2015-05-14 17:20:55 +02:00
  • 152e878bfe gsmtap.py: Ported from scapy to socket Christina Quast 2015-05-14 17:14:34 +02:00
  • 59dae92398 apdu_split.py: Fixed off by one err in parsing Christina Quast 2015-05-14 16:58:37 +02:00
  • 20e89af1bf apdu_split.py: Changed buf data type list to array Christina Quast 2015-05-14 16:55:35 +02:00
  • 2a9c063d6b gsmtap.py: gsmtap_send_apdu and test main function Christina Quast 2015-05-12 19:31:00 +02:00
  • b894691841 gsmtap.py: send example msg using scapy Christina Quast 2015-05-12 16:02:48 +02:00
  • 96025dbb69 phone.c: removed comments Christina Quast 2015-05-08 17:31:08 +02:00
  • 049772e688 phone.c: Removed comment about wait time extension Christina Quast 2015-05-08 17:19:13 +02:00
  • 3b544a1217 cciddriverdesc: Atmel bug fix of slot status register Christina Quast 2015-05-08 16:59:47 +02:00
  • 3735039b59 firmware, host: Changed vendor and product id Christina Quast 2015-05-08 16:47:26 +02:00
  • 14f6399c03 tc_etu.c: Removed, because was never used Christina Quast 2015-05-08 16:15:31 +02:00
  • 5f83861b17 mitm.c: Removed unused commented out code Christina Quast 2015-05-08 16:14:54 +02:00
  • 560ade3239 main.c: Removed TC_Start/_Stop (was commented out) Christina Quast 2015-05-08 16:12:18 +02:00
  • 1b65ad0329 sniffer.c: Removed unused PR macro defnition Christina Quast 2015-05-08 16:10:07 +02:00
  • 0bf65dc0b6 usb.c: Removed FIXME comment Christina Quast 2015-05-08 16:07:16 +02:00
  • ae82155866 USBDDriver.c: swaped args to memset Christina Quast 2015-05-08 16:06:33 +02:00
  • bfd7354c86 usb.c: removed comment, named phone interface of MITM conf Christina Quast 2015-05-08 16:00:51 +02:00
  • 2c68f9c825 Makefile: Removed unused object file target tc_etu Christina Quast 2015-05-08 15:37:57 +02:00
  • 4a30a3700b Remove PR define, replace with TRACE_DEBUG Christina Quast 2015-05-08 15:34:25 +02:00
  • 9dbf1c90ac main.c: Set green LED when USB is configured Christina Quast 2015-05-06 08:46:32 +02:00
  • 34d4eb3f5f mitm.py: Intercept phonebook request Christina Quast 2015-05-04 17:50:32 +02:00
  • 789a4013b4 Added pts parsing Christina Quast 2015-05-04 15:29:07 +02:00
  • 05ba5232db removed pySim dead link Christina Quast 2015-05-04 15:28:50 +02:00
  • b6e005cec1 mitm.py: Working pts parsing and answer Christina Quast 2015-05-04 15:28:03 +02:00
  • 7c5d13401c constants.py: added atr Christina Quast 2015-05-04 15:27:26 +02:00
  • fafa54b37c sm_emul: ff 00 ff is the ans to ff 00 ff Christina Quast 2015-05-03 18:02:33 +02:00
  • 08ea861b11 mitm.py: to be removed, hack to answer pts request Christina Quast 2015-05-03 16:34:32 +02:00
  • 6118146598 sm_emul: send ATR with 0x18 and answer to pts Christina Quast 2015-05-03 16:34:06 +02:00
  • dace491c65 mitm.py: No ATR replacing Christina Quast 2015-05-03 15:48:09 +02:00
  • 0d98b9f53f python files: first PTS handling Christina Quast 2015-05-03 14:22:51 +02:00
  • cb646bc729 command to change fidi send by host Christina Quast 2015-05-03 14:21:26 +02:00
  • 6246000b3a iso7816_uart.c: Do not compile Christina Quast 2015-05-03 14:18:59 +02:00
  • 40670422c8 apdu_split.py: Recover from failure in parsing on 0xa0 Christina Quast 2015-05-03 12:59:44 +02:00
  • be235275fa Added not working PTS parsing to host communication Christina Quast 2015-05-02 17:56:32 +02:00
  • 7a7f98c9f2 ringbuf.c: rbuf peek function Christina Quast 2015-05-02 14:10:13 +02:00
  • bf12a6f79e iso7816_uart: starting point for pts parsing Christina Quast 2015-05-02 13:22:07 +02:00
  • 4bec8d8e26 host_communication.c: printf becomes TRACE_DEBUG Christina Quast 2015-04-21 23:03:59 +02:00
  • ddb1e7be1a cciddriver.c: Removed loop waiting for host on CCID_Read Christina Quast 2015-04-21 23:02:36 +02:00
  • 46a93672d3 mitm.py: Dirty hack for replacing ATR live Christina Quast 2015-04-21 23:00:52 +02:00
  • e4cbfe6f47 Moved ISR_PhoneRST into iso code file and simtrace header Christina Quast 2015-04-20 13:07:28 +02:00
  • 3d5e3ab612 simtrace_iso7816.c: Remove unused _ISO7816_Init Christina Quast 2015-04-20 12:20:50 +02:00
  • b85f140636 iso7816_4.c: Removed time guard Christina Quast 2015-04-18 15:05:43 +02:00
  • fb91bb7069 Parsing ajusted: respond to phone requests Christina Quast 2015-04-18 13:31:42 +02:00
  • 158c1dd448 simtrace.py: Use mitm.py in phone and mitm mode Christina Quast 2015-04-17 20:19:29 +02:00
  • 4b8149363a iso7816_4.c: CLK div differs for Master and Slave Christina Quast 2015-04-17 18:47:34 +02:00
  • dea1f55fb7 board.h: RST pin low per default on startup Christina Quast 2015-04-17 17:16:42 +02:00
  • ad215aaf66 ccid.c: removed SMARTCARD_CONNECT_PIN check (always defined) Christina Quast 2015-04-16 15:00:07 +02:00
  • 5384061761 mitm.py: Added apdu splitter code Christina Quast 2015-04-16 11:10:59 +02:00
  • 2379ac8e32 main.c: Removed double declaration of var i Christina Quast 2015-04-16 11:09:37 +02:00
  • 68cc859870 iso7816_4.c: Moved around lines, only sniffer works Christina Quast 2015-04-16 11:08:32 +02:00
  • ec9c09e9b9 Moved global Usart state into usart struct Christina Quast 2015-04-16 10:45:39 +02:00
  • f3211e6424 board.h: init more phone pins (as input) Christina Quast 2015-04-16 10:41:12 +02:00