The homelink works. I've done the testing of the other commands too. They work.<div><br></div><div>William<br><br><div class="gmail_quote">On Sun, May 27, 2012 at 7:58 AM, Mark Webb-Johnson <span dir="ltr"><<a href="mailto:mark@webb-johnson.net" target="_blank">mark@webb-johnson.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>Inching towards the v1.3.0 release, I've just committed to github v1.2.7 of the car firmware for OVMS.</div>
<div><br></div><div>Changelog since v1.2.2 is:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><font face="'Andale Mono'">2012-05-27 1.2.7       Preliminary firmware 1.2.7</font></div>
<div><font face="'Andale Mono'">                       Bug fix for off-by-one-can-byte bug in roadster id from VIN</font></div><div><font face="'Andale Mono'">                       Add homelink and charge timer support, plus misc fixes</font></div>
<div><font face="'Andale Mono'">                       Only send non-empty params to PARAMS? sms command</font></div><div><font face="'Andale Mono'">                       Remove need to RESET after can write change</font></div>
<div><font face="'Andale Mono'">                       Only NETINIT (not SOFTRESET) after a parameter change</font></div><div><font face="'Andale Mono'">                       Re-label parameters internally to match new user-friendly names</font></div>
<div><font face="'Andale Mono'">                       Re-work of sms command handlers to be table driven - saving 6% of flash</font></div><div><font face="'Andale Mono'">                       Use the 6% of flash we saved to implement a bunch of SMS commands</font></div>
<div><font face="'Andale Mono'">                         REGISTER?                                  Report on registered phone</font></div><div><font face="'Andale Mono'">                         REGISTER <modulepass>                      Register caller phone</font></div>
<div><font face="'Andale Mono'">                         PASS?                                      Report on module password</font></div><div><font face="'Andale Mono'">                         PASS     <modulepass>                      Set new module password</font></div>
<div><font face="'Andale Mono'">                         GPS?/GPS [<modulepass>]                    Report GPS location</font></div><div><font face="'Andale Mono'">                         STAT?/STAT [<modulepass>]                  Report status</font></div>
<div><font face="'Andale Mono'">                         PARAMS? [<modulepass>]                     Report on parameters</font></div><div><font face="'Andale Mono'">                         PARAMS <param2> <param3> .. <paramN>       Set parameters</font></div>
<div><font face="'Andale Mono'">                         MODULE? [<modulepass>]                     Report on module parameters</font></div><div><font face="'Andale Mono'">                         MODULE <vehicleid> <units> <notifies>      Set module parameters</font></div>
<div><font face="'Andale Mono'">                         GPRS? [<modulepass>]                       Report on GPRS parameters and status</font></div><div><font face="'Andale Mono'">                         GPRS <gprsapn> <gprsuser> <gprspass>       Set GPRS parameters</font></div>
<div><font face="'Andale Mono'">                         SERVER? [<modulepass>]                     Report on server parameters</font></div><div><font face="'Andale Mono'">                         SERVER <serverip> <serverpass> <paranoid>  Set server parameters</font></div>
<div><font face="'Andale Mono'">                         DIAG?/DIAG [<modulepass>]                  Technical diagnostics</font></div><div><font face="'Andale Mono'">                         FEATURES? [<modulepass>]                   Report on features configured</font></div>
<div><font face="'Andale Mono'">                         FEATURE <feature> <value>                  Set specified feature value</font></div><div><font face="'Andale Mono'">                         HOMELINK <button>                          Activate homelink 0, 1 or 2</font></div>
<div><font face="'Andale Mono'">                         LOCK <pin>                                 Lock car (with specified pin)</font></div><div><font face="'Andale Mono'">                         UNLOCK <pin>                               Unlock car (with specified pin)</font></div>
<div><font face="'Andale Mono'">                         VALET <pin>                                Activate valet mode (with specified pin)</font></div><div><font face="'Andale Mono'">                         UNVALET <pin>                              Deactivate valet mode (with specified pin)</font></div>
<div><font face="'Andale Mono'">                         CHARGEMODE <mode> <current>                Set charge mode (sta, sto, ran, per) and current</font></div><div><font face="'Andale Mono'">                         CHARGESTART [<modulepass>]                 Start charge immediately</font></div>
<div><font face="'Andale Mono'">                         CHARGESTOP [<modulepass>]                  Stop charge immediately</font></div><div><font face="'Andale Mono'">                         VERSION [<modulepass>]                     Report module firmware version</font></div>
<div><font face="'Andale Mono'">                         RESET [<modulepass>]                       Reset module</font></div></div><div><font face="'Andale Mono'"><br></font></div><div><div><font face="'Andale Mono'">2012-05-11 1.2.5       Preliminary firmware 1.2.5</font></div>
<div><font face="'Andale Mono'">                       LED re-work</font></div><div><font face="'Andale Mono'">                       Support multiple vehicle configurations - TeslaRoadster and VoltAmpera</font></div>
<div><font face="'Andale Mono'">                       NET driver tidy-ups</font></div><div><font face="'Andale Mono'">                       Auto-support Tesla Roadster v1.5 cars</font></div><div><font face="'Andale Mono'">                       Issue #38 - Prevent user from locking car if car is ON</font></div>
<div><font face="'Andale Mono'">                       Issue #39 - Alert (SMS/PUSH) if trunk is opened while in valet mode</font></div></div></blockquote><div><br></div><div>I've managed to do this with very little impact to firmware size.</div>
<div><br></div><div><div>Major user-visible extensions in this firmware include:</div></div><div><br></div><div><ul><li>A huge number of new SMS commands.</li><li>Support for simplified setup steps (working on with Bennett).</li>
<li>New status and error LED arrangement.</li><li>New diagnostic SMS commands.</li><li>Various minor bug-fixes and improvements.</li><li>Homelink support (firmware both SMS and app protocol support - app support will follow).</li>
<li>Charge timer support (firmware and app protocol support - app and sms support will follow).</li></ul></div><div><br></div><div>This is a major re-work of the SMS sub-system. We now have 27 commands and similar functionality to the GPRS smartphone apps. In particular, charge start/stop and mode setting is now available.</div>
<div><br></div><div>I've also added in the homelink commands (courtesy of Fuzzylogic's CAN decoding skills).</div><div><br></div><div>I've tested this on the bench, and it seems to work. I've also put it in my car 10 minutes ago, and got a network connection. That is pretty much the extent of my testing, so consider this pre-beta and definitely NOT for end-users.</div>
<div><br></div><div>I haven't completely tested the setup of a module from scratch with these new REGISTER, PASS, MODULE, SERVER, GPRS commands - I hope Bennett, or someone else, will help with that.</div><div><br></div>
<div>I haven't tested homelink support. I hope someone will try that (using SMS "HOMELINK 0" command) and let me know if it works.</div><div><br></div><div>This is now pretty feature complete for the v1.3.0 firmware. I need to do the CHARGETIMER SMS commands, and want to re-work the social group messages to allow streaming of group location messages (if enabled). So, please test this as you can, and let me know any problems you find.</div>
<div><br></div><div>Again, please don't put this on end-user cars yet. There has been a lot go into this and I need a week or so of inevitable bug fixing before it is ready for wider testing. There hasn't been much changes to the net subsystem since 1.2.5, and that seem stable, so I think it is fine to put in developer's cars.</div>
<div><br></div><div>Regards, Mark.</div><div><br></div></div><br>_______________________________________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>
<a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
<br></blockquote></div><br></div>