<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div><blockquote type="cite"><div>- constantly shows "parking", although the Twizy does not feed the parking timer<br></div></blockquote></div><div><br></div><div>I just tested on my Roadster, with both Android and iOS Apps, and this seems to work as it should (for me).</div><div><br></div><div>The logic in the Apps is that the car is parked if "!carstarted and parktime>0".</div><div><br></div><div>Carstarted is:</div><div>
                
        
        
                <div class="column">
                        <ul style="list-style-type: disc">
                                <li style="font-size: 12.000000pt; font-family: 'Symbol'"><p><span style="font-size: 12.000000pt; font-family: 'Helvetica'">unsigned char car_doors1 [bit 7]
</span></p><p><span style="font-size: 12.000000pt; font-family: 'Helvetica'">A bit used to signal whether the car is turned on or off. Set to 1 if the car
ignition switch is ON, otherwise 0. </span></p>
                                </li>
                        </ul>
                </div></div><div><br></div><div>There is a little bit of code in the vehicle_voltampera to handle the parking timer. As we don't know the 'car on' signal for the Volt/Ampera, yet, we just use the gear selector PARK.</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>  else if ((CANctrl & 0x07) == 5)        // Acceptance Filter 5 (RXF5) = CAN ID 135</div><div>    {</div><div>    if (can_databuffer[0] == 0)</div><div>      { // Car is in PARK</div><div>      car_doors1 |= 0x40;     // NOT PARK</div><div>      car_doors1 &= ~0x80;    // CAR OFF</div><div>      if (car_parktime == 0)</div><div>        {</div><div>        car_parktime = car_time-1;    // Record it as 1 second ago, so non zero report</div><div>        net_req_notification(NET_NOTIFY_ENV);</div><div>        }</div><div>      }</div><div>    else</div><div>      { // Car is not in PARK</div><div>      car_doors1 &= ~0x40;    // PARK</div><div>      car_doors1 |= 0x80;     // CAR ON</div><div>      if (car_parktime != 0)</div><div>        {</div><div>        car_parktime = 0; // No longer parking</div><div>        net_req_notification(NET_NOTIFY_ENV);</div><div>        }</div><div>      }</div></div></blockquote><div><br></div><div>Also, initialise car_time to zero, and increment it in the vehicle ticker1().</div><div><br></div><div><blockquote type="cite"><div><blockquote type="cite">...as well as all the new function and parameter settings.<br></blockquote>I haven't seen a function call / parameter setup utility -- is that a hidden feature, or no UI yet, or a bug on my device?<br></div></blockquote></div><div><br></div>The icon is not ideal at the moment. Go to settings, then the little pencil icon to go to the car settings, then press the icon that looks like a joystick in the top right. That is the control menu. From there, we have Features and Parameters.<div><br></div><div>Regards, Mark.</div><div><br><div><div>On 24 Jan, 2013, at 10:29 PM, Michael Balzer wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Mark,<br><br>a short report for my HTC Desire HD / Android 2.3.5:<br></div></blockquote></div><br></div></body></html>