What does the error "ACCESS_TAG_MEMORY_OVERRUN_ERROR" in Zebra Android SDK mean, and how to fix it?

Tarod :

I am trying to read Memory Bank data from tags, and there are no exceptions, but the Operation Status returns "ACCESS_TAG_MEMORY_OVERRUN_ERROR"

This happens with every tag now, while the official SKD RFID Zebra Application has a timeout error, when trying to read, when it previously didn't, so I wonder if my reader didn't break. I'm at a loss. The documentation explains absolutely nothing about what these errors mean, and there are next to no resources on RFID coding.

public String readTag(String tagID){
    String tagId = tagID;
    TagAccess tagAccess = new TagAccess();
    TagAccess.ReadAccessParams readAccessParams = tagAccess.new ReadAccessParams();
    readAccessParams.setCount(4);
    readAccessParams.setMemoryBank(MEMORY_BANK.MEMORY_BANK_USER);
    readAccessParams.setOffset(0);
    try {
        TagData tagData = reader.Actions.TagAccess.readWait(tagId, readAccessParams, null);
        System.out.println("OPERATION STATUS ---> " + tagData.getOpStatus());
        return tagData.getMemoryBankData();
    } catch (InvalidUsageException e) {
        System.out.println("INVALID USAGE EXCEPTION ---> " + e.getInfo());
        e.printStackTrace();
        return "";
    } catch (OperationFailureException e) {
        System.out.println("INVALID USAGE EXCEPTION ---> " + e.getResults());
        e.printStackTrace();
        return "";
    }
}

Despite that being the Read method, I'm not entirely sure it's at fault here, as it's copy-pasted from the Zebra guide at http://techdocs.zebra.com/dcs/rfid/android/2-15/tutorials/readaccess/ , but I'm at a loss. It just keeps returning "null" (despite the fact that I know it has data) and giving me "ACCESS_TAG_MEMORY_OVERRUN_ERROR" as the Status. Just knowing what it means would point me enough in the right direction. As it is, I can only guess blindly, and it's very frustrating. Thank you.

Andreas Kain :

The error occurs because you try to read more words than the epc memory bank of your rfid tag has. You can omit the

// readAccessParams.setCount(4);

statement.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

what does this error mean, and how to fix it?

What does Bus error: 10 mean? And how to fix this error

What does "error: '.class' expected" mean and how do I fix it

What does Grub error "no such device: /.disk/info" mean, and how to fix it?

Android gradle build Error "finished with non-zero exit value 42" , what does it mean and how do i fix it?

What does MissingManifestResourceException mean and how to fix it?

"local variable 'e' referenced before assignment" what does this error mean? How do I fix this error?

What does this Vagrant error mean and how do you fix it? For 'public_network' and 'private_network' together

Error: No value given for one or more required parameters. What does this mean? How do I fix?

'No module named 'deploy' : What does this error mean and how do I fix it?

What does this error mean Unsupported class file major version 56 and how do I fix it?

What does the error "list indices must be integers or slices, not str" mean and how can I fix it?

What does this mean and how should I fix this for big files? (malloc_error_break)

In R, what does the error "need at least one panel" mean and how to fix it?

C++ - What does "Incomplete type not allowed" error mean, and how can I fix it?

What does 'index 0 is out of bounds for axis 0 with size 0' mean and how can I fix this error?

In MySQL what does "Overhead" mean, what is bad about it, and how to fix it?

What does it mean by .net SDK?

What does Error:(13) Error: The <receiver> element must be a direct child of the <application> element [WrongManifestParent] mean and how do i fix it?

What does the "declare a static final serialVersionUID" warning mean and how to fix?

What does nvprof output: "No kernels were profiled" mean, and how to fix it

What does "Overflow evaluating the requirement" mean and how can I fix it?

What does this mean? How do I fix it? Fatal Exception:main

What does errors like "!=<" mean in agda and how to fix

What exactly does my logcat mean, and how can I fix it?

What does this program mean by Unknown Source and how do I fix it?

What does this error mean?

What does the rust-analyzer error "could not resolve macro `$crate::format_args`" mean and how do I fix it?

How to fix Facebook SDK "does not contain bitcode" error?