private async void ResetButton_Click(object sender, RoutedEventArgs e) { try { var result = comms.ResetAsync();; debugCommand("Reset", result); } catch (Exception ex) { this.Log($"Reset Error: {ex.Message}"); } }