NurApiSetLock(UInt32, Byte, UInt32, Int32, Byte, UInt32, UInt32) Method

Set memory lock for tag with specific singulation.

Tag can be singluted against desired memory bank and mask.

Definition

Namespace: NurApiDotNet
Assembly: NordicID.NurApi.Net (in NordicID.NurApi.Net.dll) Version: 4.0.0
C#
public void SetLock(
	uint passwd,
	byte sBank,
	uint sAddress,
	int sMaskBitLength,
	byte[] sMask,
	uint memoryMask,
	uint action
)

Parameters

passwd  UInt32
Password for secured operations. Password is always needed.
sBank  Byte
Memory bank used for tag singulation. 1=BANK_EPC 2=BANK_TID 3=BANK_USER
sAddress  UInt32
Singulation data address in bits.
sMaskBitLength  Int32
Length of the mask data in bits.
sMask  Byte
Mask data buffer.
memoryMask  UInt32
Which memories to lock. See flags: LOCK_OPENLOCK_SECUREDLOCK_PERMAWRITELOCK_PERMALOCK
action  UInt32
Action to perform for memories. See flags: LOCK_USERMEMLOCK_TIDMEMLOCK_EPCMEMLOCK_ACCESSPWDLOCK_KILLPWD

See Also