<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Steve,<br>
<br>
have a look at API methods <font face="monospace">PollSetThrottling()</font>
and <font face="monospace">PollSetResponseSeparationTime()</font>:<br>
<br>
<br>
<font face="monospace">void PollSetThrottling(uint8_t sequence_max)
{ m_poll_sequence_max = sequence_max; }<br>
uint8_t m_poll_sequence_max; // Polls allowed to be
sent in sequence per time tick (second), default 1, 0 = no limit<br>
<br>
<br>
/**<br>
* PollSetResponseSeparationTime: configure ISO TP multi frame
response timing<br>
* See: <a class="moz-txt-link-freetext" href="https://en.wikipedia.org/wiki/ISO_15765-2">https://en.wikipedia.org/wiki/ISO_15765-2</a><br>
* <br>
* @param septime<br>
* Separation Time (ST), the minimum delay time between frames.
Default: 25 milliseconds<br>
* ST values up to 127 (0x7F) specify the minimum number of
milliseconds to delay between frames,<br>
* while values in the range 241 (0xF1) to 249 (0xF9) specify
delays increasing from<br>
* 100 to 900 microseconds.<br>
* <br>
* The configuration is kept unchanged over calls to
PollSetPidList() or PollSetState().<br>
*/<br>
<br>
</font><br>
The defaults are conservative & very cooperative for both
parameters, but keep in mind you're not alone on the bus.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 22.12.20 um 14:34 schrieb Steve
Davies:<br>
</div>
<blockquote type="cite"
cite="mid:CABFTEGU-cWxkAgAg2utXhiCx=r7GemkWyr4-BOWbYhK8LjyN1g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi,
<div><br>
</div>
<div>On the i3 I have to poll for everything - at least if I use
the OBD2 port.</div>
<div><br>
</div>
<div>It seems that the poller only sends one request per
second. That's how it looks in the logs.</div>
<div><br>
</div>
<div>This severely limits how many pids I can poll and basically
means I might as well not bother with any of the "real time"
metrics.</div>
<div><br>
</div>
<div>Is there a reason why PollerSend couldn't look through the
whole poll list and poll all the entries that are due/overdue
on each call? At the moment it just looks until if finds one
to do and then it returns.</div>
<div><br>
</div>
<div>Or maybe if we can't take too long then say do 10 on each
call?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Steve</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></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>