Example #1
0
        private void StartPositioning()
        {
            try
            {
                /* Change server mode into positioning */
                Beacon beacon = (Beacon)cbBeacons.SelectedItem;
                IndoorPositioningClient.SetModeAsPositioning(beacon.BeaconId);

                environment = (Environment)cbEnvironments.SelectedItem;

                positioningThread = new Thread(Positioning)
                {
                    IsBackground = true
                };
                positioningThread.Start();

                ShowLoadingScreen = true;
            }
            catch (Exception ex) { MessageBox.Show(ex.Message); }
        }