Read data from emulated card content (Felica) using Card Reader - ACR1252U

480 Views Asked by At

I am using byte[] command = {(byte)0xE0, 0x00, 0x00, 0x40, 0x03, 0x03, 0x00 , 0x00} command to make ACR1252U emulate a Felica NFC Tag, according to the documentation page 71 some default data is written to the emulated tag.

I try to read this default data using byte[] aid1 = {(byte)0xE0, 0x00, 0x00, 0x60, 0x04, 0x00, 0x03 , 0x00 , 0x12}; command and I get a respose [B@27bc2616 which I print using DatatypeConverter.printHexBinary(response) to give E1000000121001010009000000000001000000001C0000 which matches the expected output as per the documentation.

I only have one issue, how do I get the data from this response E1000000121001010009000000000001000000001C0000 and print it in a user friendly manner in java?

0

There are 0 best solutions below