![]() |
IDTech Windows SDK Guide
1.2.177.4
API reference for Vendi
|
The Vendi connects through either USB or Serial Interface (COM).
The Vendi 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 Vendi, you would execute the following command during program initialization to establish a connection:
The Vendi can connect via Serial Interface. The serial port settings are as follows:
To inform the SDK you are using the Serial Interface of the Vendi, 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 device:
If you change the default baud rate, then there is an overloaded method to also include the baud rate: