User's Manual

CLASSES DESCRIPTION - CAEN RFID API Reference Manual 74
Init Function
Description:
In C language, this function generates an opaque handle to identify a module attached to the PC. See § Managing
connections with the readers page 8 for more information.
Parameters:
Name
Description
ConType
The communication link to use for the connection.
Address
Depending on ConType parameter: IP address for TCP/IP communications
("xxx.xxx.xxx.xxx"), COM port for RS232 communications ("COMx"), an index for USB
communications (not yet supported). To specify a TCP port separate address and port by
a semi-colon (ex: "192.168.0.1:2300").
handle
The handle that identifies the device.
Syntax:
C representation:
CAENRFIDErrorCodes CAENRFID_Init(
CAENRFIDPort ConType,
char *Address,
CAENRFIDHandle *handle,
CAENRFIDProtocol *Protocol);
Disconnect Method
Description:
In C# and Java languages, this method closes the connection with the CAEN RFID Reader releasing all the allocated
resources. See § Managing connections with the readers page 8 for more information.
Syntax:
C# representation:
public void Disconnect()
Java and Android representation:
public void Disconnect()
throws CAENRFIDException
End
Description:
In C language, this function closes the connection with the CAEN RFID Reader releasing all the allocated resources. See
§ Managing connections with the readers page 8 for more information.
Parameters:
Name
Description
handle
The handle that identifies the device.
Syntax:
C representation:
CAENRFIDErrorCodes CAENRFID_End(
CAENRFIDHandle handle);