byte SAAT_SCAN_TRIES = 3;
switch (SAAT_CODE_TYPE)
{
case 0://Read EPC Code
return
RfidApi.SAAT_6CReadEPCCode(pHandle, sAntenna1, (byte)SAAT_READ_TYPE, SAAT_SCAN_TRIES);
case 1://Read TID Code
RfidApi.SAAT_6CReadTIDCode(pHandle, sAntenna1, (byte)SAAT_READ_TYPE, SAAT_SCAN_TRIES);
case 2://Read UID Code
retur
RfidApi.SAAT_6BReadUIDCode(pHandle, sAntenna1, (byte)SAAT_READ_TYPE);
}
return false;
and this is function
[DllImport("RFIDAPI.dll", EntryPoint = "SAAT_6CReadEPCCode")] [return: MarshalAs(UnmanagedType.I1)] public static extern bool SAAT_6CReadEPCCode(IntPtr pHandle, byte nAntenna, byte nType, byte nTagCount);
[DllImport("RFIDAPI.dll", EntryPoint = "SAAT_6CReadEPCCode")]
[return: MarshalAs(UnmanagedType.I1)]
public static extern bool SAAT_6CReadEPCCode(IntPtr pHandle, byte nAntenna, byte nType, byte nTagCount);