<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Tamás,<br>
    <br>
    your interpretation is correct. The DTC status byte e0 also decodes
    to…<br>
    <br>
        warningIndicatorRequested + testNotCompletedThisOperationCycle +
    testFailedSinceLastClear<br>
    <br>
    …and lacks confirmedDTC, so the fault condition did not occur 
often
    enough to be stored in long term memory.<br>
    <br>
    I would assume 1801ff00 returns all DTC codes supported by the ECU,
    which are 0xdf = 223 codes of 3 bytes each (containing d1 13 e0).<br>
    <br>
    All other DTCs seem to have status 00, so only this DTC occured
    since the last clear.<br>
    <br>
    <blockquote type="cite">
      <div><span
          style="color:rgb(0,0,0);box-sizing:border-box;font-weight:700">OVMS#</span><span
style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium"> </span><kbd
style="box-sizing:border-box;font-family:Monaco,Menlo,Consolas,"QuickType
          Mono","Lucida Console","Roboto
          Mono","Ubuntu Mono","DejaVu Sans
          Mono","Droid Sans
          Mono",monospace;font-size:11.699999809265137px;padding:2px
4px;color:rgb(255,255,255);background-color:rgb(51,51,51);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px">obd
          can1 request device 751 752 1802ff00</kbd><br
          style="color:rgb(0,0,0);box-sizing:border-box">
        <span
          style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium">751[752]
          1802ff: ERROR: request failed with response error code 12
          subFunctionNotSupported</span><br>
      </div>
    </blockquote>
    <br>
    You should try some further subfunctions, 02 returning <span
      style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium">subFunctionNotSupported
      doesn't mean all higher ones are unsupported as well. Best would
      be a loop through all 256 to be sure. That's pretty simple using
      the new Duktape binding:<br>
      <br>
      <font face="monospace">(function(){<br>
          <br>
          var cmd = new Uint8Array([0x18, 0x00]);<br>
          var req = { txid: 0x751, rxid: 0x752, request: cmd };<br>
          var res, subfn;<br>
        <br>
          for (subfn = 0; subfn <= 255; subfn++) {<br>
            cmd[1] = subfn;<br>
            res = OvmsVehicle.ObdRequest(req);<br>
            if (res.error != 0x12)<br>
              print(subfn.toString(16) + ": " + res.errordesc +
        res.response_hex + "\n");<br>
          }<br>
        <br>
        })()</font><br>
      <br>
      Whereever you get something else than code 12
      subFunctionNotSupported is worth investigating with parameters.<br>
      <br>
      Some ECUs store snapshots or extended records for DTCs, see the
      UDS command scheme for 19 -- maybe something similar can be found
      here using command 18.<br>
      <br>
      <blockquote type="cite">
        <div>This is clear of dtc codes?</div>
        <div>
          <div><br>
          </div>
          <div>1624253725.617633 1R11 751 03 14 ff 00 00 00 00 00</div>
          <div>1624253725.618253 1R11 752 03 54 ff 00 13 e0 00 8e</div>
        </div>
      </blockquote>
      <br>
      Yes, 14ff00, the response is an ACK/OK to that.<br>
      <br>
      Regards,<br>
      Michael<br>
    </span><br>
    <br>
    <div class="moz-cite-prefix">Am 21.06.21 um 08:41 schrieb Tamás
      Kovács:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAGpaXUv0SjvZJ04e1g7yL9QXYujyeOvjZRmAqPH73pt-XD8YLA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div dir="ltr">
                <div dir="ltr">
                  <div dir="ltr">
                    <div dir="ltr">
                      <div dir="ltr">
                        <div dir="ltr">
                          <div dir="ltr">Now i create a new log file
                            without dropped frame, with filter.
                            <div><a
