/*
 * Author : Rishi Gupta
 * 
 * This file is part of 'serial communication manager' library.
 *
 * The 'serial communication manager' is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by the Free Software 
 * Foundation, either version 3 of the License, or (at your option) any later version.
 *
 * The 'serial communication manager' is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
 * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with serial communication manager. If not, see <http://www.gnu.org/licenses/>.
 */

package test68;

import com.embeddedunveiled.serial.SerialComManager;
import com.embeddedunveiled.serial.hid.SerialComHID;
import com.embeddedunveiled.serial.hid.SerialComHIDdevice;
import com.embeddedunveiled.serial.hid.SerialComRawHID;
import com.embeddedunveiled.serial.usb.SerialComUSB;
import com.embeddedunveiled.serial.usb.SerialComUSBHID;

public class Test68  {

	public static void main(String[] args) {

		try {
			SerialComManager scm = new SerialComManager();
			SerialComRawHID scrh = (SerialComRawHID) scm.getSerialComHIDInstance(SerialComHID.MODE_RAW, null, null);
			SerialComUSBHID scuh = (SerialComUSBHID) scrh.getHIDTransportInstance(SerialComHID.HID_USB);

			SerialComHIDdevice[] usbHidDevices = scuh.listUSBHIDdevicesWithInfo(SerialComUSB.V_ALL);
			for(int x=0; x < usbHidDevices.length; x++) {
				usbHidDevices[x].dumpDeviceInfo();
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
@@ -1166,16 +1166,361 @@
 SBHID;%0A%0A
+/*  Windows output for MCP2000%0A%09Transport : USB%0A%09Device node : HID%5CVID_04D8&PID_00DF&MI_02%5C7&33842C3F&0&0000%0A%09Vendor id : 0x04D8%0A%09Product id : 0x00DF%0A%09Serial number : 0000980371%0A%09Product : MCP2200 USB Serial Port Emulator%0A%09Manufacturer : (Standard USB Host Controller)%0A%09Location : PCIROOT(0)#PCI(1400)#USBROOT(0)#USB(3)-Port_#0003.Hub_#0001%0A*/%0A%0A
 public c
@@ -2084,8 +2084,9 @@
 %09%09%7D%0A%09%7D%0A%7D
+%0A

add output of test in source file