Thanks for the pointer—much appreciated.

My vehicle has a communications gateway that blocks access to certain ECUs depending on the vehicle state. I’ve noticed that using PollSingleRequest has caused some trouble during state transitions, possibly because the ECUs haven’t fully come online yet (e.g., when entering drive mode or starting a charging session).

I’ll give the non-blocking request approach a try and explore other options if that doesn’t do the trick.

Thanks again!

On 5/26/2025 12:28 AM, Michael Geddes wrote:
Notice that I did it 2 different ways.

When the car goes into on state it tries a non blocking request.
If the user requests the vin from the cli and the vin hasn't populated.. it tries a blocking request.
It uses common code to decode the VIN.

//.ichEl

On Mon, 26 May 2025, 12:15 Michael Geddes, <frog@bunyip.wheelycreek.net> wrote:
Look at ioniq 5 for that specific example!

Michael 

On Mon, 26 May 2025, 04:09 solterra--- via OvmsDev, <ovmsdev@lists.openvehicles.com> wrote:

Could someone point me to an example of the correct way to insert a single OBD request into the poller?

As an example, I’d like to request the VIN—but I only need to do this once, not on a recurring basis. I was previously using PollSingleRequest, but it no longer seems to be working as expected.

Thank you in advance for your help!


_______________________________________________
OvmsDev mailing list
OvmsDev@lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev