<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><br></div>Here:<div><br></div><div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
                
        
        
                <div class="page" title="Page 32">
                        <div class="layoutArea">
                                <div class="column">
                                        <ul>
                                                <li style="font-size: 12.000000pt; font-family: 'Symbol'"><p><span style="font-size: 12.000000pt; font-family: 'Helvetica'">unsigned long car_time
</span></p><p><span style="font-size: 12.000000pt; font-family: 'Helvetica'">Time (in seconds), as measured by the car. The 0 value of this can be
whatever the car module desires.<br></span><span style="font-family: Helvetica; font-size: 12pt;">It is acceptable to merely initialize this to
zero and increment it by 1 for every ticker1() received.<br>Alternatively, a
more accurate method is to read the real time clock from the vehicle CAN
bus (if available) and update from there. </span></p>
                                                </li>
                                        </ul>
                                </div>
                        </div>
                </div></blockquote></div><div><br></div><div>I think the Tesla Roadster is the only vehicle actually updating it from the CAN bus. There was some (fairly recent) discussion about getting this from the GPS, and Tom did the foundation work (utils.{h,c} JDEpoch, JdToYMD, JdFromYMD, and datestring_to_timestamp  in net.c), but we haven't completed the changes to the core net.c (+CCLK handler) to do this yet. I attach the mailing list eMail showing how this will be done.</div><div><br></div><div>Regards, Mark.</div><div><br></div><div></div></body></html>