Elatec GmbH
Page 47 of 50
7.2.5.8 Retrieving System Information
byte GetConnection()
Retrieve the physical type of connection (V24 or USB).
Parameter:
None.
Return:
Either one of the defined constants:
V24
:
The TWN3 reader is connected via a V24 cable to
the host.
USB
:
The TWN3 reader is connected via a USB cable to
the host
byte GetUSBMode()
Retrieve the information if the TWN3 reader is emulating a keyboard or if it is emulating a virtual COM
port.
Parameter:
None.
Return:
Either one of the defined constants:
USBVCOM
:
The TWN3 reader is emulating a virtual COM port.
USBHID
:
The TWN3 reader is emulating a keyboard.
byte GetDeviceType()
Retrieve the information, which family of transponders this device supports.
Parameter:
None.
Return:
Either one of the defined constants:
DEVTYPE_MULTI125
:
Multi125
DEVTYPE_MIFARE
:
Mifare
DEVTYPE_HIDPROX
:
HID Prox
DEVTYPE_LEGICPRIME
:
Legic Prime (obsolete)
DEVTYPE_HIDICLASS
:
HID iClass
DEVTYPE_LEGICADVANT
:
Legic
DEVTYPE_INDITAG
:
Inditag
DEVTYPE_MULTIISO
:
MultiISO
7.2.5.9 Miscellaneous
void Reset()
Restart the execution of the script.
Parameter:
None.
Return:
None.