<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hat zu meinem Thema noch jemand eine Idee wie ich es gelöst bekomme bzw. kann mir einer den vzlogger patchen so das ich meine Parameter übergeben könnte.</div><div><br>Am 02.05.2014 um 22:29 schrieb Frank Bruhn <<a href="mailto:bruhnfrank@icloud.com">bruhnfrank@icloud.com</a>>:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><div style="margin: 0px;"><font face="Menlo"><span style="font-size: 11px;">Das komische ist wenn ich diese beiden Parameter ändere, nachdem der vzlogger seine Konfig übergeben hat, funktioniert die Kommunikation trotzdem nicht. Bei den Einstellungen vom vzlogger sind noch diese 10:0:ffffeda7:a30 bzw. 10:4:7fffeda7:a30 und bei mir steht da einfach nur </span></font><span style="font-family: Menlo; font-size: 11px; color: rgb(0, 54, 74);">10:4:da7:a30. Der dritte Block scheint das Problem zu sein was auch immer das für Parameter sind. Im Netz habe ich auch keine HEX-Tabelle gefunden, mit welcher man das entschlüsseln könnte. Ich finde bei der lesbaren Konfiguration jetzt auch keinen Unterschied mehr obwohl die HEX-Parameter unterschiedlich sind. Wie gesagt, hiermit "</span><font color="#00364a" face="Menlo"><span style="font-size: 11px;">10:4:da7:a30“ funktioniert’s und hiermit "</span></font><font face="Menlo"><span style="font-size: 11px;">10:4:7fffeda7:a30“ nicht.</span></font></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="color: rgb(0, 54, 74);"><br></span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="color: rgb(52, 189, 38);"><b>pi@volkszaehler</b></span> <span style="color: rgb(83, 48, 225);"><b>~ $</b></span> stty -F /dev/ttyUSB0 10:0:ffffeda7:a30:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="color: #34bd26"><b>pi@volkszaehler</b></span> <span style="color: #5330e1"><b>~ $</b></span> stty -F /dev/ttyUSB0 -crtscts onlcr</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="color: #34bd26"><b>pi@volkszaehler</b></span> <span style="color: #5330e1"><b>~ $</b></span> stty -g </dev/ttyUSB0</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">10:4:7fffeda7:a30:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><div style="margin: 0px;"><span style="color: #34bd26"><b>pi@volkszaehler</b></span> <span style="color: #5330e1"><b>~ $</b></span> stty -a </dev/ttyUSB0</div><div style="margin: 0px;">speed 300 baud; rows 0; columns 0; line = 0;</div><div style="margin: 0px;">intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;</div><div style="margin: 0px;">eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;</div><div style="margin: 0px;">werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;</div><div style="margin: 0px;">parenb -parodd cs7 hupcl -cstopb cread clocal -crtscts</div><div style="margin: 0px;">-ignbrk -brkint -ignpar -parmrk inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff</div><div style="margin: 0px;">-iuclc -ixany -imaxbel -iutf8</div><div style="margin: 0px;">-opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0</div><div style="margin: 0px;">-isig -icanon -iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt</div><div style="margin: 0px;">echoctl echoke</div><div style="margin: 0px;"><div style="margin: 0px;"><span style="color: #34bd26"><b>pi@volkszaehler</b></span> <span style="color: #5330e1"><b>~ $</b></span> stty -F /dev/ttyUSB0 10:4:da7:a30:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0</div><div style="margin: 0px;"><span style="color: #34bd26"><b>pi@volkszaehler</b></span> <span style="color: #5330e1"><b>~ $</b></span> stty -a </dev/ttyUSB0</div><div style="margin: 0px;">speed 300 baud; rows 0; columns 0; line = 0;</div><div style="margin: 0px;">intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;</div><div style="margin: 0px;">eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;</div><div style="margin: 0px;">werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;</div><div style="margin: 0px;">parenb -parodd cs7 hupcl -cstopb cread clocal -crtscts</div><div style="margin: 0px;">-ignbrk -brkint -ignpar -parmrk inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff</div><div style="margin: 0px;">-iuclc -ixany -imaxbel -iutf8</div><div style="margin: 0px;">-opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0</div><div style="margin: 0px;">-isig -icanon -iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt</div><div style="margin: 0px;">echoctl echoke</div></div><div style="margin: 0px;"><br></div><div style="margin: 0px;">MfG Frank</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">PS: Danke für eure Unterstützung!</div></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div>Am 02.05.2014 um 20:24 schrieb Hans-Dieter Hansen <<a href="mailto:hansi@hdhuh.de">hansi@hdhuh.de</a>>:<br><div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div dir="auto"><div>Hallo Frank,</div><div><br></div><div>Folgende Parameter sind unterschiedlich <br><blockquote type="cite"><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><div style="margin: 0px;">crtscts</div></div></blockquote><blockquote type="cite"><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><div style="margin: 0px;"> rts/cts handshake aktiviert bei vzlogger</div></div></blockquote><br><blockquote type="cite"><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><div style="margin: 0px;">onlcr</div></div></blockquote><blockquote type="cite"><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><div style="margin: 0px;">cr bei zeilenwechsel einfügen</div></div></blockquote><div><br></div><div>Wie diese Parameter im vzlogger geändert werden können weis ich leider nicht.</div><br>Gruß Hansi<div><br></div></div><div><br>Am 02.05.2014 um 15:19 schrieb Frank Bruhn <<a href="mailto:bruhnfrank@icloud.com">bruhnfrank@icloud.com</a>>:<br><br></div><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1">Also er überschreibt die Daten auch wenn ich die Zeilen auskommentiere. Ich würde es besser finden wenn man einfach diese Parameter in der HEX-Form übergeben könnte, aber das ist wahrscheinlich nicht benutzerfreundlich genug. <div><br></div><div>So einmal diese Einstellungen in lesbarer Form:</div><div><br></div><div><span style="color: rgb(0, 54, 74); font-family: Menlo; font-size: 11px;">10:4:da7:a30:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0</span></div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><div style="margin: 0px;">speed 300 baud; rows 0; columns 0; line = 0;</div><div style="margin: 0px;">intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V;</div><div style="margin: 0px;">flush = ^O; min = 1; time = 0;</div><div style="margin: 0px;">parenb -parodd cs7 hupcl -cstopb cread clocal -crtscts</div><div style="margin: 0px;">-ignbrk -brkint -ignpar -parmrk inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany -imaxbel -iutf8</div><div style="margin: 0px;">-opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0</div><div style="margin: 0px;">-isig -icanon -iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke</div></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">und einmal die vom vzlogger (welche nicht funktionieren):</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="color: rgb(0, 54, 74);">10:0:ffffeda7:a30:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0</span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span style="color: rgb(0, 54, 74);"><br></span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><div style="margin: 0px;">speed 300 baud; rows 0; columns 0; line = 0;</div><div style="margin: 0px;">intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V;</div><div style="margin: 0px;">flush = ^O; min = 1; time = 0;</div><div style="margin: 0px;">parenb -parodd cs7 hupcl -cstopb cread clocal crtscts</div><div style="margin: 0px;">-ignbrk -brkint -ignpar -parmrk inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany -imaxbel -iutf8</div><div style="margin: 0px;">-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0</div><div style="margin: 0px;">-isig -icanon -iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke</div><div style="margin: 0px;"><br></div></div><div><div>Am 02.05.2014 um 14:35 schrieb Hans-Dieter Hansen <<a href="mailto:hansi@hdhuh.de">hansi@hdhuh.de</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hallo<br><br>Der bulliger überschreibt die Konfiguration auf jeden Fall.<br>Wenn nichts definiert ist nimmt er die default Einstellung 9600  Baud.<br>Bei den weiteren Parametern bin ich mir nicht ganz sicher ( bin gerade unterwegs) 7e1 oder 8n1.<br><br><br><br>Gruß Hansi<br><br><br><blockquote type="cite">Am 02.05.2014 um 14:04 schrieb Daniel Lauckner <<a href="mailto:mailing@jahp.de">mailing@jahp.de</a>>:<br><br>Hallo,<br><br><blockquote type="cite">Am Montag, 28. April 2014 um 21:59 schrieb Frank Bruhn:<br>stty -g </dev/ttyUSB0<br>10:4:da7:a30:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0<br></blockquote><br>Mach das mal bitte mit stty -a, ist für Menschen einfacher zu lesen.<br><br><blockquote type="cite">der vzlogger überschreibt das allerdings immer mit seiner<br>Konfiguration<br></blockquote>[...]<br><blockquote type="cite">               "parity" : "7E1",<br>               "baudrate" : 300,<br></blockquote>Klar.<br><br>Ich bin mir aber nicht ganz sicher wie weit vzlogger geht, ob er die<br>Schnittstelle immer setzt auch wenn du die betreffenden Variablen nicht<br>definierst.<br><br><br><br>mfg Daniel<br><br><br></blockquote></blockquote></div><br></div></blockquote></div></blockquote></div><br></div></blockquote></body></html>