<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div></div><div><br></div><div>It looks like it works. :-)</div><div><br></div><div>Bye</div><div>mikeljo</div><div><br></div><div>BTW: why has the Car Firmware in the GIT 1.3.2 and the Developer Version in iTunes 1.3.3?</div><div><br></div><div><br></div><div><br></div><div><br></div><div><div>Am 26.12.2012 um 20:19 schrieb Michael Jochum <<a href="mailto:mikeljo@me.com">mikeljo@me.com</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div dir="auto"><div>Hi,</div><div><br></div><div>Strange.</div><div>My VIN is <span style="font-size: 18px; font-weight: bold; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(130, 98, 83, 0.0976563); -webkit-composition-frame-color: rgba(191, 107, 82, 0.496094); ">1G1R96E49CU116489 </span>Read from the papers</div><div><div>The calc for the VIN is 1.514.4e1 (c Notation, dot means concat).</div><div>With this your Reading Look ok.</div><div><br></div><div>Will try later the New Code later.</div><div><br></div><div><br></div><div>Bye</div><div>Michael</div><div><br></div>Von unterwegs gesendet</div><div><br>Am 26.12.2012 um 14:52 schrieb Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>>:<br><br></div><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div><br></div>Michael,<div><br></div><div>OK. I found some old logs you sent me before and these show:</div><div><br></div><div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><font face="Andale Mono">7.628 R11 4E9 E1 80 00 04 6C 00 </font></div><div><font face="Andale Mono">7.637 R11 514 47 31 52 39 36 45 34 39</font></div><div><font face="Andale Mono">8.647 R11 4F1 41 A1 01 A1 00 36 08 88</font></div></blockquote></div><div><div><br></div><div>The 514 looks fine. But, both 4E9 and 4F1 look wrong. In particular, the 4F1 has '41 A1 01 A1 00' - which is what we are seeing for your VIN.</div><div><br></div><div>But, id #4E1 has:</div><div><br></div></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><font face="Andale Mono">8.694 R11 4E1 43 55 31 31 36 34 38 39</font></blockquote><div><div><br></div><div>If the VIN was in 4E1 and 514, that would give us:</div><div><br></div></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><span style="font-family: 'Andale Mono'; ">8.694 R11 4E1 43 55 31 31 36 34 38 39</span></div><div><span style="font-family: 'Andale Mono'; ">7.637 R11 514 47 31 52 39 36 45 34 39</span></div></blockquote><div><div><br></div><div>Or, <font face="Andale Mono">CU116489G1R96E49</font> for your car.</div><div><br></div><div>For RScott, his logs show:</div><div><br></div></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><font face="Andale Mono">41966.094 R11 4E1 42 55 31 30 32 36 38 39</font></div><div><font face="Andale Mono">41966.110 R11 514 47 31 52 44 36 45 34 36</font></div></blockquote><div><div><br></div><div>Or, <font face="Andale Mono">BU102389G1RD6E36</font> for his car.</div><div><br></div><div>Is that correct?</div><div><br></div><div>Reading back through the old eMails, I find this from RScott:</div><div><br></div></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote type="cite">The VIN can be constructed by taking the number "1" and converting the CAN IDs 4E9 and 514 to ASCII. So with "4E1 4255313032363839" and "514 4731524436453436", you would end up with 42 55 31 30 32 36 38 39 47 31 52 44 36 45 34 36, where 42 is ASCII for B, 55 is U, etc.<br></blockquote></blockquote><div><div><div><br></div><div>So, I think the whole 4E9 was just a typo, as 4E1 is what is mentioned later in the same sentence.</div><div><br></div><div>I've committed the code with 4E1 into github now. It works ok on my simulator, and hopefully should be ok in your car now.</div><div><br></div><div>Can you try?</div><div><br></div><div>Regards, Mark.</div><div><br></div><div>On 26 Dec, 2012, at 9:12 PM, Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Michael,<div><br></div><div>I've put this up on my test bench, set to VA vehicle type, and setting my simulator to 500Kbps CAN speed, then transmitting the following three messages once a second:</div><div><br></div><div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><font face="Andale Mono">ID#206 A0 10 00 00 00 00 00 00</font></div><div><font face="Andale Mono">ID#4F1 42 55 31 30 32 36 38 39</font></div><div><font face="Andale Mono">ID#514 47 31 52 44 D6 45 34 36</font></div></blockquote></div><div><br></div><div>Then, with the module in SETUP mode, I get:</div><div><br></div><div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><font face="Andale Mono">S MODULE?</font></div><div><font face="Andale Mono"># Module:</font></div><div><font face="Andale Mono"> VehicleID:TESTCAR</font></div><div><font face="Andale Mono"> VehicleType:VA</font></div><div><font face="Andale Mono"> Units:K</font></div><div><font face="Andale Mono"> Notifications:IP</font></div><div><br></div><div><font face="Andale Mono">DIAG</font></div><div><font face="Andale Mono"># DIAG</font></div><div><font face="Andale Mono"><br></font></div><div><font face="Andale Mono"># Firmware: 2.1.1/VA/V2</font></div><div><font face="Andale Mono"># SWITCH: 1</font></div><div><font face="Andale Mono"># 12V Line: 14.0 V</font></div><div><font face="Andale Mono"># Signal: 0</font></div><div><font face="Andale Mono"><br></font></div><div><font face="Andale Mono"># VIN: BU102689G1RD6E46 (VA)</font></div><div><font face="Andale Mono"># SOC: 64% (0 ideal, 0 est miles)</font></div></blockquote></div><div><br></div><div>That all looks ok. </div><div>The message from your car is:</div><div><br></div><div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><font face="Andale Mono">GERMANVOLT rx msg F 2.1.1/V2,A??,24,0,VA,E-Plus</font></div><div><font face="Andale Mono"><br></font></div><div><font face="Andale Mono">00000040 20 6d 73 67 20 46 20 32 2e 31 2e 31 2f 56 32 2c | msg F 2.1.1/V2,|<br>00000050 41 a1 01 a1 2c 32 31 2c 30 2c 56 41 2c 45 2d 50 |A...,21,0,VA,E-P|<br>00000060 6c 75 73 0a |lus.|</font></div></blockquote></div><div><br></div><div>Your VIN is showing up as 41,A1,01,A1 - as you say: wrong.</div><div><br></div><div>But, the firmware version and car type look ok. Not sure why they would not show up in the App. Perhaps the corrupt VIN# is messing up interpretation of that message? Perhaps the high bit on the A1 is messing it up.</div><div><br></div><div>Not sure what is going on in your car itself. Can you check any captures you have for the exact id#4F1 and id#514 messages you have, and let me know?</div><div><br></div><div>Regards, Mark.</div><div><br><div><div>On 21 Dec, 2012, at 9:33 PM, <a href="mailto:mikeljo@mac.com">mikeljo@mac.com</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>thanks.</div><div><br></div><div>Works. Get the correct infos from my car.</div><div>Implement the SOC calculation from my previous mail.</div><div><br></div><div>- GPS ok</div><div>- SOC ok</div><div><br></div><div>BUT:</div><div>- no VIN</div><div>- No Car Type</div><div>- no car firmware</div><div><br></div><div>Here some Pics from the App:</div><div><br></div><div></div></div>
<span><IMG_1075.PNG></span><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div></div></div>
<span><IMG_1076.PNG></span><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div></div></div>
<span><IMG_1077.PNG></span><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div></div></div>
<span><IMG_1078.PNG></span><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div></div><div><div><div><br></div><div><br></div><div>The App is the 1.3.2 compiled from the git. This is NOT the one from the Store!?</div><div><br></div><div>BTW: You see the GSM Signal is -113dBm. When one door is open i got -87dBm. Heavy <span style="background-color: rgb(255, 255, 255); font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; ">attenuation.</span></div><div><span style="background-color: rgb(255, 255, 255); font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; ">I think i must mount the antenna outside the car. GPS is ok.</span></div><div><br></div><div><br></div><div>Bye</div><div>michael</div><div><br></div><div><br></div><div>Am 21.12.2012 um 02:19 schrieb Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite">Michael,<br><br>Parameter #14 (PARAM_VEHICLETYPE) holds the selected vehicle type. This can be set either from the smartphone apps, or via the SMS MODULE command.<br><br>Regards, Mark.<br><br>On 21 Dec, 2012, at 4:31 AM, <a href="mailto:mikeljo@mac.com">mikeljo@mac.com</a> wrote:<br><br><blockquote type="cite">Hi,<br><br>i checked it out. It compiles without error.<br>But i think i missed something: how to switch between the cars? I know you do something, but couldn't find the howto.<br>I found the ROM Parameter "VA" in "vehicle.c", but how to put this in the ROM?<br>SMS Command?<br><br>Sorry.<br><br>Bye<br>Michael<br><br><br>Am 20.12.2012 um 15:08 schrieb Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>>:<br><br><blockquote type="cite">Michael J:<br><br>The following commit should fix this:<br><br>* 269cd4f (HEAD, origin/master, origin/HEAD, master) Ampera VIN 4E9->4F1<br><br>Can you check the code now in master head, and see if it has everything you need. It builds and compiles on v2 hardware, but you'll need to change the compiler flags to get it building on v1 (just change TESLAROADSTER to VOLTAMPERA).<br><br>What was the end result of the SOC range changes? Any ideas on the solution?<br><br>Regards, Mark.<br><br>On 6 Nov, 2012, at 5:28 AM, <a href="mailto:mikeljo@mac.com">mikeljo@mac.com</a> wrote:<br><br><blockquote type="cite">Hi mark,<br><br>do you think at the VIN?<br><br>1 + 514 + 4F1<br></blockquote><br></blockquote><br></blockquote><br></blockquote></div><br></div></div></blockquote></div><br></div></div></blockquote></div><br></div></blockquote><blockquote type="cite"><span>_______________________________________________</span><br><span>OvmsDev mailing list</span><br><span><a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a></span><br><span><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a></span><br></blockquote></div>_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br></blockquote></div><br></div></body></html>