=================================================================== Testcase - (A) connecting by USB-cable =================================================================== // No USB-cable connected ... --------------------------------- Connected by request We are connected to : localhost --------------------------------- // Here is the program waiting... // Connecting USB cable... UID: 6JMxsH --------------------------------- Enumeration Type: 1 -> ENUMERATION_TYPE_CONNECTED .. --------------------------------- Connected UID: 0 Position: 0 Hardware Version: (2, 1, 0) Firmware Version: (2, 4, 2) Device Identifier: 13 // Disconnecting USB cable... --------------------------------- -> ENUMERATION_TYPE_DISCONNECTED .. --> CONNECTION_STATE_CONNECTED. --------------------------------- // Reconnecting USB cable... UID: 6JMxsH --------------------------------- Enumeration Type: 1 -> ENUMERATION_TYPE_CONNECTED .. --------------------------------- Connected UID: 0 Position: 0 Hardware Version: (2, 1, 0) Firmware Version: (2, 4, 2) Device Identifier: 13 Program stopped by Ctrl-C. Exit ... --------------------------------- Disconnected !! Reason = 0 --> DISCONNECT_REASON_REQUEST - Disconnect was requested by user --------------------------------- ___ Done ___