Marat K Marat K - 10 months ago 65
Android Question

How to read NFC type A card pages?

I have an Android app that is reading Mifare Ultralight card content. Previously all cards had Ultralight in
and I was using
to get the data with no problems.

Now I encountered new types of card that do not have Ultralight in
and I can't use
anymore. However I encounter that TagInfo app by NXP does read pages. How can I achieve same result? Should I use
command? What command should I generate?


You could have a look at MifareUltralight source and try to reproduce code for your tag:

public byte[] readPages(int pageOffset) throws IOException {
    byte[] cmd = { 0x30, (byte) pageOffset};
    return transceive(cmd, false);