NurApiCustomCmd(Int32, Byte, UInt32, Byte, UInt32) Method

Executes NUR API protocol formatted command exchange with the connected reader.

Definition

Namespace: NurApiDotNet
Assembly: NordicID.NurApi.Net (in NordicID.NurApi.Net.dll) Version: 4.0.0
C#
public int CustomCmd(
	int cmd,
	byte[] inbuffer,
	uint inbufferLen,
	ref byte[] outbuffer,
	ref uint bytesRet
)

Parameters

cmd  Int32
Command that the module's comman handler processes.
inbuffer  Byte
Parameters for this command.
inbufferLen  UInt32
Length, in bytes, of the parameters.
outbuffer  Byte
Pointer to the response buffer.
bytesRet  UInt32
Maximum output buffer length.

Return Value

Int32
Return the native API error code.

Remarks

Contact Nordic ID support for the NUR API protocol documentation if needed.

See Also