<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Would removing (or impairing with tin foil) the antenna make for a
    poor-enough cell connectivity, or do you need other environmental
    factors (interference, etc)?<br>
    <br>
    What is the current recommendation for configuration and enabling 3G
    ?  From Michael's email, I see<br>
    <blockquote><tt>OVMS > config list modem</tt><br>
      <tt> </tt><tt>modem</tt><br>
      <tt> </tt><tt>  apn: hologram</tt><br>
      <tt> </tt><tt>  apn.password: </tt><br>
      <tt> </tt><tt>  apn.user: </tt><br>
      <tt> </tt><tt>  enable.gps: yes</tt><br>
      <tt> </tt><tt>  enable.gpstime: yes</tt><br>
      <tt> </tt><tt>  enable.net: yes</tt><br>
      <tt> </tt><tt>  enable.sms: yes</tt><br>
      <tt> </tt><br>
      <tt> </tt><tt>OVMS > power simcom on</tt><br>
    </blockquote>
    <tt> </tt>For a Roadster, I presume I can ignore the two GPS
    entries - the car supplies that info, right?  Also, what are the
    apn.user and apn.password fields?  Is that our Hologram Dashboard
    account?  Any other settings?<br>
    <br>
    I'm kind of in a hole, regarding cellular service, so I can try
    testing.  I also would like to test the module hand over
    connectivity from WiFi (supplied by the OBDII Dongle) to Cellular,
    when the car is turned off.  I disable the external 12v to the
    dongle upon the turn-off event, since I don't have any way to do
    that when the car goes to sleep.  (Could definitely use a new Event
    there...  Vehicle.off is best when obd2ecu is driving a HUD, but for
    other devices, vehicle.asleep would be better.).<br>
    <br>
    Thanks,<br>
    <br>
    Greg<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Mark Webb-Johnson wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:544C5F9C-B240-4FEA-B5A2-1EA9915C272B@webb-johnson.net">
      <pre wrap="">I’m aware of this, and working on it.

Something strange going on in the lwip pppos api. Seems to not be returning from the shutdown call, so our simcom thread gets locked up. Also messes up the main freertos threads (I think those drive the event timers for lwip).

I am working on a re-factor of the simcom state diagram to simplify the way we drive this, and also an ability to force a state change by command. At the moment, too much is being done in state NetMode. My test-debug cycle is also way too long (plug in antenna, power up simcom, wait for cellular connectivity, wait for GSM lock, wait for mux, wait for CSQ, wait for PPP, then disconnect antenna, and wait again…), can only be done in areas of poor cellular connectivity, and is driving me crazy. That should speed up debugging this issue. I’m working on it…

Regards, Mark.

</pre>
      <blockquote type="cite">
        <pre wrap="">On 11 Dec 2017, at 2:55 AM, Michael Balzer <a class="moz-txt-link-rfc2396E" href="mailto:dexter@expeedo.de"><dexter@expeedo.de></a> wrote:

Just had this after letting the module idle for a while:


I (11249582) simcom: CREG Network Registration: RegisteredRoaming
I (11253822) ovms-server-v2: Send MP-0 D0,0,5,0,0,-40,0,0,0,11251,0,0,1,0,0.373626,0,0,0,0,0
I (11273832) ovms-server-v2: Send MP-0 D0,0,5,0,0,-40,0,0,0,11271,0,0,1,0,0.401099,0,0,0,0,0
I (11279582) simcom: CREG Network Registration: RegisteredRoaming
I (11282842) ovms-server-v2: Send MP-0 D0,0,5,0,0,-40,0,0,0,11280,0,0,1,0,0.362637,0,0,0,0,0
I (11286902) simcom: PPP Connection disconnected
I (11286902) simcom: PPP Connection disconnected
I (11287562) simcom: Lost network connection (+PPP disconnect in NetMode)
I (11287562) gsm-ppp: Shutting down (hard)...
I (11287562) simcom: State: Enter NetStart state
I (11287562) gsm-nmea: Startup
I (11292662) gsm-ppp: StatusCallBack: User Interrupt
E (11292662) gsm-ppp: status_cb: User interrupt|
I (11292662) gsm-ppp: Shutdown (via status callback)
I (11292662) events: Signal(system.modem.down)
I (11292662) events: Signal(network.modem.down)
I (11292852) ovms-server-v2: Send MP-0 D0,0,5,0,0,-40,0,0,0,11290,0,0,1,0,0.417582,0,0,0,0,0
I (11292902) simcom: PPP Connection disconnected
I (11292902) simcom: PPP Connection disconnected
I (11292902) simcom: PPP Connection disconnected
I (11299592) simcom: PPP Connection is ready to start
I (11300562) simcom: State: Enter NetMode state
I (11300562) gsm-ppp: Initialising...
OVMS > Task watchdog got triggered. The following tasks did not feed the watchdog in time:
- IDLE (CPU 0)
Tasks currently running:
CPU 0: tiT
CPU 1: ipc1
Task watchdog got triggered. The following tasks did not feed the watchdog in time:
- IDLE (CPU 0)
Tasks currently running:
CPU 0: tiT
CPU 1: ipc1
Task watchdog got triggered. The following tasks did not feed the watchdog in time:
- IDLE (CPU 0)
Tasks currently running:
CPU 0: tiT
CPU 1: ipc1


… and so on, no more input reaction from the shell here, had to do a reset.

Regards,
Michael

-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26

_______________________________________________
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>
      <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>
  </body>
</html>