From b2d5aeb850094033c47e92ddc0b448258fcc3016 Mon Sep 17 00:00:00 2001 From: Christina Quast Date: Tue, 7 Apr 2015 12:51:11 +0200 Subject: [PATCH] ccid.c: Remove test code --- sam3s_example/simtrace/ccid.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/sam3s_example/simtrace/ccid.c b/sam3s_example/simtrace/ccid.c index a0f302f8..719658ec 100644 --- a/sam3s_example/simtrace/ccid.c +++ b/sam3s_example/simtrace/ccid.c @@ -177,28 +177,6 @@ void CCID_init( void ) } } -/* FIXME: Remove this testcode */ -void send_select_file() { - #define MAX_ANSWER_SIZE 10 - static const uint8_t testCommand4[] = {0x00, 0xa4, 0x00, 0x00, 0x02, 0x3f, 0x00}; - uint8_t pMessage[MAX_ANSWER_SIZE]; - uint8_t ucSize ; - int i; - - printf("Write msg\n\r"); - ucSize = ISO7816_XfrBlockTPDU_T0( testCommand4, pMessage, sizeof( testCommand4 ) ) ; - // Output smartcard answer - if ( ucSize > 0 ) - { - printf( "\n\rAnswer: " ) ; - for ( i=0 ; i < ucSize ; i++ ) - { - printf( "0x%02X ", pMessage[i] ) ; - } - printf( "\n\r" ) ; - } -} - void CCID_run( void ) {