<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>I've committed to github car firmware v1.2.5.</div><div><br></div><div>Changes since v1.2.2 include:</div><div><br></div><div><ul class="MailOutline"><li>Support multiple vehicle configurations - TeslaRoadster and VoltAmpera</li><li>New LED indication scheme, and net driver tidy-ups</li><li>Auto-support Tesla Roadster v1.5 cars</li><li>Issue #38 - Prevent user from locking car if car is ON</li><li>Issue #39 - Alert (SMS/PUSH) if trunk is opened while in valet mode</li></ul></div><div><br></div><div>Please don't get too excited - this doesn't support Volt/Ampera yet - we're just laying the ground work for that support, as some European developers are about to start work on it.</div><div><br></div><div>I don't think this release will make it to end-users in its current form. I'm still working on some features to go in, including:</div><div><br></div><div><ol class="MailOutline"><li>Drive logging</li><li>Charge logging</li><li>Timed (delayed) charging mode commands</li><li>Timed charging status feedback</li><li>Complete-charging-by charging mode</li><li>Cooldown</li><li>Moving digital speedo out of experimental and make it available in production units</li></ol></div><div><br></div><div>Items [1], [2] and [3] are relatively easy and what I'm working on now.</div><div><br></div><div>Item [4] is tricky because we haven't found the status update message on the bus yet. Still looking. Item [5] needs the algorithm and lookup table. Item [6] is easy to do, but needs the thresholds defined (what battery temperature to cooldown from, what battery temperature to stop cooldown at, and what current/voltage to use for cooldown).</div><div><br></div><div>Item [7] seems reasonable now, given the number of cars now using the digital speedo feature and the complete lack of issues seen with it.</div><div><br></div><div>I notice there was some discussion on the TMC forum about homelink control. That would be pretty easy to do, but we don't have homelink modules here in Hong Kong, and I don't have the can bus codes. They are probably easy to find on ID#102. If someone with a usb-can and a homelink adaptor wants to get the codes, I'm very willing to put them in. It certainly is a cool feature.</div><div><br></div><div>So, I'm not sure what will make it into what release, when.</div><div><br></div><div><div>This v1.2.5 release is definitely developers-only, and intended to check stability of the modem driver revisions and usability of the new LED feedback scheme. It is fully backwards-compatible with v1.2.2, and you can upgrade/downgrade firmware as you need.</div></div><div><br></div><div>It is in my car now, and seems to be ok. I would be grateful if developers with some time could try it out and let me have feedback on overall stability and usability of the new LED indication scheme.</div><div><br></div><div>I've got a little youtube video demonstrating this:</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><a href="http://www.youtube.com/watch?v=MdsB8qK6beY">http://www.youtube.com/watch?v=MdsB8qK6beY</a></div></blockquote><div><br></div><div><div>The new LED indication scheme is as follows:</div><div><br></div><div><ol class="MailOutline"><li>When first powered on, the red led stays on, and the green led blinks the version of firmware in the module (e.g.; 1, 2, 5). After that, it enters normal mode.<br><br></li><li>In normal mode, the green led is used to indicate the state, and the red led is used to indicate the last error.<br><br></li><li>If the modem needs to be reset, both red and green leds are turned on for the couple of seconds it takes to reset the modem.</li></ol></div><div><br></div><div>The following states are defined:</div><blockquote class="webkit-indent-blockquote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><font class="Apple-style-span" face="'Andale Mono'">// LED MODES<br>#define NET_LED_WAKEUP 10 // Attempting to wake up the modem<br>#define NET_LED_INITSIM1 9 // Checking SIM card insertion status<br>#define NET_LED_INITSIM2 8 // Checking SIM card PIN status<br>#define NET_LED_INITSIM3 7 // Initialising modem<br>#define NET_LED_COPS 6 // COPS initialisation<br>#define NET_LED_NETINIT 5 // GPRS NET initialisation<br>#define NET_LED_NETAPNOK 4 // GPRS APN is OK, final init<br>#define NET_LED_NETCALL 3 // GPRS Network call<br>#define NET_LED_READY 2 // READY state<br>#define NET_LED_READYGPRS 1 // READY GPRS state</font></blockquote><div><br></div><div>The normal behavior is it will start at 10 green blinks and count down to 2 (GSM only) or 1 (GPRS). If GPRS lock is lost, but GSM is still up, the green will blink 1.</div><div><br></div><div>The followed error codes are defined:</div><blockquote class="webkit-indent-blockquote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><font class="Apple-style-span" face="'Andale Mono'">// LED ERRORS<br>#define NET_LED_ERRLOSTSIG 1 // Lost signal<br>#define NET_LED_ERRMODEM 2 // Problem communicating with modem<br>#define NET_LED_ERRSIM1 3 // SIM is not inserted/detected<br>#define NET_LED_ERRSIM2 4 // PIN lock on the SIM<br>#define NET_LED_ERRCOPS 6 // COPS GSM lock could not be obtained<br>#define NET_LED_ERRGPRSRETRY 7 // Error (maybe temp) during GPRS init<br>#define NET_LED_ERRGPRSFAIL 8 // GPRS NET INIT failed</font></blockquote><div><div><br></div><div>The error code is cleared (red led turned off) once everything is ok.</div></div></div><div><br></div><div>Regards, Mark.</div><div><br></div></body></html>