<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><br></div><blockquote type="cite">if I plug into the OVMS diag port can I read the Canbus messages ?</blockquote><div><br></div>Nope. Well, it can _read_ them, but can't output them in any usable way. The DIAG port is just a tap into the comms between the modem and the PIC microcontroller.<div><br></div><div><blockquote type="cite">Secondly, how can I send commands to the car via OVMS ?</blockquote></div><div><br></div><div>Typically the commands need to be hard-coded into the firmware.</div><div><br></div><div>The voltampera module does implement net_msg command #46 (see vehicle_voltampera_fn_commandhandler.c), which allows a remote app to request a specific extended PID, but that is very limited.</div><div><br></div><div>The OVMS v1 and v2 hardware module is really just intended to work in the car reading and writing messages as per its firmware. It is not much use as a CAN bus analyser or reverse engineering tool - for that you need a USB CAN adaptor of some sort.</div><div><br></div><div>Regards, Mark.</div><div><br><div><div>On 30 Jan, 2015, at 2:02 am, Lee Dalton <<a href="mailto:leedalton1979@gmail.com">leedalton1979@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>Hi folks, <br>
<br>
New here having just installed OVMS into my Ampera. <br>
<br>
Couple of questions, if I plug into the OVMS diag port can I read the Canbus messages ?<br>
Secondly, how can I send commands to the car via OVMS ? Is there a command I can send an and to trigger a specific bit of canbus message, or does that have to be hard coded into the OVMS firmware ?<br>
<br>
Thanks<br>
<br>
Lee dalton <br>
<br>
<br>
Sent from my iPhone
<br><br><img src="http://ping.answerbook.com/r/475f9552e4a34033b4bfede3b3557889/s.gif" width="10" height="1" style="visibility:hidden;"><img src="https://ping.answerbook.com/i/475f9552e4a34033b4bfede3b3557889/s.gif" width="10" height="1" style="visibility:hidden;"></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>