href="https://drive.google.com/file/d/1o477jmllYyntpmLJca_3aTmL2NvYZfsZ/view?usp=sharing"
                                moz-do-not-send="true">https://drive.google.com/file/d/1o477jmllYyntpmLJca_3aTmL2NvYZfsZ/view?usp=sharing</a><br>
                            </div>
                            <div><br>
                            </div>
                            <div>Only active error code is U1113.</div>
                            <div><br>
                            </div>
                            <div>This is a U1113 Error?</div>
                            <div>
                              <div>1624253728.207555 1R11 751 04 18 00
                                ff 00 00 00 00</div>
                              <div>1624253728.213037 1R11 752 05 58 01
                                d1 13 e0 00 8e</div>
                            </div>
                            <div><br>
                            </div>
                            <div><span
                                style="color:rgb(0,0,0);box-sizing:border-box;font-weight:700">OVMS#</span><span
style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium"> </span><kbd
style="box-sizing:border-box;font-family:Monaco,Menlo,Consolas,"QuickType
                                Mono","Lucida
                                Console","Roboto
                                Mono","Ubuntu
                                Mono","DejaVu Sans
                                Mono","Droid Sans
                                Mono",monospace;font-size:11.699999809265137px;padding:2px
4px;color:rgb(255,255,255);background-color:rgb(51,51,51);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px">obd
                                can1 request device 751 752 1800ff00</kbd><br
style="color:rgb(0,0,0);box-sizing:border-box">
                              <span
                                style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium">751[752]
                                1800ff00: Response: 01 d1 13 e0        
                                        | ....</span></div>
                            <div><span
                                style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium">if
                                i decode this</span></div>
                            <div><font size="3" face="-webkit-standard"
                                color="#000000"><span
                                  style="caret-color: rgb(0, 0, 0);">d1
                                  = 11010001</span></font></div>
                            <div><font size="3" face="-webkit-standard"
                                color="#000000"><span
                                  style="caret-color: rgb(0, 0, 0);">bit
                                  6-7 = 11 -» U</span></font></div>
                            <div><font size="3" face="-webkit-standard"
                                color="#000000"><span
                                  style="caret-color: rgb(0, 0, 0);">bit
                                  4-5 = 01 -» 1</span></font></div>
                            <div><font size="3" face="-webkit-standard"
                                color="#000000"><span
                                  style="caret-color: rgb(0, 0, 0);">bit
                                  0-3 = 0001 -» 1</span></font></div>
                            <div><font size="3" face="-webkit-standard"
                                color="#000000"><span
                                  style="caret-color: rgb(0, 0, 0);"> so
                                  the error code is: U1113</span></font></div>
                            <div><span
                                style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium"><br>
                              </span></div>
                            <div>
                              <pre class="gmail-receiver gmail-get-window-resize" id="gmail-output" style="box-sizing:border-box;overflow:auto;font-family:Monaco,Menlo,Consolas,"QuickType Mono","Lucida Console","Roboto Mono","Ubuntu Mono","DejaVu Sans Mono","Droid Sans Mono",monospace;font-size:13px;padding:9.5px;margin-top:0px;margin-bottom:10px;line-height:1.42857143;color:rgb(0,34,0);word-break:break-all;word-wrap:break-word;background-color:rgb(245,245,245);border:1px solid rgb(204,204,204);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;height:643px"><span style="box-sizing:border-box;font-weight:700">OVMS#</span> <kbd style="box-sizing:border-box;font-family:Monaco,Menlo,Consolas,"QuickType Mono","Lucida Console","Roboto Mono","Ubuntu Mono","DejaVu Sans Mono","Droid Sans Mono",monospace;font-size:11.699999809265137px;padding:2px 4px;color:rgb(255,255,255);background-color:rgb(51,51,51);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px">obd can1 request 
