C1G2.CalculateEpcCrc Method

TegoOS

C1G2CalculateEpcCrc Method
Calculate the CRC from the EPC.

Namespace: Tego.Rfid.Gen2
Assembly: Tego (in Tego.dll) Version: 1.0.6599.21663 (1.2017.413.1)
Syntax
public static ushort CalculateEpcCrc(
	Func<int, ushort> getWordFunction
)
Public Shared Function CalculateEpcCrc ( 
	getWordFunction As Func(Of Integer, UShort)
) As UShort
public:
static unsigned short CalculateEpcCrc(
	Func<int, unsigned short>^ getWordFunction
)
static member CalculateEpcCrc : 
        getWordFunction : Func<int, uint16> -> uint16 

Parameters

getWordFunction
Type: SystemFuncInt32, UInt16
Function that provides the EPC word at a given address (EPC data starts at address 2).

Return Value

Type: UInt16
EPC CRC.
See Also