IDTech Windows SDK Guide  1.1.81.0
API reference for SmartPIN L100
Connecting to SmartPIN L100

The SmartPIN L100 connects through either USB or Serial Interface (COM).

Connect with USB:

The SmartPIN L100 uses USB-HID (Human Interface Device) and does not need any vendor-specific drivers. Simply by plugging into an available USB port makes it available for SDK connectivity. To inform the SDK you are using the USB interface of the SmartPIN L200, you would execute the following command during program initialization to establish a connection:

IDT_L100.useUSB();

Connect with Serial Interface (COM)

The IDT_L100 can connect via Serial Interface. The default serial port settings are as follows:

  • Speed: 38,400
  • Bits: 8
  • Stop Bit: 1
  • Parity: None

To inform the SDK you are using the Serial Interface of the SmartPIN L100, you would execute the following command during program initialization to establish a connection by passing the correct COM port number. In the following example, we are connecting to COM1 non-SRED device:

IDT_L100.useSerialPort(1, false);

If you change the default baud rate, then there is an overloaded method to also include the baud rate:

IDT_L100.useSerialPort(1, 115200, false);