dos2unix, smart card app.
[goodfet] / firmware / apps / smartcard / smartcard.c
diff --git a/firmware/apps/smartcard/smartcard.c b/firmware/apps/smartcard/smartcard.c
new file mode 100644 (file)
index 0000000..8d1e745
--- /dev/null
@@ -0,0 +1,25 @@
+/*! \file smartcard.c
+  \author Travis Goodspeed
+  \brief Smartcard and SIM application.
+  
+  This module allows for communication with smart cards and SIM cards.
+*/
+
+#include "platform.h"
+#include "command.h"
+#include "jtag.h"
+
+//! Handles a monitor command.
+int smartcardhandle(unsigned char app,
+             unsigned char verb,
+             unsigned int len){
+  switch(verb){
+  case START:
+    debugstr("Unable to start smart card.");
+    break;
+  case STOP:
+  default:
+    debugstr("Unknown smartcard verb.");
+    txdata(app,NOK,0);
+  }
+}