RFD8500 Android Lock and Unlock Tag

How to perform lock and unlock tag action in android development? Even the demo app (123RFID Mobile) is not working and very less info for these two function

James Swinton-Bland
Hi Wind,

Hi Wind,

From page 88 of our RFD developers guide:

 

The application calls method reader.Actions.TagAccess.lockWait to perform a lock operation on one or more
memory banks with specific privileges.

// Lock the tag
String tagId = "1234ABCD00000000000025B1";
TagAccess tagAccess = new TagAccess();
TagAccess.LockAccessParams lockAccessParams = tagAccess.new LockAccessParams();
/* lock now */
lockAccessParams.setLockPrivilege(LOCK_DATA_FIELD.LOCK_USER_MEMORY,
LOCK_PRIVILEGE.LOCK_PRIVILEGE_READ_WRITE);
lockAccessParams.setAccessPassword(0);
reader.Actions.TagAccess.lockWait(tagId, lockAccessParams, null);

 

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments