Guest User

Untitled

a guest
Oct 16th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. System.out.println("WIRELESS ON");
  2. se.setTechnologyTypes(SecureElement.BATTERY_ON_MODE, TechnologyType.ISO14443A);
  3.  
  4. System.out.println("OPEN");
  5. APDUConnection ac = (APDUConnection) Connector.open(url); // Send a command APDU and receive a response APDU
  6.  
  7. System.out.println("SET MANAGEMENT MODE");
  8. byte[] responseAPDU = ac.exchangeAPDU(PrxUtils.hexStrToByte("900200001000112233445566778899aabbccddeeff"));
  9. System.out.println("SET MANAGEMENT MODE RESPONSE: "+PrxUtils.byteArrToHexStrNoSpaces(responseAPDU));
Add Comment
Please, Sign In to add comment