SmartCard support; nothing really there yet.
[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 SETUP:
18     debugstr("Unable to setup smart card.");
19     break;
20   case START:
21     debugstr("Unable to start smart card.");
22     break;
23   case STOP:
24   default:
25     debugstr("Unknown smartcard verb.");
26     txdata(app,NOK,0);
27   }
28 }