예제 #1
0
        /**
         * Gets the period of the given status frame.
         *
         * @param frame
         *            Frame to get the period of.
         * @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 Period of the given status frame.
         */
        public int GetStatusFramePeriod(CANifierStatusFrame frame, int timeoutMs)
        {
            int period;

            _ll.GetStatusFramePeriod(frame, out period, timeoutMs);
            return(period);
        }