예제 #1
0
                /**
                 * Sets 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 newValue
                 *            Value for custom parameter.
                 * @param paramIndex
                 *            Index of custom parameter. [0-1]
                 * @param timeoutMs
                 *            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 Error Code generated by function. 0 indicates no error.
                 */
                public ErrorCode ConfigSetCustomParam(int newValue, int paramIndex, int timeoutMs)
                {
                    ErrorCode retval = _ll.ConfigSetCustomParam(newValue, paramIndex, timeoutMs);

                    return(retval);
                }