device 751 752 1801ff00</kbd>
751[752] 1801ff00: Response:
df 05 62 00 00 b4 00 00 b3 00 21 23 00 21 22 00 | ..b.......!#.!".
1a 00 00 21 28 00 21 27 00 1a 01 00 21 38 00 05 | ...!(.!'....!8..
58 00 05 57 00 1b 31 00 1a f0 00 1b 19 00 1b 1a | X..W..1.........
00 1b 1b 00 28 05 00 07 05 00 1a 02 00 1a 03 00 | ....(...........
1a 04 00 1a 2c 00 1a 06 00 1a 07 00 1a 08 00 1a | ....,...........
09 00 1a 0a 00 1a 0b 00 1a 0c 00 1a 0d 00 1a 0e | ................
00 1a 0f 00 0c 73 00 0c 74 00 0a 05 00 1b 2b 00 | .....s..t.....+.
06 91 00 06 92 00 06 93 00 06 94 00 0a 01 00 1a | ................
10 00 1a 11 00 1a 12 00 06 46 00 06 47 00 d8 01 | .........F..G...
00 d8 02 00 d8 03 00 d8 04 00 d8 05 00 d8 06 00 | ................
1a 14 00 1b 0a 00 0a e6 00 0a e7 00 0a e2 00 0a | ................
db 00 0a a1 00 0a df 00 0a a4 00 0a 0a 00 1a 15 | ................
00 1a 16 00 1a 17 00 0a 09 00 0a 10 00 1b 29 00 | ..............).
1b 2a 00 1a 18 00 1a 19 00 06 0b 00 06 05 00 06 | .*..............
04 00 06 0c 00 16 02 00 06 2f 00 d1 90 00 d0 73 | ........./.....s
00 1b 09 00 d1 1b 00 d1 1c 00 d1 1d 00 d1 10 00 | ................
d1 02 00 d1 04 00 1b 35 00 d1 08 00 d1 09 00 d1 | .......5........
05 00 1b 36 00 d1 13 e0 d1 06 00 d1 6a 00 d1 6b | ...6........j..k
00 d9 10 00 d9 00 00 d9 11 00 d9 01 00 1a 1a 00 | ................
1a f1 00 1a f2 00 1a f3 00 05 60 00 1a 1b 00 1a | ..........`.....
1c 00 1a 22 00 1a 1e 00 d0 80 00 d1 60 00 d9 20 | ..."........`.. 
00 0a ba 00 1a 1f 00 0a 2a 00 0a 3d 00 0a ed 00 | ........*..=....
0a 51 00 1a 20 00 1a 21 00 1a 23 00 1a 24 00 1a | .Q.. ..!..#..$..
25 00 1a 26 00 1a 27 00 1a 28 00 1a 29 00 1a 2a | %..&..'..(..)..*
00 0a 90 00 0a 78 00 1a 2b 00 1a 3d 00 1a 3e 00 | .....x..+..=..>.
1a 3f 00 1b 1c 00 1b 1d 00 0a bf 00 1a 44 00 1a | .?...........D..
45 00 1a 2d 00 1a 2e 00 1a 2f 00 1a 30 00 1a 31 | E..-...../..0..1
00 1a 32 00 1b 33 00 1a 33 00 1a 34 00 1b 34 00 | ..2..3..3..4..4.
1a 35 00 1a e6 00 d0 81 00 d1 61 00 d0 90 00 1a | .5........a.....
38 00 d9 21 00 d9 24 00 1a f4 00 1a f5 00 1a 39 | 8..!..$........9
00 1b 1e 00 1b 1f 00 1a c5 00 1b 2f 00 1b 21 00 | .........../..!.
1a f6 00 1a f7 00 1a f8 00 1a f9 00 1a fa 00 1a | ................
fb 00 1a fc 00 1a fd 00 1a fe 00 1a ff 00 1b 00 | ................
00 1b 01 00 1b 02 00 1b 03 00 1b 04 00 1b 05 00 | ................
1b 06 00 1b 07 00 1b 08 00 1b 0c 00 1b 0d 00 1b | ................
0b 00 1b 22 00 1b 23 00 1b 24 00 1b 25 00 1b 26 | ..."..#..$..%..&
00 1b 27 00 1b 28 00 1b 2c 00 1b 30 00 1b 2d 00 | ..'..(..,..0..-.
1b 32 00 d1 17 00 05 13 00 12 31 00 1b 37 00 91 | .2........1..7..
78 00 60 05 00 60 06 00 60 07 00 60 0a 00 60 0e | x.`..`..`..`..`.
00 60 0f 00 60 10 00 60 11 00 60 16 00 60 18 00 | .`..`..`..`..`..
60 19 00 60 1a 00 60 20 00 60 21 00 60 22 00 60 | `..`..` .`!.`".`
2a 00 60 2b 00 60 2c 00 60 2d 00 60 2e 00       | *.`+.`,.`-.`..  </pre>
                            </div>
                            <div><span
                                style="color:rgb(0,0,0);box-sizing:border-box;font-weight:700">OVMS#</span><span
style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium"> </span><kbd
style="box-sizing:border-box;font-family:Monaco,Menlo,Consolas,"QuickType
                                Mono","Lucida
                                Console","Roboto
                                Mono","Ubuntu
                                Mono","DejaVu Sans
                                Mono","Droid Sans
                                Mono",monospace;font-size:11.699999809265137px;padding:2px
4px;color:rgb(255,255,255);background-color:rgb(51,51,51);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px">obd
                                can1 request device 751 752 1802ff00</kbd><br
style="color:rgb(0,0,0);box-sizing:border-box">
                              <span
                                style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium">751[752]
                                1802ff: ERROR: request failed with
                                response error code 12
                                subFunctionNotSupported</span><br>
                            </div>
                            <div>This is clear of dtc codes?</div>
                            <div>
                              <div><br>
                              </div>
                              <div>1624253725.617633 1R11 751 03 14 ff
                                00 00 00 00 00</div>
                              <div>1624253725.618253 1R11 752 03 54 ff
                                00 13 e0 00 8e</div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">Michael Balzer <<a
                href="mailto:dexter@expeedo.de" moz-do-not-send="true">dexter@expeedo.de</a>>
              ezt írta (időpont: 2021. jún. 20., V, 13:54):<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
              <div> That log file is missing too many frames to be
                readable, and the logger should have told you that.<br>
                <br>
                Maybe your OVMS has an SD speed issue? Have you tried
                raising the optimization hints?<br>
                <a
href="https://docs.openvehicles.com/en/latest/crtd/can_logging.html#optimizing-the-performance"
                  target="_blank" moz-do-not-send="true">https://docs.openvehicles.com/en/latest/crtd/can_logging.html#optimizing-the-performance</a><br>
                <br>
                Anyway, it seems your tool queries at least the four
                ECUs defined in the source. It uses diag session 0x92
                (i.e. request 1092), and then request 1800ff00 to
                retrieve the DTCs.<br>
                <br>
                18 is not a standard UDS command, but some VW ECUs
                (especially the TP2.0 ones) also use this (but there
                it's 1802ff00).<br>
                <br>
                You can try other subfunctions, i.e. 1801, 1802, etc. to
                see if you get something else than "subfunction not
                supported".<br>
                <br>
                To clear the DTCs, the tool seems to use the standard
                command 14, but with non-standard parameters: the log
                has a request 14ff00 to 771 (but the response is
                missing).<br>
                <br>
                Due to the missing frames, your DTCs are not readable in
                the log. Try to get a log without dropped frames.<br>
                <br>
                Regards,<br>
                Michael<br>
                <br>
                <br>
                <div>Am 20.06.21 um 09:02 schrieb Tamás Kovács:<br>
                </div>
                <blockquote type="cite">
                  <div dir="ltr">
                    <div dir="ltr">a) a test with another two device
                      <div>b) nothing working</div>
                      <div>c) if i use 19 Poll type and vehicle set to
                        trio no response, if vehicle empty set get
                        80-error code</div>
                      <div><br>
                      </div>
                      <div>If i connect simultaneously another device
                        can i capture the DTC code reading with ovms
                        using a Y OBD cable?</div>
                      <div><br>
                      </div>
                      <div>My car always have a U1113 DTC error because
                        not have a EV-REMOTE ECU. I have a log file
                        created with ovms when i read and clean the dtc
                        codes with hobdrive. Another error codes: P1A39
                        (BMU), P1A33 (BMU), P1A7E (CMU)</div>
                      <div>Log file: <a
