Tag was lost error

Forum / MIFARE SDK / Tag was lost error

  • 24. September 2018 at 11:35

    J M
    I'm trying to tranceive some data through IReader's method, but it fails with "Tag was lost" error. Here is my code:

    if(CardType.NTagI2C1K == cardType)
    INTagI2C tagI2C = NTagFactory.getInstance().getNTAGI2C1K(lib.getCustomModules());

    byte[] testFrame = new byte[]{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
    try {
    byte[] response = tagI2C.getReader().transceive(testFrame);
    catch (Exception e)


    I think that I have also seen "transceive failed" error before, when data frame was shorter. Do you know the reason causing those errors?

    Thanks in advance

    + 0  |  - 0

    Re: Tag was lost error

    26. September 2018 at 10:27
    Hi JM,

    NTag uses ISO14443-3 protocol. In this protocol the tag goes into a “halt state” when an error occurs. This means no communication anymore and no error message back (this is detected as “tag lost”).

    You should start your session with commands which always success like read a page which is available and always readable.

    The TapLinx team
    + 0  |  - 0
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.