[Ovmsdev] OVMS Poller module/singleton

egon at heuer-humfeld.de egon at heuer-humfeld.de
Sun Apr 28 19:48:53 HKT 2024


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.

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20240428/983eb5b0/attachment.htm>


More information about the OvmsDev mailing list