Implemented NFC Card Reader Code from https://git.sterul.com/student-projects/dhbw...
[DHBWCampusApp.git] / app / src / main / java / de / dhbwloe / campusapp / nfcreader / MifareDESFire / IsoDepWrapper.java
1 package de.dhbwloe.campusapp.nfcreader.MifareDESFire;
2
3 import de.dhbwloe.campusapp.nfcreader.UndefinedResponseException;
4
5 /**
6  * Created by stefan on 21.01.16.
7  */
8 public interface IsoDepWrapper {
9
10
11     /**
12      * @param command Command to send to the tag (Format example: "AF 00 01 EF 01"
13      * @return Returns the raw response from the tag
14      * @throws UndefinedResponseException Thrown when the tag returned an undefined response code
15      */
16     public Byte[] sendCommand(String command) throws UndefinedResponseException, CommunicationError;
17 }