<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">In general, OVMS can capture CAN traffic. You can also play back any CAN frames you want, under programmatic control. For example, in the Tesla Roadster code, we have this code to send the command to start streaming the CAC values:<div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> // Request CAC streaming...</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> // 102 06 D0 07 00 00 00 00 40</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> frame.origin = m_can1;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> frame.FIR.U = 0;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> frame.FIR.B.DLC = 8;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> frame.FIR.B.FF = CAN_frame_std;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> frame.MsgID = 0x102;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> frame.data.u8[0] = 0x06;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> frame.data.u8[1] = 0xd0;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> frame.data.u8[2] = 0x07;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> frame.data.u8[3] = 0x00;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> frame.data.u8[4] = 0x00;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> frame.data.u8[5] = 0x00;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> frame.data.u8[6] = 0x00;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> frame.data.u8[7] = 0x40;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> m_can1->Write(&frame);</span></font></div></div></blockquote><div class=""><div><br class=""></div><div>You can also do that from the command line with:</div><div><br class=""></div></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><div><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">can can1 tx standard 102 06 D0 07 00 00 00 00 40</span></font></div></div></blockquote><div class=""><div><br class=""></div><div>I am not sure what you mean by ‘analog command’, but I hope that the above answers your question.</div><div><br class=""></div><div>Regards, Mark.</div><div><br class=""><blockquote type="cite" class=""><div class="">On 20 Jun 2019, at 2:25 AM, Tamás Kovács <<a href="mailto:kommykt@gmail.com" class="">kommykt@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">My friend ask me about OVMS. He want to sniff a command on a CAN network, and if a analog command starting signal the module play the sniffed command. Is this possible with OVMS?<br clear="all" class=""><div class=""><br class=""></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><br class=""></div></div>
_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.openvehicles.com" class="">OvmsDev@lists.openvehicles.com</a><br class="">http://lists.openvehicles.com/mailman/listinfo/ovmsdev<br class=""></div></blockquote></div><br class=""></div></body></html>