NurApiSetLockRaw(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.
Lock mask and action parameter are in raw format defined in UHF C1G2 standard section "6.3.2.11.3.5 Lock (mandatory).
Namespace: NurApiDotNetAssembly: NordicID.NurApi.Net (in NordicID.NurApi.Net.dll) Version: 4.0.0
public void SetLockRaw(
uint passwd,
byte sBank,
uint sAddress,
int sMaskBitLength,
byte[] sMask,
uint lockMask,
uint lockAction
)
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.
- lockMask UInt32
- Standard defined lock payload bits 19-10, starting from bit 0.
- lockAction UInt32
- Standard defined lock payload bits 9-0, starting from bit 0.