public bool SendMessage(IMesage message) { return(DeviceCommunication.WriteRawReportToDevice(message.MessageData, ref _deviceInformation)); }
public bool SendCommandMessage(byte command) { var message = new CommandMessage((byte)_deviceInformation.Capabilities.InputReportByteLength, command); return(DeviceCommunication.WriteRawReportToDevice(message.MessageData, ref _deviceInformation)); }
public bool SendCommandMessage(byte command) { var message = new CommandMessage(command); return(DeviceCommunication.WriteRawReportToDevice(message.MessageData, ref _deviceInformation)); }