www.gusucode.com > vnt工具箱matlab源码程序 > vnt/vnt/+j1939/TPTxState.m

    classdef TPTxState
% TPTxState Enumeration class for J1939 transport protocol transmit state.
%
%   This class defines an enumeration which is the possible states for the
%   J1939 transport protocol transmit activity for a J1939 channel.

% Authors: Jaremy Pyle
% Copyright 2015 The MathWorks, Inc.

enumeration
    % Inactive - Transmitter is initialized, but not yet actively sending.
    Inactive
    % WaitingForCTS - Transmitter is waiting for Clear To Send from the
    % receiver.
    WaitingForCTS
    % WaitingForAck - Transmitter is waiting for an Acknowledgment from the
    % receiver.
    WaitingForAck
    % SendingDT - Transmitter is actively sending Data Transfer messages.
    SendingDT
    % DTDelayed - Data transfer has been delayed by the receiver via flow
    % control messaging.
    DTDelayed
    % Completed - Data transfer is completed and acknowledged by the
    % receiver.
    Completed
    % Aborted - Data transfer has been cancelled by the receiver.
    Aborted
    % TimedOut - Transmitter activity has timed out waiting for flow
    % control from the receiver that did not arrive.
    TimedOut
end

end