href="https://drive.google.com/file/d/1zcIcMsBYLEoubafO1P6JW_GchZXI7WLD/view?usp=sharing"
                          target="_blank" moz-do-not-send="true">https://drive.google.com/file/d/1zcIcMsBYLEoubafO1P6JW_GchZXI7WLD/view?usp=sharing</a></div>
                    </div>
                  </div>
                  <br>
                  <div class="gmail_quote">
                    <div dir="ltr" class="gmail_attr">Michael Balzer
                      <<a href="mailto:dexter@expeedo.de"
                        target="_blank" moz-do-not-send="true">dexter@expeedo.de</a>>
                      ezt írta (időpont: 2021. jún. 19., Szo, 18:55):<br>
                    </div>
                    <blockquote class="gmail_quote" style="margin:0px
                      0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
                      <div> Tamás,<br>
                        <br>
                        a) are you sure the DTC is in device 761/762?
                        There are three more devices in the i-MiEV
                        source.<br>
                        <br>
                        b) maybe you need to give another status mask,
                        e.g. 1902ae or just all DTCs by 1902ff -- did
                        you try that?<br>
                        <br>
                        c) you can also try the other DTC retrieval
                        subfunctions, e.g. 1901<mask> to get just
                        the number of DTCs (see ISO spec for more)<br>
                        <br>
                        Regards,<br>
                        Michael<br>
                        <br>
                        <div>Am 19.06.21 um 18:13 schrieb Tamás Kovács:<br>
                        </div>
                        <blockquote type="cite">
                          <div dir="ltr">
                            <div dir="ltr">
                              <div dir="ltr">
                                <div dir="ltr">
                                  <div dir="ltr">
                                    <div dir="ltr">
                                      <div dir="ltr">Hi!</div>
                                      <div dir="ltr"><br>
                                      </div>
                                      <div>I would like to create a dtc
                                        reading on i-miEV/ Peugeot iOn.
                                        But if is send the
                                        following command:</div>
                                      <div><span
                                          style="color:rgb(0,0,0);box-sizing:border-box;font-weight:700">OVMS#</span><span
