public void run() {
while (!Thread.interrupted()) {
notifyStatus(TerminalStatus.WAITING);
try {
Card card = cardTerminal.connect("direct");
ApduTagReaderWriter readerWriter = new ApduTagReaderWriter(new AcsDirectChannelTag(TagType.ISO_DEP,
null, card));
try {
IsoDepTamaCommunicator tamaCommunicator = new IsoDepTamaCommunicator(readerWriter, readerWriter);
tamaCommunicator.connectAsInitiator();
}