NurApiCustomExchangeSingulated(UInt32, Boolean, Byte, UInt32, Int32, Byte, UInt16, UInt16, UInt32, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Byte) Method

Exchange a custom bit stream with a singulated tag specifying all the parameters.

Definition

Namespace: NurApiDotNet
Assembly: NordicID.NurApi.Net (in NordicID.NurApi.Net.dll) Version: 4.0.0
C#
public NurApiCustomExchangeResponse CustomExchangeSingulated(
	uint passwd,
	bool secured,
	byte sBank,
	uint sAddress,
	int sMaskBitLength,
	byte[] sMask,
	ushort txLen,
	ushort rxLen,
	uint rxTimeout,
	bool asWrite,
	bool appendHandle,
	bool xorRN16,
	bool txOnly,
	bool noTxCRC,
	bool noRxCRC,
	bool txCRC5,
	bool rxLenUnk,
	bool rxStripHandle,
	byte[] bitBuffer
)

Parameters

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.
txLen  UInt16
TX length in bits.NurApiCustomExchangeParams
rxLen  UInt16
Expected number of bit in reception.NurApiCustomExchangeParams
rxTimeout  UInt32
Receive timeout in ms (20...100).NurApiCustomExchangeParams
asWrite  Boolean
Act as a write operation (receiver instruction).NurApiCustomExchangeParams
appendHandle  Boolean
Append singulated tag's handle.NurApiCustomExchangeParams
xorRN16  Boolean
XOR bit data with sungulated tag's RN16; TX length needs to be 16.NurApiCustomExchangeParams
txOnly  Boolean
Transmit only.NurApiCustomExchangeParams
noTxCRC  Boolean
No CRC in transmission.NurApiCustomExchangeParams
noRxCRC  Boolean
No CRC inresponse; receive 'as is'.NurApiCustomExchangeParams
txCRC5  Boolean
Transmission CRC is CRC-5.NurApiCustomExchangeParams
rxLenUnk  Boolean
RX length is unknown; rxLen parameter will be ignored.NurApiCustomExchangeParams
rxStripHandle  Boolean
Strip the appended handle from the reponse.NurApiCustomExchangeParams
bitBuffer  Byte
Bit buffer to send.NurApiCustomExchangeParams

Return Value

NurApiCustomExchangeResponse
Custom exchange reponse structure along with error and tag response.NurApiCustomExchangeResponse

See Also