<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1434980333965_11002"><span id="yui_3_16_0_1_1434980333965_11004">Thanks Mark, </span></div><div id="yui_3_16_0_1_1434980333965_11003"><span><br></span></div><div dir="ltr" id="yui_3_16_0_1_1434980333965_11005">I had to implement <span style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;" class="" id="yui_3_16_0_1_1434980333965_11459">VEHICLE_POLL_TYPE_OBDIIGROUP </span>section of the code in the vehicle.c... and I had to correct some of the code.</div><div dir="ltr" id="yui_3_16_0_1_1434980333965_11005">I thought the moduleid was the requesting one while the rmoduleid was the response one ... Talk about context ;)</div><div dir="ltr" id="yui_3_16_0_1_1434980333965_11005"><br></div><div dir="ltr" id="yui_3_16_0_1_1434980333965_11005">Nikolay</div> <div class="" style="" id="yui_3_16_0_1_1434980333965_11682"><span class="" style=""> </span></div><br><div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font size="2" face="Arial"> On Monday, June 22, 2015 3:12 PM, Mark Webb-Johnson <mark@webb-johnson.net> wrote:<br> </font> </div> <br><br> <div class="y_msg_container"><div id="yiv3416007989"><div>The Ampera is still using the old polling logic. The poling code is within the vehicle_voltampera module itself.<div class="yiv3416007989"><br clear="none" class="yiv3416007989"></div><div class="yiv3416007989">The Leaf is using the new centralised polling logic (in vehicle.h and vehicle.c). This is the new recommend way of doing this, as the vehicle.{h,c} code will do the polling for you - all you need to do is setup the appropriate structure.</div><div class="yiv3416007989"><br clear="none" class="yiv3416007989"></div><div class="yiv3416007989">The new structure is:</div><div class="yiv3416007989"><br clear="none" class="yiv3416007989"></div><blockquote class="yiv3416007989" style="margin:0 0 0 40px;border:none;padding:0px;"><div class="yiv3416007989"><div class="yiv3416007989">typedef struct</div><div class="yiv3416007989">{</div><div class="yiv3416007989"> unsigned int moduleid;</div><div class="yiv3416007989"> unsigned int rmoduleid;</div><div class="yiv3416007989"> unsigned char type;</div><div class="yiv3416007989"> unsigned int pid;</div><div class="yiv3416007989"> unsigned int polltime[VEHICLE_POLL_NSTATES];</div><div class="yiv3416007989">} vehicle_pid_t;</div></div></blockquote><div class="yiv3416007989"><br clear="none" class="yiv3416007989"></div><div class="yiv3416007989">and the following polling types are currently supported:</div><div class="yiv3416007989"><br clear="none" class="yiv3416007989"></div><blockquote class="yiv3416007989" style="margin:0 0 0 40px;border:none;padding:0px;"><div class="yiv3416007989"><div class="yiv3416007989">#define VEHICLE_POLL_TYPE_NONE 0x00</div><div class="yiv3416007989">#define VEHICLE_POLL_TYPE_OBDIICURRENT 0x01</div><div class="yiv3416007989">#define VEHICLE_POLL_TYPE_OBDIIVEHICLE 0x09</div><div class="yiv3416007989">#define VEHICLE_POLL_TYPE_OBDIIGROUP 0x21</div><div class="yiv3416007989">#define VEHICLE_POLL_TYPE_OBDIIEXTENDED 0x22</div></div></blockquote><div class="yiv3416007989"><br clear="none" class="yiv3416007989"></div><div class="yiv3416007989">The moduleid is the replying module id, the rmoduleid is the id to use for the request.</div><div class="yiv3416007989"><br clear="none" class="yiv3416007989"></div><div class="yiv3416007989">Regards, Mark.</div><div class="yiv3416007989"><br clear="none" class="yiv3416007989"><div><blockquote class="yiv3416007989" type="cite"><div class="yiv3416007989yqt8101251262" id="yiv3416007989yqt34906"><div class="yiv3416007989">On 21 Jun, 2015, at 9:44 pm, Nikolay Shishkov <<a rel="nofollow" shape="rect" class="yiv3416007989" ymailto="mailto:nshishkov@yahoo.com" target="_blank" href="mailto:nshishkov@yahoo.com">nshishkov@yahoo.com</a>> wrote:</div><br clear="none" class="yiv3416007989Apple-interchange-newline"><div class="yiv3416007989"><div class="yiv3416007989"><div class="yiv3416007989" style="background-color:rgb(255, 255, 255);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:16px;"><div class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13533">Hi , </div><div class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13533"><br clear="none" class="yiv3416007989"></div><div class="yiv3416007989" dir="ltr" id="yiv3416007989yui_3_16_0_1_1434845207146_13533">I am trying to make nissan leaf work with normal cable - on the CARCAN.<br clear="none" class="yiv3416007989"></div><div class="yiv3416007989" dir="ltr" id="yiv3416007989yui_3_16_0_1_1434845207146_13533"><br clear="none" class="yiv3416007989"></div><div class="yiv3416007989" dir="ltr" id="yiv3416007989yui_3_16_0_1_1434845207146_13533">I am trying to figure out the polling mechanism and I have trouble understanding what the different parameters in the configurations are. </div><div class="yiv3416007989" dir="ltr" id="yiv3416007989yui_3_16_0_1_1434845207146_13533"><br clear="none" class="yiv3416007989"></div><div class="yiv3416007989" dir="ltr" id="yiv3416007989yui_3_16_0_1_1434845207146_13533">In the ampera file I can see:</div><table class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13678" style="border-collapse:collapse;border-spacing:0px;color:rgb(51, 51, 51);font-family:Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:13px;line-height:18.2000007629395px;"><tbody class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13677" style=""><tr class="yiv3416007989" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC57" style="padding-right:10px;padding-left:10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;">rom <span class="yiv3416007989" style="color:rgb(167, 29, 93);">struct</span></td></tr><tr class="yiv3416007989" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L58" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC58" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> {</td></tr><tr class="yiv3416007989" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L59" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC59" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> <span class="yiv3416007989" style="color:rgb(167, 29, 93);">unsigned</span> <span class="yiv3416007989" style="color:rgb(167, 29, 93);">int</span> moduleid;</td></tr><tr class="yiv3416007989" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L60" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC60" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> <span class="yiv3416007989" style="color:rgb(167, 29, 93);">unsigned</span> <span class="yiv3416007989" style="color:rgb(167, 29, 93);">char</span> polltime;</td></tr><tr class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13717" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L61" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC61" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> <span class="yiv3416007989" style="color:rgb(167, 29, 93);">unsigned</span> <span class="yiv3416007989" style="color:rgb(167, 29, 93);">int</span> pid;</td></tr><tr class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13718" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L62" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC62" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> } vehicle_voltampera_polls[]</td></tr><tr class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13719" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L63" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC63" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> =</td></tr><tr class="yiv3416007989" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L64" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC64" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> {</td></tr><tr class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13693" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L65" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC65" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> { 0x07E0, <span class="yiv3416007989" style="color:rgb(0, 134, 179);">10</span>, 0x000D },</td></tr><tr class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13676" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L66" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC66" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> { 0x07E4, <span class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13675" style="color:rgb(0, 134, 179);">10</span>, 0x4369 },</td></tr><tr class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13679" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L67" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC67" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> { 0x07E4, <span class="yiv3416007989" style="color:rgb(0, 134, 179);">10</span>, 0x4368 },</td></tr><tr class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13680" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L68" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC68" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> { 0x07E4, <span class="yiv3416007989" style="color:rgb(0, 134, 179);">10</span>, 0x801f },</td></tr><tr class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13681" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L69" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC69" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> { 0x07E4, <span class="yiv3416007989" style="color:rgb(0, 134, 179);">10</span>, 0x801e },</td></tr><tr class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13682" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L70" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC70" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> { 0x07E4, <span class="yiv3416007989" style="color:rgb(0, 134, 179);">10</span>, 0x434f },</td></tr><tr class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13720" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L71" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC71" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> { 0x07E4, <span class="yiv3416007989" style="color:rgb(0, 134, 179);">10</span>, 0x1c43 },</td></tr><tr class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13683" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L72" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC72" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> { 0x07E4, <span class="yiv3416007989" style="color:rgb(0, 134, 179);">10</span>, 0x8334 },</td></tr><tr class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13684" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L73" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC73" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> { 0x07E1, <span class="yiv3416007989" style="color:rgb(0, 134, 179);">100</span>, 0x2487 },</td></tr><tr class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13685" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L74" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC74" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> { 0x0000, <span class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13721" style="color:rgb(0, 134, 179);">0</span>, 0x0000 }</td></tr><tr class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13687" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L75" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC75" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"><div class="yiv3416007989" dir="ltr" id="yiv3416007989yui_3_16_0_1_1434845207146_13686"> };</div></td></tr></tbody></table><div class="yiv3416007989" dir="ltr" id="yiv3416007989yui_3_16_0_1_1434845207146_13533" style=""><br clear="none" class="yiv3416007989"></div><div class="yiv3416007989" dir="ltr" id="yiv3416007989yui_3_16_0_1_1434845207146_13533" style="">While in the nissan leaf file I can see the following:</div><div class="yiv3416007989" dir="ltr" id="yiv3416007989yui_3_16_0_1_1434845207146_13533" style=""><br clear="none" class="yiv3416007989"></div><table class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13763" style="border-collapse:collapse;border-spacing:0px;color:rgb(51, 51, 51);font-family:Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol';font-size:13px;line-height:18.2000007629395px;"><tbody class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13762" style=""><tr class="yiv3416007989" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC46" style="padding-right:10px;padding-left:10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;">rom <span class="yiv3416007989" style="color:rgb(0, 134, 179);">vehicle_pid_t</span> vehicle_nissanleaf_polls[]</td></tr><tr class="yiv3416007989" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L47" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC47" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> =</td></tr><tr class="yiv3416007989" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L48" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC48" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> {</td></tr><tr class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13761" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L49" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC49" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> { 0x797, 0x79a, VEHICLE_POLL_TYPE_OBDIICURRENT, 0x0d, { <span class="yiv3416007989" style="color:rgb(0, 134, 179);">10</span>, <span class="yiv3416007989" style="color:rgb(0, 134, 179);">10</span>, <span class="yiv3416007989" style="color:rgb(0, 134, 179);">0</span> } }, <span class="yiv3416007989" style="color:rgb(150, 152, 150);">// Speed</span></td></tr><tr class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13764" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L50" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC50" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> { 0x797, 0x79a, VEHICLE_POLL_TYPE_OBDIIVEHICLE, 0x02, { <span class="yiv3416007989" style="color:rgb(0, 134, 179);">10</span>, <span class="yiv3416007989" style="color:rgb(0, 134, 179);">10</span>, <span class="yiv3416007989" style="color:rgb(0, 134, 179);">0</span> } }, <span class="yiv3416007989" style="color:rgb(150, 152, 150);">// VIN</span></td></tr><tr class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13775" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L51" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC51" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"> { <span class="yiv3416007989" style="color:rgb(0, 134, 179);">0</span>, <span class="yiv3416007989" style="color:rgb(0, 134, 179);">0</span>, 0x00, 0x00, { <span class="yiv3416007989" style="color:rgb(0, 134, 179);">0</span>, <span class="yiv3416007989" style="color:rgb(0, 134, 179);">0</span>, <span class="yiv3416007989" style="color:rgb(0, 134, 179);">0</span> } }</td></tr><tr class="yiv3416007989" id="yiv3416007989yui_3_16_0_1_1434845207146_13777" style=""><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989L52" style="padding:0px 10px;width:50px;min-width:50px;white-space:nowrap;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;line-height:18px;vertical-align:top;text-align:right;border-style:solid;border-color:rgb(238, 238, 238);border-width:0px 1px 0px 0px;cursor:pointer;"></td><td colspan="1" rowspan="1" class="yiv3416007989" id="yiv3416007989LC52" style="padding:0px 10px;vertical-align:top;font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace;font-size:12px;white-space:pre;overflow:visible;word-wrap:normal;"><div class="yiv3416007989" dir="ltr" id="yiv3416007989yui_3_16_0_1_1434845207146_13776"> };</div></td></tr></tbody></table><div class="yiv3416007989" dir="ltr" id="yiv3416007989yui_3_16_0_1_1434845207146_13533" style=""><br clear="none" class="yiv3416007989"></div><div class="yiv3416007989" dir="ltr" id="yiv3416007989yui_3_16_0_1_1434845207146_13533" style="">I can kind of guess some of it. </div><div class="yiv3416007989" dir="ltr" id="yiv3416007989yui_3_16_0_1_1434845207146_13533" style="">I also found an old e-mail from Mark that describes a structure similar to the one in the nissan leaf file, but the leaf has one extra parameter - I think it is the return message can Id. </div><div class="yiv3416007989" dir="ltr" id="yiv3416007989yui_3_16_0_1_1434845207146_13533" style=""><br clear="none" class="yiv3416007989"></div><div class="yiv3416007989" dir="ltr" id="yiv3416007989yui_3_16_0_1_1434845207146_13533" style="">Any info/advice is appreciated!<br clear="none" class="yiv3416007989"></div><div class="yiv3416007989" dir="ltr" id="yiv3416007989yui_3_16_0_1_1434845207146_13533" style=""><br clear="none" class="yiv3416007989"></div><div class="yiv3416007989" dir="ltr" id="yiv3416007989yui_3_16_0_1_1434845207146_13533" style="">Nikolay</div></div></div>_______________________________________________<br clear="none" class="yiv3416007989">OvmsDev mailing list<br clear="none" class="yiv3416007989"><a rel="nofollow" shape="rect" class="yiv3416007989" ymailto="mailto:OvmsDev@lists.teslaclub.hk" target="_blank" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br clear="none" class="yiv3416007989">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br clear="none" class="yiv3416007989"></div></div></blockquote></div><br clear="none" class="yiv3416007989"></div></div></div><br><div class="yqt8101251262" id="yqt17806">_______________________________________________<br clear="none">OvmsDev mailing list<br clear="none"><a shape="rect" ymailto="mailto:OvmsDev@lists.teslaclub.hk" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br clear="none"><a shape="rect" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br clear="none"></div><br><br></div> </div> </div> </div></div></body></html>