private async void _connectButton_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e) { _telloCommandReponse.Insert(0, "connecting to tello"); try { _tello.Connect(); } catch (Exception ex) { _telloCommandReponse.Insert(0, ex.ToString()); } await SendMessageAsync("command", (response) => { _stateReceiver.Start(); _frameServer.Start(); }); }
public void Start() { _frameComposer.Start(); _udpReceiver.Start(); }