//protected override T ReadReply<T>(byte expected_command) //{ // try { // byte[] response = ReceiveFrame(); // byte command; // T payload; // HexProtocol.ParsePacket<T>(response, out command, out payload); // if (command != expected_command) // throw new HLDCProtocolException("Unexpected or invalid reply received"); // return payload; // } // catch (Exception ex) // { // Disconnect(); // throw new ControllerConnectionException("Connection to controller lost", innerException: ex); // } //} #endregion /// <summary> /// Parameterless constructor, use default settings /// </summary> public HexControllerHID() { Settings = new HexControllerHIDSettings(); Initialize(); }
/// <summary> /// Parameterless constructor, use default settings /// </summary> public HexControllerHID() { Settings = new HexControllerHIDSettings(); Initialize(); }