WriteOutputReportViaInterrupt() public method

public WriteOutputReportViaInterrupt ( byte outputBuffer, int timeout ) : bool
outputBuffer byte
timeout int
return bool
Esempio n. 1
0
 private bool writeOutput()
 {
     if (conType == ConnectionType.BT)
     {
         return(hDevice.WriteOutputReportViaControl(outputReport));
     }
     else
     {
         return(hDevice.WriteOutputReportViaInterrupt(outputReport, 8));
     }
 }
Esempio n. 2
0
 private bool writeOutput()
 {
     if (conType == ConnectionType.BT)
     {
         return(hDevice.WriteOutputReportViaControl(outputReport));
     }
     else
     {
         return(hDevice.WriteOutputReportViaInterrupt(outputReport, READ_STREAM_TIMEOUT));
         //return hDevice.WriteAsyncOutputReportViaInterrupt(outputReport);
     }
 }