[Ovmsdev] OVMS Poller module/singleton

Michael Geddes frog at bunyip.wheelycreek.net
Sun Apr 28 20:29:36 HKT 2024


OK. That's bad.

Does the reading work in general?

Is it just the writing commands?

Raise a ticket on github and tag me in and we can address it that way.

Michael

On Sun, 28 Apr 2024, 19:49 Thomas Heuer via OvmsDev, <
ovmsdev at lists.openvehicles.com> wrote:

> Hi,
>
>
>
> The new poller code doesn't seem to work properly with the smarted.
>
> D (218831) vehicle-poll: [1]PollerNextTick(PRI): cycle complete for
> ticker=215
>
> V (218831) vehicle-poll: Standard Poll Series: List reset
>
> D (218831) vehicle-poll: PollSeriesList::NextPollEntry[!v.standard]:
> ReachedEnd
>
> V (218831) vehicle-poll: [1]PollerSend: Poller Reached End
>
> D (219691) vehicle-poll: Poller: Queue PollerFrame()
>
> D (219691) vehicle-poll: Poller: Queue PollerFrame()
>
> V (219691) vehicle-poll: Pollers: FrameRx(bus=2)
>
> D (219691) vehicle-poll: Poller: Queue PollerFrame()
>
> V (219691) vehicle-poll: Pollers: FrameRx(bus=2)
>
> V (219691) vehicle-poll: Pollers: FrameRx(bus=2)
>
> D (219691) vehicle-poll: Poller: Queue PollerFrame()
>
> *OVMS#* unlock 22
> Vehicle unlocked
>
> V (219691) vehicle-poll: Pollers: FrameRx(bus=2)
>
> D (219691) vehicle-poll: Poller: Queue PollerFrame()
>
> V (219691) vehicle-poll: Pollers: FrameRx(bus=2)
>
> D (219701) vehicle-poll: Poller: Queue PollerFrame()
>
> V (219701) vehicle-poll: Pollers: FrameRx(bus=2)
>
> D (219701) vehicle-poll: Poller: Queue PollerFrame()
>
> V (219701) vehicle-poll: Pollers: FrameRx(bus=2)
>
> D (219701) vehicle-poll: Poller: Queue PollerFrame()
>
> V (219701) vehicle-poll: Pollers: FrameRx(bus=2)
>
> D (219701) vehicle-poll: Poller: Queue PollerFrame()
>
> V (219701) vehicle-poll: Pollers: FrameRx(bus=2)
>
> D (219701) vehicle-poll: Poller: Queue PollerFrame()
>
> V (219701) vehicle-poll: Pollers: FrameRx(bus=2)
>
> D (219701) vehicle-poll: Poller: Queue PollerFrame()
>
> V (219701) vehicle-poll: Pollers: FrameRx(bus=2)
>
> D (219701) vehicle-poll: Poller: Queue PollerFrame()
>
> V (219701) vehicle-poll: Pollers: FrameRx(bus=2)
>
> D (219701) vehicle-poll: Poller: Queue PollerFrame()
>
> V (219701) vehicle-poll: Pollers: FrameRx(bus=2)
>
> D (219701) vehicle-poll: Poller: Queue PollerFrame()
>
> V (219701) vehicle-poll: Pollers: FrameRx(bus=2)
>
> D (219701) vehicle-poll: Poller: Queue PollerFrame()
>
> V (219701) vehicle-poll: Pollers: FrameRx(bus=2)
>
> D (219701) vehicle-poll: Poller: Queue PollerFrame()
>
>
>
>
>
> *Von:* OvmsDev <ovmsdev-bounces at lists.openvehicles.com> *Im Auftrag von *Michael
> Geddes via OvmsDev
> *Gesendet:* Sonntag, 28. April 2024 12:27
> *An:* OVMS Developers <ovmsdev at lists.openvehicles.com>
> *Cc:* Michael Geddes <frog at bunyip.wheelycreek.net>
> *Betreff:* [Ovmsdev] OVMS Poller module/singleton
>
>
>
> Hey all,
>
>
>
> The poller singleton code that I've been working on for over a year now is
> merged in. (Thanks Michael for expediting the final step).
>
>
>
> This includes separate multi-frame states per bus and multiple poll lists
> as well as non-blocking one off queries. As well as more 'states'.
>
>
>
> I have included some programming documentation in the change but am happy
> to supply more if needed.
>
>
>
> The ioniq 5 code has some examples of how it can be used. Some examples
> are:
>
>
>
> * grabbing the vin as a one shot without blocking
>
> * having a short list of queries that are polled quickly for obd2ecu (this
> also demonstrates using a shorter frame break value and then a break after
> successful a response)
>
>
>
> Have a play please!
>
>
>
> Also interested in hearing what user tools might be worth looking at next
> for the poller object.
>
>
>
> //.ichael G.
>
>
>
>
>
>
>
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20240428/f323a099/attachment-0001.htm>


More information about the OvmsDev mailing list