<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Actually, separating the poller from the vehicle was part of the
plan of reworking it into a job/worker architecture. I see no reason
the generalized poller would need to remain coupled to the vehicle.<br>
<br>
That's why I placed the OBD single request command in the "obdii"
hierarchy (although a more proper naming would have been e.g.
"isotp", but changing the name or having both would confuse users --
and meanwhile the poller also supports a non-ISO TP variant).<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 11.03.24 um 00:51 schrieb Mark
Webb-Johnson:<br>
</div>
<blockquote type="cite"
cite="mid:7651ED93-590C-4748-A6A7-367F75A0FA4B@webb-johnson.net">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
Michael,
<div><br>
</div>
<div>It depends on whether the poller can *only* be used in the
vehicle class or if it is a framework all by itself (for example
with commands to manually poll specific PIDs, etc).</div>
<div><br>
</div>
<div>If *only* within vehicle framework, then putting it as a
sub-command under ‘vehicle’ seems sensible.</div>
<div><br>
</div>
<div>If more general purpose, then perhaps look at ‘copen’
(component/canopen) as an example.</div>
<div><br>
</div>
<div>Regards, Mark.<br id="lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On 10 Mar 2024, at 7:25 AM, Michael Geddes
<a class="moz-txt-link-rfc2396E" href="mailto:frog@bunyip.wheelycreek.net"><frog@bunyip.wheelycreek.net></a> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div dir="ltr">
<div>Hi all,</div>
<div><br>
</div>
<div>I know some of this (especially for the status)
functionality is predicated on code that's not gone up
yet - however this is allowing 'pause' and 'resume' of
the poller (which has been merged).</div>
<div>My question is not so much about the
functionality and status information, but about the
location of the <b>poller</b> subcommand. (See
below). </div>
<div><br>
</div>
<div>Should 'vehicle' be exclusively for switching the
vehicle type? Should the 'poller' command be
top-level? Under obdii? </div>
<div><br>
</div>
<div>Thoughts welcome.</div>
<div>If you do vehicle poller pause then the last line
reads 'Vehicle OBD Polling is paused'</div>
<div>//.</div>
<div>-------8<----------------------------------------</div>
<br>
<b>OVMS# vehicle ?</b><br>
Usage: vehicle [list|module|poller|status]<br>
list Show list of available vehicle
modules<br>
module Set (or clear) vehicle module<br>
poller OBD polling status<br>
status Show vehicle module status<br>
<b>OVMS# vehicle poller ?</b><br>
Usage: vehicle poller [pause|resume]<br>
pause Pause OBD Polling<br>
resume Resume OBD Polling<b><br>
</b>
<div><b>OVMS# vehicle poller</b><br>
OBD Polling running on bus 1 with an active list<br>
Time between polling ticks is 1000ms with 1 secondary
sub-ticks<br>
Last poll command received 1s (ticks) ago.<br>
Vehicle OBD Polling is running.<br>
</div>
</div>
_______________________________________________<br>
OvmsDev mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a><br>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26</pre>
</body>
</html>