Beispiel #1
0
        /**
         * Sets a parameter. Generally this is not used.
         * This can be utilized in
         * - Using new features without updating API installation.
         * - Errata workarounds to circumvent API implementation.
         * - Allows for rapid testing / unit testing of firmware.
         *
         * @param param
         *            Parameter enumeration.
         * @param value
         *            Value of parameter.
         * @param subValue
         *            Subvalue for parameter. Maximum value of 255.
         * @param ordinal
         *            Ordinal of parameter.
         * @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 ConfigSetParameter(ParamEnum param, float value, int subValue, int ordinal, int timeoutMs)
        {
            ErrorCode retval = _ll.ConfigSetParameter(param, value, (byte)subValue, ordinal,
                                                      timeoutMs);

            return(retval);
        }