NurApiTagReadPermalock Method

Read block permalock statuses from this tag.

Definition

Namespace: NurApiDotNet
Assembly: NordicID.NurApi.Net (in NordicID.NurApi.Net.dll) Version: 4.0.0
C#
public ushort[] ReadPermalock(
	uint password,
	bool secured,
	uint bank,
	uint addr,
	uint range
)

Parameters

password  UInt32
Password parameter for access.
secured  Boolean
If true then access is done with the password
bank  UInt32
Bank range is 1...3.
addr  UInt32
This is the first address of the first of 16-block chunk to read (0 -> 0, 1 -> 16, ...).
range  UInt32
Number of 16-block chunks to read.

Return Value

UInt16
Return an array of ushort (unsigned 16-bit) values representing the lock bits.

Remarks

Each return word represents 16 block lock states i.e. on bit corresponds to a block.

The bit 0 represent block at address, bit 1 at address +1 and so on.

See Also