void setTrackerHomeFromModule(object sender, EventArgs e)
    {
        GPSDevice gpsModule = getDevice();

        if (gpsModule != null)
        {
            _Available = true;
            GPSPosition pos = gpsModule.GetCoordinates();
            double      alt = getGEAlt(pos.Lat, pos.Lng);
            Host.comPort.MAV.cs.TrackerLocation = new PointLatLngAlt(pos.Lat, pos.Lng, alt, "Tracker Home");
        }
        else
        {
            _Available = false;
            CustomMessageBox.Show("No GPS Device connected. Please verify it is connected and try again.");
        }
    }
    void deviceChanged(MainV2.WM_DEVICECHANGE_enum cause)
    {
        GPSDevice gpsModule = getDevice();

        if ((gpsModule != null))
        {
            if (_Available == false)
            {
                _Available = true;
                if (CustomMessageBox.Show("A GPS module was detected on your system. Would you like to use it to set your tracker home location?", "Tracker Home", MessageBoxButtons.YesNo) == DialogResult.Yes)
                {
                    GPSPosition pos = gpsModule.GetCoordinates();
                    double      alt = getGEAlt(pos.Lat, pos.Lng);
                    Host.comPort.MAV.cs.TrackerLocation = new PointLatLngAlt(pos.Lat, pos.Lng, alt, "Tracker Home");
                }
            }
        }
        else if (_Available == true)
        {
            _Available = false;
        }
    }