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

            return(DeviceCommunication.WriteRawReportToDevice(message.MessageData, ref _deviceInformation));
        }
Example #3
0
        public bool SendCommandMessage(byte command)
        {
            var message = new CommandMessage(command);

            return(DeviceCommunication.WriteRawReportToDevice(message.MessageData, ref _deviceInformation));
        }