<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Greg & Steve,<br>
    <br>
    that's again mDNS. My module has now, without mDNS, been running for
    over four hours with many reconnects and no problems at all.<br>
    <br>
    There is an mDNS fix upstream esp-idf, but I don't think that is
    related to our issue: c68fd9d54535f8123b2f63d1061114eff9f77c1b<br>
    <br>
    We need to update esp-idf, but it's too late now for the first
    factory image. Better just exclude mDNS for now.<br>
    <br>
    I've pushed my workaround for the AP mode startup in
    OvmsServerV2::NetUp() -- it works, but as Mark said, we certainly
    need to revise the network init procedures.<br>
    <br>
    I'm off for today. Besides the mDNS issue I think we've got a very
    usable first release.<br>
    <br>
    Regards,<br>
    Michael<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Am 18.03.2018 um 23:32 schrieb Greg D.:<br>
    </div>
    <blockquote type="cite"
      cite="mid:3365427b-1a7e-a507-f364-4b4c421f75a2@gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      So, the stuck v2 server occurred again.  Went off to so some other
      things, came back to find it wasn't connected.  Stopped and
      started, but the start never returned.  I toggled the wifi hotspot
      that it was connected through (confirmed on the hotspot side), but
      it never reconnected.  Disconnecting and reconnecting the
      simple_monitor; still no prompt, no response to the keyboard. 
      Presume it's stuck in a loop somewhere, with the lights turned
      out.  No idea how to get its attention at this point, to find out
      what it's doing...<br>
      <br>
      <div dir="ltr">Welcome to the Open Vehicle Monitoring System
        (OVMS) - Async Console<br>
        I (4161) wifi: n:1 1, o:1 0, ap:1 1, sta:1 0, prof:1<br>
        I (4821) wifi: state: init -> auth (b0)<br>
        I (4831) wifi: state: auth -> auth (4a0)<br>
        I (5821) wifi: state: auth -> init (2)<br>
        I (5821) wifi: n:1 0, o:1 1, ap:1 1, sta:1 0, prof:1<br>
        I (11451) simcom: State timeout, transition to 2<br>
        I (11451) simcom: State: Enter PoweringOn state<br>
        I (11451) simcom: Power Cycle<br>
        I (12611) housekeeping: System considered stable (free: 41816
        bytes)<br>
        I (13281) wifi: n:1 1, o:1 0, ap:1 1, sta:1 0, prof:1<br>
        I (13291) wifi: state: init -> auth (b0)<br>
        I (13301) wifi: state: auth -> assoc (0)<br>
        I (13311) wifi: state: assoc -> run (10)<br>
        I (13381) wifi: connected with gregnet3, channel 1<br>
        I (14401) event: sta ip: 192.168.43.49, mask: 255.255.255.0, gw:
        192.168.43.1<br>
        I (14401) netmanager: Set DNS#0 9.9.9.9<br>
        I (14401) netmanager: Set DNS#1 8.8.8.8<br>
        I (14401) netmanager: Interface priority is st1 (<a
          href="http://192.168.43.49/255.255.255.0"
          moz-do-not-send="true">192.168.43.49/255.255.255.0</a> gateway
        192.168.43.1)<br>
        I (14401) time: Starting SNTP client<br>
        I (14411) ovms-mdns: Restarting MDNS service<br>
        I (14441) esp32wifi: WiFi UP with SSID: gregnet3, MAC:
        30:ae:a4:37:1b:64, IP: 192.168.43.49, mask: 255.255.255.0, gw:
        192.168.43.1<br>
        I (17571) simcom: State: Enter PoweredOn state<br>
        I (37471) simcom: State: Enter MuxStart state<br>
        I (37471) gsm-mux: Start MUX<br>
        I (37481) gsm-mux: Channel #0 is open<br>
        I (37491) gsm-mux: Channel #1 is open<br>
        I (37491) gsm-mux: Channel #2 is open<br>
        I (37501) gsm-mux: Channel #3 is open<br>
        I (37511) gsm-mux: Channel #4 is open<br>
        I (38451) simcom: State: Enter NetWait state<br>
        I (48471) simcom: CREG Network Registration: RegisteredRoaming<br>
        I (49451) simcom: State: Enter NetStart state<br>
        I (50491) simcom: PPP Connection is ready to start<br>
        I (51451) simcom: State: Enter NetMode state<br>
        I (51451) gsm-ppp: Initialising...<br>
        I (54551) gsm-ppp: StatusCallBack: None<br>
        I (54551) gsm-ppp: status_cb: Connected<br>
        I (54551) gsm-ppp:    our_ipaddr  = 10.170.146.142<br>
        I (54551) gsm-ppp:    his_ipaddr  = 10.64.64.64<br>
        I (54561) gsm-ppp:    netmask     = 255.255.255.255<br>
        I (54561) gsm-ppp:    our6_ipaddr = ::<br>
        I (54561) netmanager: Set DNS#0 9.9.9.9<br>
        I (54561) netmanager: Set DNS#1 8.8.8.8<br>
        I (54561) netmanager: Interface priority is st1 (<a
          href="http://192.168.43.49/255.255.255.0"
          moz-do-not-send="true">192.168.43.49/255.255.255.0</a> gateway
        192.168.43.1)<br>
        I (54561) time: Starting SNTP client<br>
        I (54561) ovms-mdns: Restarting MDNS service<br>
        W (682451) simcom: 3 minutes since last MUX rx frame - assume
        MUX has failed<br>
        I (682451) gsm-ppp: Shutting down (soft)...<br>
        I (682451) netmanager: Interface priority is st1 (<a
          href="http://192.168.43.49/255.255.255.0"
          moz-do-not-send="true">192.168.43.49/255.255.255.0</a> gateway
        192.168.43.1)<br>
        I (682451) time: Restarting SNTP client<br>
        I (682451) ovms-server-v2: Network is reconfigured, so
        disconnect network connection<br>
        I (682451) ovms-mdns: Restarting MDNS service<br>
        OVMS > <br>
        OVMS > <br>
        OVMS > server v2 status<br>
        Starting<br>
        OVMS > server v2 stop<br>
        Stopping OVMS Server V2 connection (oscv2)<br>
        OVMS > server v2 status<br>
        OVMS v2 server has not been started<br>
        OVMS > server v2 start<br>
        Launching OVMS Server V2 connection (oscv2)<br>
        <div dir="ltr"><br>
          --- exit ---<br>
          <a class="moz-txt-link-abbreviated"
href="mailto:greg@linux-0rpb:%7E/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3"
            moz-do-not-send="true">greg@linux-0rpb:~/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3</a>>
          make simple_monitor<br>
          --- forcing DTR inactive<br>
          --- forcing RTS inactive<br>
          --- Miniterm on /dev/ttyUSB0  115200,8,N,1 ---<br>
          --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by
          Ctrl+H ---<br>
          <br>
        </div>
        <br>
        <br>
      </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="160">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
  </body>
</html>