8d1e745f0f9de599b111a2ac7d813710e3efea8f
[goodfet] / firmware / apps / smartcard / smartcard.c
1 /*! \file smartcard.c
2   \author Travis Goodspeed
3   \brief Smartcard and SIM application.
4   
5   This module allows for communication with smart cards and SIM cards.
6 */
7
8 #include "platform.h"
9 #include "command.h"
10 #include "jtag.h"
11
12 //! Handles a monitor command.
13 int smartcardhandle(unsigned char app,
14               unsigned char verb,
15               unsigned int len){
16   switch(verb){
17   case START:
18     debugstr("Unable to start smart card.");
19     break;
20   case STOP:
21   default:
22     debugstr("Unknown smartcard verb.");
23     txdata(app,NOK,0);
24   }
25 }