com.ugrokit.api.UgiInventory.LockUnlockMaskAndAction Class Reference

Overview

Definitions for value passed to lockUnlockTag choosing what banks to change the locked status for and what to change them to.

Static Public Attributes

static final int KILL_PASSWORD_MASK_BIT_OFFSET = 18
 Offset for mask bits for kill password.
 
static final int ACCESS_PASSWORD_MASK_BIT_OFFSET = 16
 Offset for mask bits for access password.
 
static final int EPC_MASK_BIT_OFFSET = 14
 Offset for mask bits for EPC memory bank.
 
static final int TID_MASK_BIT_OFFSET = 12
 Offset for mask bits for TID memory bank.
 
static final int USER_MASK_BIT_OFFSET = 10
 Offset for mask bits for USER memory bank.
 
static final int KILL_PASSWORD_ACTION_BIT_OFFSET = 8
 Offset for action bits for kill password.
 
static final int ACCESS_PASSWORD_ACTION_BIT_OFFSET = 6
 Offset for action bits for access password.
 
static final int EPC_ACTION_BIT_OFFSET = 4
 Offset for action bits for EPC memory bank.
 
static final int TID_ACTION_BIT_OFFSET = 2
 Offset for action bits for TID memory bank.
 
static final int USER_ACTION_BIT_OFFSET = 0
 Offset for action bits for USER memory bank.
 
static final int MASK_CHANGE_NONE = 0
 Mask: don't change.
 
static final int MASK_CHANGE_PERMALOCK = 1
 Mask: change permlock bit.
 
static final int MASK_CHANGE_WRITABLE = 2
 Mask: change writable bit.
 
static final int MASK_CHANGE_WRITABLE_AND_PERMALOCK = 3
 Mask: change permlock and writable bits.
 
static final int ACTION_WRITABLE = 0
 Action: writable.
 
static final int ACTION_PERMANENTLY_WRITABLE = 1
 Action: permanently writable.
 
static final int ACTION_WRITE_RESTRICTED = 2
 Action: write restricted (password required)
 
static final int ACTION_PERMANENTLY_NOT_WRITABLE = 3
 Action: permanently not writable.