The Message Parser - transitions from state OPCN

Table 2
bv err opc b>2 next
STATE
action
F F F F -
F F F T -
F F T F -
F F T T -
F T F F WAIT PutIncompleteMessage();
PutLineError();
F T F T WAIT PutIncompleteMessage();
PutLineError();
F T T F -
F T T T -
T F F F WAIT m.message[len] := b; INC(len);
PutIncompleteMessage();
T F F T MSG m.message[len] := b; INC(len);
expectedLen := b;
T F T F MSG/OPCN(1) PutIncompletMessage();
m.message[len] := b; INC(len);
expectedLen := 2/4/6(1)
T F T T
T T F F WAIT m.message[len] := b; INC(len);
PutIncompleteMessage();
PutLineError();
T T F T
T T T F
T T T T

Remarks:

  1. MSG or OPCN (depends on received b)

BACK TO LNMON
BACK TO MY HOMEPAGE


© 1998 by Martin Pischky (martin@pischky.de) [ http://www.pischky.de/dcc/lnmon/lnmonsn.htm | Datenschutzerklärung | creation 970107 | version 980108 ]