/**
         * <summary>
         *   Returns effective GPS data refresh frequency.
         * <para>
         *   this value is refreshed every 5 seconds only.
         * </para>
         * <para>
         * </para>
         * </summary>
         * <returns>
         *   a floating point number corresponding to effective GPS data refresh frequency
         * </returns>
         * <para>
         *   On failure, throws an exception or returns <c>YGps.GPSREFRESHRATE_INVALID</c>.
         * </para>
         */
        public double get_gpsRefreshRate()
        {
            double res;

            if (_func == null)
            {
                throw new YoctoApiProxyException("No Gps connected");
            }
            res = _func.get_gpsRefreshRate();
            if (res == YAPI.INVALID_DOUBLE)
            {
                res = Double.NaN;
            }
            return(res);
        }