WindowsIoT.TouchSample/Communication/BusDispatcher.cs
/// <summary>
/// Starts dispatcher, if it's not running and serial port is configured
/// </summary>
Starts dispatcher, if it's not running and serial port is configured
Starts dispatcher if it ' s not running and serial port is configured
public void Start()
        {
            if (serialPort == null || _isRunning)
                return;
            _stats = new Stats() { packets = 0, badCRC = 0, rxLost = 0, txLost = 0 };
            asyncAction = Windows.System.Threading.ThreadPool.RunAsync(
                BusDispatcher, WorkItemPriority.High, WorkItemOptions.TimeSliced);
        }
public void Start ( ) { if ( serialPort == null || _isRunning ) return ; _stats = new Stats ( ) { packets = 0 , badCRC = 0 , rxLost = 0 , txLost = 0 } ; asyncAction = Windows . System . Threading . ThreadPool . RunAsync ( BusDispatcher , WorkItemPriority . High , WorkItemOptions . TimeSliced ) ; }
Starts dispatcher, if it's not running and serial port is configured
Starts dispatcher if it ' s not running and serial port is configured