IDTech Windows SDK Guide  1.1.84.0
API reference for MiniSmartII
Connecting to MiniSmart II

The MiniSmart II connects through either USB or Serial Interface (COM).

Connect with USB:

The MiniSmart II 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 MiniSmart II, you would execute the following command during program initialization to establish a connection:

IDT_MiniSmartII.useUSB();

Connect with Serial Interface (COM)

The MiniSmart II can connect via Serial Interface. The 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 MiniSmart II, 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:

IDT_MiniSmartII.useSerialPort(1);