public NFCIPConnection connectAsInitiator() throws IOException {
while (!Thread.interrupted()) {
try {
ConnectResponse connectResponse = scl3711.initiatorConnect(LlcpConstants.nfcId3t,
LlcpConstants.initiatorGeneralBytes);
SimpleNfcTarget target = new SimpleNfcTarget(0, connectResponse.getNfcId(),
connectResponse.getGeneralBytes());
return new Scl3711Initiator(scl3711, target);
}
catch (TimeoutException e) {
try {