NurApiCustomReadSingulatedTag(UInt32, Byte, UInt32, Byte, UInt32, Boolean, Byte, UInt32, Int32, Byte, UInt32, Int32) Method

Read data from tag with specific singulation. Tag can be singluted against desired memory bank and mask. This command uses custom read command and bank parameters.

Definition

Namespace: NurApiDotNet
Assembly: NordicID.NurApi.Net (in NordicID.NurApi.Net.dll) Version: 4.0.0
C#
public byte[] CustomReadSingulatedTag(
	uint rdCmd,
	byte cmdBits,
	uint rdBank,
	byte bankBits,
	uint passwd,
	bool secured,
	byte sBank,
	uint sAddress,
	int sMaskBitLength,
	byte[] sMask,
	uint rdAddress,
	int rdByteCount
)

Parameters

rdCmd  UInt32
Custom read command.
cmdBits  Byte
Number of bits in the custom read command (1...32).
rdBank  UInt32
Custom bank parameter.
bankBits  Byte
Number of bits in the custom bank parameter. Can be 0.
passwd  UInt32
Password for secured operations.
secured  Boolean
TRUE if operation is secured, otherwise FALSE.
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.
rdAddress  UInt32
Address for read operation.
rdByteCount  Int32
Number of bytes to read. This must divisible by two.

Return Value

Byte
Pointer to a buffer that received read data. Must be atleast rdByteCount bytes long

See Also