[Eumex-devel] serielles Eumex-Transportprotokoll
Status: Beta
Brought to you by:
biop0b
From: Fabian M. <em...@tp...> - 2005-10-26 20:29:42
|
Hallo Leute! Nachdem ich neulich das Protokoll schon von Hand neu zerlegt hatte und die wahre Bedeutung der 2. Sequenznummer herausgefunden habe, ist mir gestern mal wieder mein alter Ausdruck der X.75-Spec in die H=E4nde gefallen. Den hab ich dann mal in Ruhe und von vorn (hatte bisher in der Mitte und =FCberall mal etwas gelesen und zumindest herausgefunden, das er teilweise zutrifft) gelesen und siehe da, ich bin jetzt schlauer was das serielle Protokoll angeht. :-) Also das serielle Protokoll ist X.75 Single Link Procedure (SLP) im non-extended Mode (mod 8) mit 3E als Flags, der Bytesumme als FCS, ohne Adressfeld und mit 3 als h=F6chster Sequenznummer. FRMR scheint die Anlage scheinbar nicht zu kennen, aber ich provoziere da noch mal die entsprechenden Fehler, um es wirklich zu wissen. Der unumbered Frame C4 (Keep Alive) ist frei erfunden und dient scheinbar als Ersatz f=FCr das normalerweise geforderte synchrone Verhalten. Das Protokoll ist relativ simpel, wenn man erst mal alle Verweise etc. in der Spec aufgel=F6st hat. Es gibt 2 m=F6gliche Verbindungsarten, wovon aber jeweils nur eine aktiv sein kann, einmal mod 8, welcher durch SABM aktiviert wird und der extended Mode, der durch SABME aktiviert wird. SABME (also mod 128) kann die Anlage nicht, deshalb auch die entsprechende Meldung in der Firmware, von der ich mich bisher hab t=E4uschen und verwirren lassen. Wenn man das erst mal weis, kann man ja auch die Implementierungs- beschreibung zum gro=DFen Teil benutzen, denke ich, welche immerhin vorhanden ist. Werde mir mal bei Gelegenheit die neuste Version der Spec beschaffen, denn das Adressfeld macht imho nicht wirklich Sinn, vielleicht ist es ja auch dann rausgeflogen, gegen=FCber der Vorabversion 3/93 auf welche ich mich hier beziehe. Gru=DF Fabian |