NurApiAllocAuthParam Method

Basic allocation of authentication parameters.

Definition

Namespace: NurApiDotNet
Assembly: NordicID.NurApi.Net (in NordicID.NurApi.Net.dll) Version: 4.0.0
C#
public static NurApiAuthenticateParam AllocAuthParam(
	byte csi,
	ushort rxLength,
	ushort msgBitLength
)

Parameters

csi  Byte
Cryptographic Suite Indicator.
rxLength  UInt16
Bit length of the reception (0 if not know, NOTE: not recommended).
msgBitLength  UInt16
Message's bit length.

Return Value

NurApiAuthenticateParam
Returns the authentication parameter structure with basic setup.

Remarks

The timeout is set to 25 milliseconds.

The rxAttn is set to false.

The preTxWait is set to 2000 microseconds.

The GetMessage is allocated to GEN2V2_MAX_AUTHBYTES length.

See Also