style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium"> </span><kbd>obd
                                          can1 request device 761 762
                                          19020f</kbd><br
                                          style="color:rgb(0,0,0);box-sizing:border-box">
                                        <span
                                          style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium">761[762]
                                          19020f: request failed with
                                          response error code 80</span></div>
                                      <div><span
                                          style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium"><br>
                                        </span></div>
                                      <div><span
                                          style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium">I
                                          now use hobdrive app to read
                                          dtc code with OBDlink LX</span></div>
                                      <div><span
                                          style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium"><br>
                                        </span></div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </blockquote>
                        <br>
                        <pre cols="72">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26</pre>
                      </div>
                      _______________________________________________<br>
                      OvmsDev mailing list<br>
                      <a href="mailto:OvmsDev@lists.openvehicles.com"
                        target="_blank" moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a><br>
                      <a
                        href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev"
                        rel="noreferrer" target="_blank"
                        moz-do-not-send="true">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
                    </blockquote>
                  </div>
                  <br clear="all">
                  <div><br>
                  </div>
                  -- <br>
                  <div dir="ltr">Üdvözlettel:<br>
                    Kovács Tamás<br>
                    <br>
                  </div>
                  <br>
                  <fieldset></fieldset>
                  <pre>_______________________________________________
OvmsDev mailing list
<a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank" moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a>
<a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" target="_blank" moz-do-not-send="true">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
                </blockquote>
                <br>
                <pre cols="72">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26</pre>
              </div>
              _______________________________________________<br>
              OvmsDev mailing list<br>
              <a href="mailto:OvmsDev@lists.openvehicles.com"
                target="_blank" moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a><br>
              <a
                href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
            </blockquote>
          </div>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <div dir="ltr" class="gmail_signature">Üdvözlettel:<br>
            Kovács Tamás<br>
            <br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26</pre>
  </body>
</html>