StartCommanderLink() public method

public StartCommanderLink ( ) : void
return void
        private async void onClick(object sender, RoutedEventArgs e)
        {
            if (connectionButton.Content.ToString() == "Connect")
            {
                isCrazyfliePaired = await crazyflieController.IsCrazyfliePaired();

                if (!isCrazyfliePaired)
                {
                    infoText.Text = "Error: Crazyflie not found. Please pair in settings->devices->bluetooth";
                }
                else
                {
                    infoText.Text            = "";
                    connectionButton.Content = "Disconnect";
                    crazyflieController.StartCommanderLink();
                }
            }
            else if (connectionButton.Content.ToString() == "Disconnect")
            {
                infoText.Text            = "";
                connectionButton.Content = "Connect";
                crazyflieController.StopCommanderLink();
            }
        }