Exemplo n.º 1
0
                /**
                 * Gets the value of a custom parameter. This is for arbitrary use.
                 *
                 * Sometimes it is necessary to save calibration/declination/offset
                 * information in the device. Particularly if the
                 * device is part of a subsystem that can be replaced.
                 *
                 * @param paramIndex
                 *            Index of custom parameter. [0-1]
                 * @param timoutMs
                 *            Timeout value in ms. If nonzero, function will wait for
                 *            config success and report an error if it times out.
                 *            If zero, no blocking or checking is performed.
                 * @return Value of the custom param.
                 */
                public int ConfigGetCustomParam(int paramIndex, int timoutMs)
                {
                    int retval;

                    _ll.ConfigGetCustomParam(out retval, paramIndex, timoutMs);
                    return(retval);
                }